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

pub struct ImageClassificationParams {
    pub inference_params: Option<TfliteInferenceParams>,
    pub topk_accuracy_eval_params: Option<TopkAccuracyEvalParams>,
}

Parameters that define how the Image Classification task is evaluated end-to-end.

Next ID: 3

Fields

inference_params: Option<TfliteInferenceParams>

Required. TfLite model should have 1 input & 1 output tensor. Input shape: {1, image_height, image_width, 3} Output shape: {1, num_total_labels}

topk_accuracy_eval_params: Option<TopkAccuracyEvalParams>

Optional. If not set, accuracy evaluation is not performed.

Trait Implementations

impl Clone for ImageClassificationParams[src]

impl Debug for ImageClassificationParams[src]

impl Default for ImageClassificationParams[src]

impl Message for ImageClassificationParams[src]

impl PartialEq<ImageClassificationParams> for ImageClassificationParams[src]

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