Module: tf.compat.v1.keras.layers.experimental.preprocessing

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

Classes

class CategoryEncoding: A preprocessing layer which encodes integer features.

class CenterCrop: A preprocessing layer which crops images.

class Discretization: A preprocessing layer which buckets continuous features by ranges.

class HashedCrossing: A preprocessing layer which crosses features using the "hashing trick".

class Hashing: A preprocessing layer which hashes and bins categorical features.

class Normalization: A preprocessing layer which normalizes continuous features.

class PreprocessingLayer: Base class for Preprocessing Layers.

class RandomContrast: A preprocessing layer which randomly adjusts contrast during training.

class RandomCrop: A preprocessing layer which randomly crops images during training.

class RandomFlip: A preprocessing layer which randomly flips images during training.

class RandomHeight: A preprocessing layer which randomly varies image height during training.

class RandomRotation: A preprocessing layer which randomly rotates images during training.

class RandomTranslation: A preprocessing layer which randomly translates images during training.

class RandomWidth: A preprocessing layer which randomly varies image width during training.

class RandomZoom: A preprocessing layer which randomly zooms images during training.

class Rescaling: A preprocessing layer which rescales input values to a new range.

class Resizing: A preprocessing layer which resizes images.