pub struct Sgd;Expand description
Stochastic gradient descent with momentum and acceleration (the default;
C++ NullOptimizerPolicy). The rates are the network’s
set_learning_rate, set_momentum_rate and set_acceleration_rate.
Trait Implementations§
impl Copy for Sgd
impl Eq for Sgd
impl StructuralPartialEq for Sgd
Auto Trait Implementations§
impl Forget for Sgd
impl Freeze for Sgd
impl RefUnwindSafe for Sgd
impl Send for Sgd
impl Sync for Sgd
impl Unpin for Sgd
impl UnsafeUnpin for Sgd
impl UnwindSafe for Sgd
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