Expand description
Module for the neural network module.
Structs§
- Record used for constant type implementing the module trait.
- Parameters are the fundamental building blocks of modules where they serve as containers for tensors that can be updated during training, and loaded during inference. If you don’t want to save the tensors with a record and/or don’t want to update it during training, you don’t need this type to wrap your tensor.
- Parameter ID.
- A state that can be updated during the forward pass while being thread safe.
Traits§
- Module with auto-differentiation backend.
- Trait for all neural network modules.
- Module mapper trait.
- Module visitor trait.
- Trait that defines what is necessary for a type to be a parameter.
Functions§
- List all the parameter ids in a module.
Type Aliases§
- Type alias to
Vec<B::Device>
which supportsno_std
environments, but automatically using thealloc
crate.
Derive Macros§
- Derive macro for the module.