def iterator(self, mode=None, batch_size=None, num_batches=None,
                 rng=None, data_specs=None, return_tuple=False):
        # TODO: See how much of the logic from DenseDesignMatrix.iterator
        # can be handled here.
        raise NotImplementedError()
Return an iterator for this dataset with the specified
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/datasets/dataset.py/Dataset.iterator