4.6.2. Preprocessing Layers

class rlgraph.components.layers.preprocessing.preprocess_layer.PreprocessLayer(scope='pre-process', **kwargs)[source]

Bases: rlgraph.components.layers.layer.Layer

A Layer that - additionally to apply - implements the reset API-method. apply is usually used for preprocessing inputs. reset is used to reset some state information of this preprocessor (e.g reset/reinitialize a variable).