[][src]Struct tensorflow_proto::tensorflow::autotune_result::FailureResult

pub struct FailureResult {
    pub kind: i32,
    pub msg: String,
    pub buffer_address: i64,
    pub key: Option<Key>,
}

Fields

kind: i32msg: Stringbuffer_address: i64key: Option<Key>

For failure_kind == WRONG_RESULT, this field indicates the reference configuration that we compared against.

Note that the reference algorithm isn't always correct. However, empirically it's more correct, as it's "algo 0", less fancy than the compared one.

Implementations

impl FailureResult[src]

pub fn kind(&self) -> FailureKind[src]

Returns the enum value of kind, or the default if the field is set to an invalid enum value.

pub fn set_kind(&mut self, value: FailureKind)[src]

Sets kind to the provided enum value.

Trait Implementations

impl Clone for FailureResult[src]

impl Debug for FailureResult[src]

impl Default for FailureResult[src]

impl Message for FailureResult[src]

impl PartialEq<FailureResult> for FailureResult[src]

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