Module burn::module

source ·
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§

Functions§

Type Aliases§

  • Type alias to Vec<B::Device> which supports no_std environments, but automatically using the alloc crate.

Derive Macros§

  • Derive macro for the module.