Expand description
Family-generic networks (MambaLatentNet / MambaVocabNet).
Structs§
- Latent
Network - A feature/regression network on latents:
in_proj (input_size → d_model) → Layers<M> → out_proj (d_model → output_size). - Latent
Network Builder - Plain factory for
LatentNetwork. - Latent
Network Record - The record type for the module.
- Latent
Network Record Item - The record item type for the module.
- Vocab
Network - A complete autoregressive language model over a token vocabulary:
Embedding (vocab → d_model) → Layers<M> → norm_f → LM head (d_model → vocab). - Vocab
Network Builder - Plain factory for
VocabNetwork. MirrorsLatentNetworkBuilderbut adds vocab padding and the tied/untied LM-head choice. - Vocab
Network Record - The record type for the module.
- Vocab
Network Record Item - The record item type for the module.
Enums§
- Mamba
Latent Net - A runtime-selectable latent network: the same
in_proj → Layers → out_projshape over any Mamba-x family, chosen at runtime. - Mamba
Latent NetConfig - The serializable, documentation-friendly config for
MambaLatentNet. Each variant is concrete (per-family), so#[derive(Config)]applies;initbuilds the matching network variant. - Mamba
Latent 🔒NetConfig Serde - Mamba
Latent NetRecord - The record type for the module.
- Mamba
Latent NetRecord Item - The record item type for the module.
- Mamba
Vocab Net - A runtime-selectable token language model: the same
Embedding → Layers → norm_f → LM headshape over any Mamba-x family, chosen at runtime. The vocabulary counterpart ofMambaLatentNet. - Mamba
Vocab NetConfig - The serializable, documentation-friendly config for
MambaVocabNet. Each variant is concrete (per-family), so#[derive(Config)]applies;initbuilds the matching network variant. - Mamba
Vocab 🔒NetConfig Serde - Mamba
Vocab NetRecord - The record type for the module.
- Mamba
Vocab NetRecord Item - The record item type for the module.