tf.keras.preprocessing.image.Iterator

Base class for image data iterators.

Inherits From: Sequence

Every Iterator must implement the _get_batches_of_transformed_samples method.

n Integer, total number of samples in the dataset to loop over.
batch_size Integer, size of a batch.
shuffle Boolean, whether to shuffle the data between epochs.
seed Random seeding for data shuffling.

Methods

next

View source

For python 2.x.

Returns
The next batch.

on_epoch_end

View source

reset

View source

__getitem__

View source

__iter__

View source

__len__

View source

white_list_formats ('png', 'jpg', 'jpeg', 'bmp', 'ppm', 'tif', 'tiff')