Enum MlLossKind
pub enum MlLossKind {
CrossEntropy,
BinaryCrossEntropy,
MeanSquaredError,
MeanAbsoluteError,
Huber,
Hinge,
Triplet,
Contrastive,
Custom,
}Variants§
CrossEntropy
BinaryCrossEntropy
MeanSquaredError
MeanAbsoluteError
Huber
Hinge
Triplet
Contrastive
Custom
Implementations§
§impl MlLossKind
impl MlLossKind
Trait Implementations§
§impl Clone for MlLossKind
impl Clone for MlLossKind
§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 more§impl Debug for MlLossKind
impl Debug for MlLossKind
§impl Display for MlLossKind
impl Display for MlLossKind
§impl FromStr for MlLossKind
impl FromStr for MlLossKind
§type Err = MlTrainingError
type Err = MlTrainingError
The associated error which can be returned from parsing.
§fn from_str(value: &str) -> Result<MlLossKind, <MlLossKind as FromStr>::Err>
fn from_str(value: &str) -> Result<MlLossKind, <MlLossKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for MlLossKind
impl Hash for MlLossKind
§impl Ord for MlLossKind
impl Ord for MlLossKind
§impl PartialEq for MlLossKind
impl PartialEq for MlLossKind
§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