Module burn::module

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§

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.