#[repr(u32)]pub enum TfLiteType {
Show 19 variants
kTfLiteNoType = 0,
kTfLiteFloat32 = 1,
kTfLiteInt32 = 2,
kTfLiteUInt8 = 3,
kTfLiteInt64 = 4,
kTfLiteString = 5,
kTfLiteBool = 6,
kTfLiteInt16 = 7,
kTfLiteComplex64 = 8,
kTfLiteInt8 = 9,
kTfLiteFloat16 = 10,
kTfLiteFloat64 = 11,
kTfLiteComplex128 = 12,
kTfLiteUInt64 = 13,
kTfLiteResource = 14,
kTfLiteVariant = 15,
kTfLiteUInt32 = 16,
kTfLiteUInt16 = 17,
kTfLiteInt4 = 18,
}
Expand description
Types supported by tensor
Variants§
kTfLiteNoType = 0
kTfLiteFloat32 = 1
kTfLiteInt32 = 2
kTfLiteUInt8 = 3
kTfLiteInt64 = 4
kTfLiteString = 5
kTfLiteBool = 6
kTfLiteInt16 = 7
kTfLiteComplex64 = 8
kTfLiteInt8 = 9
kTfLiteFloat16 = 10
kTfLiteFloat64 = 11
kTfLiteComplex128 = 12
kTfLiteUInt64 = 13
kTfLiteResource = 14
kTfLiteVariant = 15
kTfLiteUInt32 = 16
kTfLiteUInt16 = 17
kTfLiteInt4 = 18
Trait Implementations§
Source§impl Clone for TfLiteType
impl Clone for TfLiteType
Source§fn clone(&self) -> TfLiteType
fn clone(&self) -> TfLiteType
Returns a duplicate 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 TfLiteType
impl Debug for TfLiteType
Source§impl Hash for TfLiteType
impl Hash for TfLiteType
Source§impl PartialEq for TfLiteType
impl PartialEq for TfLiteType
impl Copy for TfLiteType
impl Eq for TfLiteType
impl StructuralPartialEq for TfLiteType
Auto Trait Implementations§
impl Freeze for TfLiteType
impl RefUnwindSafe for TfLiteType
impl Send for TfLiteType
impl Sync for TfLiteType
impl Unpin for TfLiteType
impl UnwindSafe for TfLiteType
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