[][src]Struct tensorflow_proto::tflite::evaluation::object_detection_average_precision_metrics::AveragePrecision

pub struct AveragePrecision {
    pub iou_threshold: Option<f32>,
    pub average_precision: Option<f32>,
}

Average Precision value for a particular IoU threshold. Next ID: 3

Fields

iou_threshold: Option<f32>average_precision: Option<f32>

Implementations

impl AveragePrecision[src]

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

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

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

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

Trait Implementations

impl Clone for AveragePrecision[src]

impl Debug for AveragePrecision[src]

impl Default for AveragePrecision[src]

impl Message for AveragePrecision[src]

impl PartialEq<AveragePrecision> for AveragePrecision[src]

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