pub enum MlLossKind {
CrossEntropy,
BinaryCrossEntropy,
MeanSquaredError,
MeanAbsoluteError,
Huber,
Hinge,
Triplet,
Contrastive,
Custom,
}Variants§
CrossEntropy
BinaryCrossEntropy
MeanSquaredError
MeanAbsoluteError
Huber
Hinge
Triplet
Contrastive
Custom
Implementations§
Trait Implementations§
Source§impl Clone for MlLossKind
impl Clone for MlLossKind
Source§fn clone(&self) -> MlLossKind
fn clone(&self) -> MlLossKind
Returns a duplicate of the value. Read more
1.0.0 · 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 MlLossKind
impl Debug for MlLossKind
Source§impl Display for MlLossKind
impl Display for MlLossKind
Source§impl FromStr for MlLossKind
impl FromStr for MlLossKind
Source§impl Hash for MlLossKind
impl Hash for MlLossKind
Source§impl Ord for MlLossKind
impl Ord for MlLossKind
Source§fn cmp(&self, other: &MlLossKind) -> Ordering
fn cmp(&self, other: &MlLossKind) -> Ordering
1.21.0 · 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 MlLossKind
impl PartialEq for MlLossKind
Source§impl PartialOrd for MlLossKind
impl PartialOrd for MlLossKind
impl Copy for MlLossKind
impl Eq for MlLossKind
impl StructuralPartialEq for MlLossKind
Auto Trait Implementations§
impl Freeze for MlLossKind
impl RefUnwindSafe for MlLossKind
impl Send for MlLossKind
impl Sync for MlLossKind
impl Unpin for MlLossKind
impl UnsafeUnpin for MlLossKind
impl UnwindSafe for MlLossKind
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