docs.rs failed to build burn-optim-0.22.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
burn-optim-0.22.0-pre.4
Burn Optimizers
Optimizers and learning rate schedulers for Burn
Applications use these through burn::optim, burn::lr_scheduler and burn::grad_clipping. An
optimizer is built from its config and applied to a module with gradients from a backward pass:
use ;
let mut optimizer = new.init;
let grads = from_grads;
model = optimizer.step;
- Optimizers: SGD, Adam, AdamW, Adagrad, Adafactor, Adan, LAMB, L-BFGS, Lion, Muon and RMSprop, with momentum, weight decay and gradient accumulation helpers.
lr_scheduler: constant, step, exponential, linear, cosine, Noam, and sequential or composed schedules.grad_clipping: clipping by value or by norm.
See the optimizer and learning rate scheduler chapters of the Burn Book.
Feature Flags
std(default): standard library support. Without it the crate isno_stdwithalloc.tracing: instrument operations with thetracingcrate.
Part of the Burn deep learning framework. See the Burn Book and the API documentation.