tf.keras.preprocessing.image.ImageDataGenerator

Generate batches of tensor image data with real-time data augmentation.

Used in the notebooks

Used in the guide

The data will be looped over (in batches).

featurewise_center Boolean. Set input mean to 0 over the dataset, feature-wise.
samplewise_center Boolean. Set each sample mean to 0.