pub enum MlOptimizerKind {
Sgd,
Momentum,
Adam,
AdamW,
RmsProp,
Adagrad,
Adadelta,
Lbfgs,
Custom,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MlOptimizerKind
impl Clone for MlOptimizerKind
Source§fn clone(&self) -> MlOptimizerKind
fn clone(&self) -> MlOptimizerKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MlOptimizerKind
impl Debug for MlOptimizerKind
Source§impl Display for MlOptimizerKind
impl Display for MlOptimizerKind
Source§impl FromStr for MlOptimizerKind
impl FromStr for MlOptimizerKind
Source§impl Hash for MlOptimizerKind
impl Hash for MlOptimizerKind
Source§impl Ord for MlOptimizerKind
impl Ord for MlOptimizerKind
Source§fn cmp(&self, other: &MlOptimizerKind) -> Ordering
fn cmp(&self, other: &MlOptimizerKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MlOptimizerKind
impl PartialEq for MlOptimizerKind
Source§fn eq(&self, other: &MlOptimizerKind) -> bool
fn eq(&self, other: &MlOptimizerKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MlOptimizerKind
impl PartialOrd for MlOptimizerKind
impl Copy for MlOptimizerKind
impl Eq for MlOptimizerKind
impl StructuralPartialEq for MlOptimizerKind
Auto Trait Implementations§
impl Freeze for MlOptimizerKind
impl RefUnwindSafe for MlOptimizerKind
impl Send for MlOptimizerKind
impl Sync for MlOptimizerKind
impl Unpin for MlOptimizerKind
impl UnsafeUnpin for MlOptimizerKind
impl UnwindSafe for MlOptimizerKind
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