layer_normalization
Layer Normalization Layer API
This module provides classes to build layer normalization layers.
Classes:
-
LayerNormalization1D–Layer normalization for 1D data
-
LayerNormalization2D–Layer normalization for 2D data
Classes
LayerNormalization1D
Apply Layer Normalization to the input.
Parameters:
-
(epsilonfloat, default:1e-06) –Small value to avoid division by zero.
Source code in neuralspot_edge/layers/preprocessing/layer_normalization.py
Functions
augment_samples
Augment a batch of samples during training.
Source code in neuralspot_edge/layers/preprocessing/layer_normalization.py
LayerNormalization2D
Apply Layer Normalization to the input.
Parameters:
-
(epsilonfloat, default:1e-06) –Small value to avoid division by zero.
Source code in neuralspot_edge/layers/preprocessing/layer_normalization.py
Functions
augment_samples
Augment a batch of samples during training.