Enum leaf::solver::SolverKind
[−]
[src]
pub enum SolverKind { SGD(SGDKind), }
All available types of solvers.
Variants
SGD | Stochastic Gradient Descent. See SGDKind for all available SGD solvers. |
Methods
impl SolverKind
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.