# Module: tf.keras.layers.experimental.preprocessing

<br />

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

## Classes

[`class CategoryCrossing`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/experimental/preprocessing/CategoryCrossing): Category crossing layer.

[`class CategoryEncoding`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/CategoryEncoding): Category encoding layer.

[`class CenterCrop`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/CenterCrop): Crop the central portion of the images to target height and width.

[`class Discretization`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/Discretization): Buckets data into discrete ranges.

[`class Hashing`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/Hashing): Implements categorical feature hashing, also known as "hashing trick".

[`class IntegerLookup`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/IntegerLookup): Reindex integer inputs to be in a contiguous range, via a dict lookup.

[`class Normalization`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/Normalization): Feature-wise normalization of the data.

[`class PreprocessingLayer`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/experimental/preprocessing/PreprocessingLayer): Base class for Preprocessing Layers.

[`class RandomContrast`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/RandomContrast): Adjust the contrast of an image or images by a random factor.

[`class RandomCrop`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/RandomCrop): Randomly crop the images to target height and width.

[`class RandomFlip`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/RandomFlip): Randomly flip each image horizontally and vertically.

[`class RandomHeight`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/RandomHeight): Randomly vary the height of a batch of images during training.

[`class RandomRotation`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/RandomRotation): Randomly rotate each image.

[`class RandomTranslation`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/RandomTranslation): Randomly translate each image during training.

[`class RandomWidth`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/RandomWidth): Randomly vary the width of a batch of images during training.

[`class RandomZoom`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/RandomZoom): Randomly zoom each image during training.

[`class Rescaling`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/Rescaling): Multiply inputs by `scale` and adds `offset`.

[`class Resizing`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/Resizing): Image resizing layer.

[`class StringLookup`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/StringLookup): Maps strings from a vocabulary to integer indices.

[`class TextVectorization`](https://www.tensorflow.org/versions/r2.6/api_docs/python/tf/keras/layers/TextVectorization): Text vectorization layer.