Module: tf.keras.preprocessing

Public API for tf.keras.preprocessing namespace.

Modules

image module: Public API for tf.keras.preprocessing.image namespace.

sequence module: Public API for tf.keras.preprocessing.sequence namespace.

text module: Public API for tf.keras.preprocessing.text namespace.

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.