nexuml_library.layers.model.linear_encoder¶
nexuml_library.layers.model.linear_encoder
¶
Linear encoder/decoder layer for autoencoder architectures.
LinearEncoder
¶
Bases: LayerDefinition
Stacked fully-connected layers with optional batch norm and activation.
Used for both encoder and decoder in linear autoencoders. Input is flattened to 2D before processing.