Enum tensorflow_sys::TF_DataType
source · #[repr(i32)]pub enum TF_DataType {
Show 23 variants
TF_FLOAT,
TF_DOUBLE,
TF_INT32,
TF_UINT8,
TF_INT16,
TF_INT8,
TF_STRING,
TF_COMPLEX64,
TF_INT64,
TF_BOOL,
TF_QINT8,
TF_QUINT8,
TF_QINT32,
TF_BFLOAT16,
TF_QINT16,
TF_QUINT16,
TF_UINT16,
TF_COMPLEX128,
TF_HALF,
TF_RESOURCE,
TF_VARIANT,
TF_UINT32,
TF_UINT64,
}
Variants§
TF_FLOAT
TF_DOUBLE
TF_INT32
TF_UINT8
TF_INT16
TF_INT8
TF_STRING
TF_COMPLEX64
TF_INT64
TF_BOOL
TF_QINT8
TF_QUINT8
TF_QINT32
TF_BFLOAT16
TF_QINT16
TF_QUINT16
TF_UINT16
TF_COMPLEX128
TF_HALF
TF_RESOURCE
TF_VARIANT
TF_UINT32
TF_UINT64
Implementations§
source§impl TF_DataType
impl TF_DataType
pub const TF_COMPLEX: TF_DataType = TF_DataType::TF_COMPLEX64
Trait Implementations§
source§impl Clone for TF_DataType
impl Clone for TF_DataType
source§fn clone(&self) -> TF_DataType
fn clone(&self) -> TF_DataType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TF_DataType
impl Debug for TF_DataType
source§impl Hash for TF_DataType
impl Hash for TF_DataType
source§impl PartialEq<TF_DataType> for TF_DataType
impl PartialEq<TF_DataType> for TF_DataType
source§fn eq(&self, other: &TF_DataType) -> bool
fn eq(&self, other: &TF_DataType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TF_DataType
impl Eq for TF_DataType
impl StructuralEq for TF_DataType
impl StructuralPartialEq for TF_DataType
Auto Trait Implementations§
impl RefUnwindSafe for TF_DataType
impl Send for TF_DataType
impl Sync for TF_DataType
impl Unpin for TF_DataType
impl UnwindSafe for TF_DataType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more