Module: tf.keras.preprocessing

Provides keras data preprocessing utils to pre-process before they are fed to the model.


image module: Set of tools for real-time data augmentation on image data.

sequence module: Utilities for preprocessing sequence data.

text module: Utilities for text input preprocessing.


image_dataset_from_directory(...): Generates a from image files in a directory.

text_dataset_from_directory(...): Generates a from text files in a directory.

timeseries_dataset_from_array(...): Creates a dataset of sliding windows over a timeseries provided as array.