[][src]Struct tensorflow_proto::xla::PrecisionConfig

pub struct PrecisionConfig {
    pub operand_precision: Vec<i32>,
}

Used to indicate the precision configuration. It has backend specific meaning.

Fields

operand_precision: Vec<i32>

Implementations

impl PrecisionConfig[src]

pub fn operand_precision(
    &self
) -> FilterMap<Cloned<Iter<i32>>, fn(_: i32) -> Option<Precision>>
[src]

Returns an iterator which yields the valid enum values contained in operand_precision.

pub fn push_operand_precision(&mut self, value: Precision)[src]

Appends the provided enum value to operand_precision.

Trait Implementations

impl Clone for PrecisionConfig[src]

impl Debug for PrecisionConfig[src]

impl Default for PrecisionConfig[src]

impl Message for PrecisionConfig[src]

impl PartialEq<PrecisionConfig> for PrecisionConfig[src]

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