View source on GitHub |
Base class for image data iterators.
Inherits From: Sequence
tf.keras.preprocessing.image.Iterator(
n, batch_size, shuffle, seed
)
Every Iterator
must implement the _get_batches_of_transformed_samples
method.
Methods
next
next()
For python 2.x.
Returns | |
---|---|
The next batch. |
on_epoch_end
on_epoch_end()
reset
reset()
__getitem__
__getitem__(
idx
)
__iter__
__iter__()
__len__
__len__()
Class Variables | |
---|---|
white_list_formats |
('png', 'jpg', 'jpeg', 'bmp', 'ppm', 'tif', 'tiff')
|