Iterator
Defined in tensorflow/python/keras/_impl/keras/preprocessing/image.py.
Abstract base class for image data iterators.
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.__init____init__(
n,
batch_size,
shuffle,
seed
)
__iter____iter__()
__next____next__(
*args,
**kwargs
)
resetreset()
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/keras/preprocessing/image/Iterator