Iterator yielding data from a Numpy array.

Inherits From: Iterator, Sequence

x Numpy array of input data or tuple. If tuple, the second elements is either another numpy array or a list of numpy arrays, each of which gets passed through as an output without any modifications.
y Numpy array of targets data.
image_data_generator Instance of ImageDataGenerator to use for random transformations and normalization.
batch_size Integer, size of a batch.
shuffle Boolean, whether to shuffle the data between epochs.