tf.keras.layers.experimental.preprocessing.PreprocessingLayer

View source on GitHub

Base class for PreprocessingLayers.

Inherits From: Layer

tf.keras.layers.experimental.preprocessing.PreprocessingLayer(
    trainable=True, name=None, dtype=None, dynamic=False, **kwargs
)

Methods

adapt

View source

adapt(
    data, reset_state=True
)

Fits the state of the preprocessing layer to the data being passed.

Arguments: