[][src]Enum tract_tensorflow::tfpb::types::DataType

pub enum DataType {
    DT_INVALID,
    DT_FLOAT,
    DT_DOUBLE,
    DT_INT32,
    DT_UINT8,
    DT_INT16,
    DT_INT8,
    DT_STRING,
    DT_COMPLEX64,
    DT_INT64,
    DT_BOOL,
    DT_QINT8,
    DT_QUINT8,
    DT_QINT32,
    DT_BFLOAT16,
    DT_QINT16,
    DT_QUINT16,
    DT_UINT16,
    DT_COMPLEX128,
    DT_HALF,
    DT_RESOURCE,
    DT_VARIANT,
    DT_UINT32,
    DT_UINT64,
    DT_FLOAT_REF,
    DT_DOUBLE_REF,
    DT_INT32_REF,
    DT_UINT8_REF,
    DT_INT16_REF,
    DT_INT8_REF,
    DT_STRING_REF,
    DT_COMPLEX64_REF,
    DT_INT64_REF,
    DT_BOOL_REF,
    DT_QINT8_REF,
    DT_QUINT8_REF,
    DT_QINT32_REF,
    DT_BFLOAT16_REF,
    DT_QINT16_REF,
    DT_QUINT16_REF,
    DT_UINT16_REF,
    DT_COMPLEX128_REF,
    DT_HALF_REF,
    DT_RESOURCE_REF,
    DT_VARIANT_REF,
    DT_UINT32_REF,
    DT_UINT64_REF,
}

Variants

DT_INVALIDDT_FLOATDT_DOUBLEDT_INT32DT_UINT8DT_INT16DT_INT8DT_STRINGDT_COMPLEX64DT_INT64DT_BOOLDT_QINT8DT_QUINT8DT_QINT32DT_BFLOAT16DT_QINT16DT_QUINT16DT_UINT16DT_COMPLEX128DT_HALFDT_RESOURCEDT_VARIANTDT_UINT32DT_UINT64DT_FLOAT_REFDT_DOUBLE_REFDT_INT32_REFDT_UINT8_REFDT_INT16_REFDT_INT8_REFDT_STRING_REFDT_COMPLEX64_REFDT_INT64_REFDT_BOOL_REFDT_QINT8_REFDT_QUINT8_REFDT_QINT32_REFDT_BFLOAT16_REFDT_QINT16_REFDT_QUINT16_REFDT_UINT16_REFDT_COMPLEX128_REFDT_HALF_REFDT_RESOURCE_REFDT_VARIANT_REFDT_UINT32_REFDT_UINT64_REF

Trait Implementations

impl ToSharedTensor<DataType> for DatumType
[src]

impl From<DataType> for AttrValue
[src]

impl Eq for DataType
[src]

impl Copy for DataType
[src]

impl Default for DataType
[src]

impl PartialEq<DataType> for DataType
[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for DataType
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DataType
[src]

impl Hash for DataType
[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl ProtobufEnum for DataType
[src]

fn descriptor(&self) -> &'static EnumValueDescriptor
[src]

Get enum value descriptor.

fn enum_descriptor(&self) -> &'static EnumDescriptor
[src]

Get enum descriptor.

impl ProtobufValue for DataType
[src]

fn as_any(&self) -> &(dyn Any + 'static)
[src]

fn is_non_zero(&self) -> bool
[src]

fn as_ref_copy(&self) -> ProtobufValueRef<'static>
[src]

impl Tractify<DataType> for DatumType
[src]

Auto Trait Implementations

impl Send for DataType

impl Sync for DataType

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<PB, Tract> ToTract for PB where
    Tract: Tractify<PB>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> Clone for T where
    T: Clone
[src]