def __iter__(self):
        bs = self.batch_size
        for i in range((self.n_samples + 1 - bs) // bs):
            sl = slice(i * bs, (i + 1) * bs)
            Xb = _sldict(self.X, sl)
            if self.y is not None:
                yb = self.y[sl]
            else:
                yb = None
            yield self.transform(Xb, yb)
dataset/ETHPy150Open dnouri/nolearn/nolearn/lasagne/base.py/BatchIterator.__iter__/swapped operands of `-`