[][src]Struct tensorflow_proto::tensorflow::tf2xla::ConversionOptions

pub struct ConversionOptions {
    pub custom_fake_quant_op_calls: bool,
}

Options used during the conversion and compilation process.

Fields

custom_fake_quant_op_calls: bool

When true tf.fake_quant_* ops will be emitted as custom calls to a 'fake_quant_with_min_max_vars' function accepting the input, min, max, num_bits, and narrow_range values as runtime arguments.

Trait Implementations

impl Clone for ConversionOptions[src]

impl Debug for ConversionOptions[src]

impl Default for ConversionOptions[src]

impl Message for ConversionOptions[src]

impl PartialEq<ConversionOptions> for ConversionOptions[src]

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