Module: tf.keras.layers.experimental.preprocessing

Public API for tf.keras.layers.experimental.preprocessing namespace.

Classes

class CenterCrop: Crop the central portion of the images to target height and width.

class Normalization: Feature-wise normalization of the data.

class PreprocessingLayer: Base class for PreprocessingLayers.

class RandomContrast: Adjust the contrast of an image or images by a random factor.

class RandomCrop: Randomly crop the images to target height and width.

class RandomFlip: Randomly flip each image horizontally and vertically.

class RandomHeight: Randomly vary the height of a batch of images during training.

class RandomRotation: Randomly rotate each image.

class RandomTranslation: Randomly translate each image during training.

class RandomWidth: Randomly vary the width of a batch of images during training.

class Rescaling: Multiply inputs by scale.

class Resizing: Image resizing layer.

class TextVectorization: Text vectorization layer.