Enum candle_optimisers::Momentum
source · pub enum Momentum {
Classical(f64),
Nesterov(f64),
}Expand description
Type of momentum to use
Variants§
Trait Implementations§
source§impl PartialEq for Momentum
impl PartialEq for Momentum
source§impl PartialOrd for Momentum
impl PartialOrd for Momentum
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Momentum
impl StructuralPartialEq for Momentum
Auto Trait Implementations§
impl RefUnwindSafe for Momentum
impl Send for Momentum
impl Sync for Momentum
impl Unpin for Momentum
impl UnwindSafe for Momentum
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