Struct leaf::solvers::sgd::momentum::Momentum
[−]
[src]
pub struct Momentum<SolverB: IBackend + SolverOps<f32>> { // some fields omitted }
Stochastic Gradient Descent with Momentum.
See module description for more information.
Methods
impl<SolverB: IBackend + SolverOps<f32>> Momentum<SolverB>
fn new(backend: Rc<SolverB>) -> Momentum<SolverB>
Create a new SGD Momentum solver.
Should not be called directly. Use Solver::from_config instead.