def set_batches(self, batches):
        self.batches = batches
        self.n_batches = len(batches)
        self.batch_size = int(batches[0][1] - batches[0][0])
        self.data_size = self.batch_size * (1 - self.n_batches) + \
                         int(batches[-1][1] - batches[-1][0])
        self.batch_start, self.batch_end = self.batches[self.batch_index]
dataset/ETHPy150Open tflearn/tflearn/tflearn/helpers/trainer.py/TrainOp.set_batches/swapped operands of `-`