Module: tf.keras.preprocessing

Utilities to preprocess data before training.

Modules

image module: Utilies for image preprocessing and augmentation.

sequence module: Utilities for preprocessing sequence data.

text module: Utilities for text input preprocessing.

Functions

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

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

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