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

pub struct InferenceProfilerMetrics {
    pub reference_latency: Option<LatencyMetrics>,
    pub test_latency: Option<LatencyMetrics>,
    pub output_errors: Vec<AccuracyMetrics>,
}

Metrics computed from comparing TFLite execution in two settings:

  1. User-defined TfliteInferenceParams (The 'test' setting)
  2. Default TfliteInferenceParams (The 'reference' setting)

Next ID: 4

Fields

reference_latency: Option<LatencyMetrics>

Latency metrics from Single-thread CPU inference.

test_latency: Option<LatencyMetrics>

Latency from TfliteInferenceParams under test.

output_errors: Vec<AccuracyMetrics>

For reference & test output vectors {R, T}, the error is computed as: Mean([Abs(R[i] - T[i]) for i in num_elements]) output_errors[v] : statistics for the error value of the vth output vector across all Runs.

Trait Implementations

impl Clone for InferenceProfilerMetrics[src]

impl Debug for InferenceProfilerMetrics[src]

impl Default for InferenceProfilerMetrics[src]

impl Message for InferenceProfilerMetrics[src]

impl PartialEq<InferenceProfilerMetrics> for InferenceProfilerMetrics[src]

impl StructuralPartialEq for InferenceProfilerMetrics[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.