'Defines a generator that can be used to iterate over this dataset.
Yields:
tuple: The next minibatch containing the inputs and the targets (here target=inputs)'

def __iter__(self):

    for (x, t) in super(HDF5IteratorAutoencoder, self).__iter__():
        (yield (x, x))
