pub struct Momentum<SolverB: IBackend + SolverOps<f32>> { /* private fields */ }
Expand description
Stochastic Gradient Descent with Momentum.
See [module description][1] for more information. [1]: ./index.html
Implementations§
Trait Implementations§
source§impl<SolverB: IBackend + SolverOps<f32>, NetB: IBackend + LayerOps<f32> + 'static> ISolver<SolverB, NetB> for Momentum<SolverB>
impl<SolverB: IBackend + SolverOps<f32>, NetB: IBackend + LayerOps<f32> + 'static> ISolver<SolverB, NetB> for Momentum<SolverB>
Auto Trait Implementations§
impl<SolverB> !RefUnwindSafe for Momentum<SolverB>
impl<SolverB> !Send for Momentum<SolverB>
impl<SolverB> !Sync for Momentum<SolverB>
impl<SolverB> Unpin for Momentum<SolverB>
impl<SolverB> !UnwindSafe for Momentum<SolverB>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more