|View source on GitHub|
Base class for Preprocessing Layers.
Compat aliases for migration
See Migration guide for more details.
tf.keras.layers.experimental.preprocessing.PreprocessingLayer( stateful=False, streaming=True, **kwargs )
Don't use this class directly: it's an abstract base class! You may be looking for one of the many built-in preprocessing layers instead.
Preprocessing layers are layers whose state gets computed before model
training starts. They do not get updated during training.
Most preprocessing layers implement an
adapt() method for state computation.
PreprocessingLayer class is the base class you would subclass to
implement your own preprocessing layers.
||Whether the layer contains state that needs to be adapted via|