pub struct SGDMomentum {
pub learning_rate: f32,
pub momentum: f32,
/* private fields */
}Fields§
§learning_rate: f32§momentum: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SGDMomentum
impl !RefUnwindSafe for SGDMomentum
impl !Send for SGDMomentum
impl !Sync for SGDMomentum
impl Unpin for SGDMomentum
impl UnsafeUnpin for SGDMomentum
impl !UnwindSafe for SGDMomentum
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