[][src]Struct tensorflow_proto::tflite::evaluation::AccuracyMetrics

pub struct AccuracyMetrics {
    pub max_value: Option<f32>,
    pub min_value: Option<f32>,
    pub avg_value: Option<f64>,
    pub std_deviation: Option<f32>,
}

Statistics for an accuracy value over multiple runs of evaluation.

Next ID: 5

Fields

max_value: Option<f32>

Maximum value observed for any Run.

min_value: Option<f32>

Minimum value observed for any Run.

avg_value: Option<f64>

Average value across all Runs.

std_deviation: Option<f32>

Standard deviation across all Runs.

Implementations

impl AccuracyMetrics[src]

pub fn max_value(&self) -> f32[src]

Returns the value of max_value, or the default value if max_value is unset.

pub fn min_value(&self) -> f32[src]

Returns the value of min_value, or the default value if min_value is unset.

pub fn avg_value(&self) -> f64[src]

Returns the value of avg_value, or the default value if avg_value is unset.

pub fn std_deviation(&self) -> f32[src]

Returns the value of std_deviation, or the default value if std_deviation is unset.

Trait Implementations

impl Clone for AccuracyMetrics[src]

impl Debug for AccuracyMetrics[src]

impl Default for AccuracyMetrics[src]

impl Message for AccuracyMetrics[src]

impl PartialEq<AccuracyMetrics> for AccuracyMetrics[src]

impl StructuralPartialEq for AccuracyMetrics[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.