pub enum MlGenerationMetric {
Bleu,
Rouge,
Meteor,
BertScore,
ExactMatch,
Perplexity,
}Variants§
Implementations§
Source§impl MlGenerationMetric
impl MlGenerationMetric
pub const fn direction(self) -> MlMetricDirection
Trait Implementations§
Source§impl Clone for MlGenerationMetric
impl Clone for MlGenerationMetric
Source§fn clone(&self) -> MlGenerationMetric
fn clone(&self) -> MlGenerationMetric
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 MlGenerationMetric
impl Debug for MlGenerationMetric
Source§impl Display for MlGenerationMetric
impl Display for MlGenerationMetric
Source§impl FromStr for MlGenerationMetric
impl FromStr for MlGenerationMetric
Source§impl Hash for MlGenerationMetric
impl Hash for MlGenerationMetric
Source§impl Ord for MlGenerationMetric
impl Ord for MlGenerationMetric
Source§fn cmp(&self, other: &MlGenerationMetric) -> Ordering
fn cmp(&self, other: &MlGenerationMetric) -> 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 MlGenerationMetric
impl PartialEq for MlGenerationMetric
Source§impl PartialOrd for MlGenerationMetric
impl PartialOrd for MlGenerationMetric
impl Copy for MlGenerationMetric
impl Eq for MlGenerationMetric
impl StructuralPartialEq for MlGenerationMetric
Auto Trait Implementations§
impl Freeze for MlGenerationMetric
impl RefUnwindSafe for MlGenerationMetric
impl Send for MlGenerationMetric
impl Sync for MlGenerationMetric
impl Unpin for MlGenerationMetric
impl UnsafeUnpin for MlGenerationMetric
impl UnwindSafe for MlGenerationMetric
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