Enum leaf::solver::SGDKind
[−]
[src]
pub enum SGDKind { Momentum, }
All available types of Stochastic Gradient Descent solvers.
Variants
Momentum | Stochastic Gradient Descent with Momentum. See [implementation][1] [1] ../solvers/ |
Methods
impl SGDKind
fn with_config<B: IBackend + SolverOps<f32> + 'static, NetB: IBackend + LayerOps<f32> + 'static>(&self, backend: Rc<B>, config: &SolverConfig) -> Box<ISolver<B, NetB>>
Create a Solver of the specified kind with the supplied SolverConfig.