InHeadConv1D
- class aixd.mlmodel.architecture.heads.InHeadConv1D(*args: Any, **kwargs: Any)[source]
Bases:
InHeadConv
Convolutional Network for encoding spatially strucured (temporal) data in 1 dimension.
- Parameters:
in_shape (int) – The shape of the input data.
latent_dims (List[int]) – A list of integers representing the dimensions of the latent space. The length of the sequence defines the number of layers.
activation (Union[nn.Module, str]) – The activation function to use.
attn_block_indices (List[int], optional, default=[]) – Sequence of indices where to insert an attention layer in the encoding blocks.
Inherited Methods