[−][src]Enum tract_tensorflow::tfpb::types::DataType
Variants
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
Trait Implementations
impl Copy for DataType
[src]
impl PartialEq<DataType> for DataType
[src]
fn eq(&self, other: &DataType) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Default for DataType
[src]
impl Clone for DataType
[src]
fn clone(&self) -> DataType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<DataType> for AttrValue
[src]
impl Eq for DataType
[src]
impl Debug for DataType
[src]
impl Hash for DataType
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl TryFrom<DataType> for DatumType
[src]
type Error = TractError
The type returned in the event of a conversion error.
fn try_from(t: DataType) -> TractResult<DatumType>
[src]
impl TryFrom<DatumType> for DataType
[src]
type Error = TractError
The type returned in the event of a conversion error.
fn try_from(dt: DatumType) -> TractResult<DataType>
[src]
impl ProtobufEnum for DataType
[src]
fn value(&self) -> i32
[src]
fn from_i32(value: i32) -> Option<DataType>
[src]
fn values() -> &'static [Self]
[src]
fn enum_descriptor_static() -> &'static EnumDescriptor
[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_ref(&self) -> ProtobufValueRef
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn is_non_zero(&self) -> bool
[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,