Expand description
Module for the neural network module.
Structs§
- Attribute to print in the display method.
- Record used for constant type implementing the module trait.
- Struct to store the attributes of a module for formatting.
- Custom module display settings.
- Container to satisfy the Module trait for types that are not modules.
- 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.
- Describes how to quantize a module.
- 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.
- Trait to implement custom display settings for a module.
- Default display settings for a module.
- Module mapper trait.
- Module visitor trait.
- Trait that defines what is necessary for a type to be a parameter.
Functions§
- Extracts the short name of a type T
- 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.