TensorFlow 2.0 Beta is available Learn more

tf.keras.preprocessing.image.Iterator

Class Iterator

Inherits From: Sequence

Aliases:

  • Class tf.compat.v1.keras.preprocessing.image.Iterator
  • Class tf.compat.v2.keras.preprocessing.image.Iterator
  • Class tf.keras.preprocessing.image.Iterator
View source on GitHub

__init__

__init__(
    n,
    batch_size,
    shuffle,
    seed
)

Methods

__getitem__

__getitem__(idx)

__iter__

__iter__()

__len__

__len__()

next

next()

For python 2.x.

Returns

The next batch.

on_epoch_end

on_epoch_end()

reset

reset()

Class Members

  • white_list_formats