W3cubDocs

/TensorFlow 2.4

Module: tf.keras.layers.experimental.preprocessing

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

Classes

class CategoryCrossing: Category crossing layer.

class CategoryEncoding: Category encoding layer.

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

class Discretization: Buckets data into discrete ranges.

class Hashing: Implements categorical feature hashing, also known as "hashing trick".

class IntegerLookup: Maps integers from a vocabulary to integer indices.

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 RandomZoom: Randomly zoom each image during training.

class Rescaling: Multiply inputs by scale and adds offset.

class Resizing: Image resizing layer.

class StringLookup: Maps strings from a vocabulary to integer indices.

class TextVectorization: Text vectorization layer.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/keras/layers/experimental/preprocessing