pub enum Precision {
Show 14 variants
P_UNDEFINED = 0,
P_FP8 = 1,
P_FP16 = 2,
P_FP32 = 3,
P_FP64 = 4,
P_INT8 = 5,
P_INT16 = 6,
P_INT32 = 7,
P_INT64 = 8,
P_UINT8 = 9,
P_UINT16 = 10,
P_UINT32 = 11,
P_UINT64 = 12,
P_MIXED_PRECISION = 13,
}
Variants§
P_UNDEFINED = 0
P_FP8 = 1
P_FP16 = 2
P_FP32 = 3
P_FP64 = 4
P_INT8 = 5
P_INT16 = 6
P_INT32 = 7
P_INT64 = 8
P_UINT8 = 9
P_UINT16 = 10
P_UINT32 = 11
P_UINT64 = 12
P_MIXED_PRECISION = 13
Trait Implementations§
source§impl Enum for Precision
impl Enum for Precision
source§impl EnumFull for Precision
impl EnumFull for Precision
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
impl Copy for Precision
impl Eq for Precision
impl StructuralPartialEq for Precision
Auto Trait Implementations§
impl Freeze for Precision
impl RefUnwindSafe for Precision
impl Send for Precision
impl Sync for Precision
impl Unpin for Precision
impl UnwindSafe for Precision
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)