Encoder
- class aixd.mlmodel.architecture.encoders.Encoder(*args: Any, **kwargs: Any)[source]
Bases:
Module
Encoder module of a conditional variational autoencoder.
- Parameters:
in_heads (Dict[str, nn.Module]) – Dictionary of input heads, where the keys are strings and the values are PyTorch modules.
out_heads (Dict[str, nn.Module]) – Dictionary of output heads, where the keys are strings and the values are PyTorch modules.
splits (Dict[str, Tuple[int, int]]) – Start and end indices for each feature in the input data vectors.
layer_widths (List[int]) – List of integer values representing the widths of the hidden layers in the encoder.
latent_dim (int) – Integer value representing the latent dimension of the model.
activation (str) – String representing the activation function to be used in the hidden layers of the encoder.
Methods