[][src]Enum tensorflow_proto::tensorflow::xla_optimization_remark::Warning

#[repr(i32)]pub enum Warning {
    None,
    InaccurateOperation,
    SlowOperation,
    UnimplementedOperation,
    SlowImageResizeDimensions,
    MegamorphicFunction,
}

Next ID: 6

Variants

None
InaccurateOperation
SlowOperation
UnimplementedOperation
SlowImageResizeDimensions
MegamorphicFunction

Implementations

impl Warning[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of Warning.

pub fn from_i32(value: i32) -> Option<Warning>[src]

Converts an i32 to a Warning, or None if value is not a valid variant.

Trait Implementations

impl Clone for Warning[src]

impl Copy for Warning[src]

impl Debug for Warning[src]

impl Default for Warning[src]

impl Eq for Warning[src]

impl Hash for Warning[src]

impl Ord for Warning[src]

impl PartialEq<Warning> for Warning[src]

impl PartialOrd<Warning> for Warning[src]

impl StructuralEq for Warning[src]

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