Trait Numeric
pub trait Numeric {
// Required methods
fn value(&self) -> NumericEntry;
fn running_value(&self) -> NumericEntry;
}Expand description
Declare a metric to be numeric.
This is useful to plot the values of a metric during training.
Required Methods§
fn value(&self) -> NumericEntry
fn value(&self) -> NumericEntry
Returns the numeric value of the metric.
fn running_value(&self) -> NumericEntry
fn running_value(&self) -> NumericEntry
Returns the current aggregated value of the metric over the global step (epoch).