Struct juice::solvers::sgd::momentum::Momentum[][src]

pub struct Momentum<SolverB: IBackend + SolverOps<f32>> { /* fields omitted */ }
Expand description

Stochastic Gradient Descent with Momentum.

See [module description][1] for more information. [1]: ./index.html

Implementations

Create a new SGD Momentum solver.

Should not be called directly. Use Solver::from_config instead.

Trait Implementations

Formats the value using the given formatter. Read more

Initialize the SGD Momentum solver, allocating memory for its history.

Update the weights of the net with part of the gradient. Read more

Returns the backend used by the solver.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.