Skip to content

nexuml_library.layers.utility.identity

nexuml_library.layers.utility.identity

Identity and noise layers.

MergeLayer

Bases: LayerDefinition

Merge multiple input tensors into one by concatenation along the last axis.

AdditiveNoise

Bases: LayerDefinition

Adds Gaussian noise scaled by the input's standard deviation.

Useful as a data augmentation layer (noise only applied during training).

Attributes:

Name Type Description
noise_level float

Noise scale relative to the input std.