pub enum Num {
Bf16,
F16,
F32,
E4m3,
E2m1,
}Expand description
2026-10-02: The element precision of a value inside a kernel (registers, operands, sums).
Variants§
Bf16
2026-10-02: bfloat16.
F16
2026-10-02: IEEE half.
F32
2026-10-02: float32.
E4m3
2026-10-02: FP8 E4M3 values (an FP8 activation or weight as multiplied).
E2m1
2026-10-02: FP4 E2M1 values (an NVFP4 activation or weight as multiplied).
Implementations§
Trait Implementations§
Source§impl Ord for Num
impl Ord for Num
Source§impl PartialOrd for Num
impl PartialOrd for Num
impl Copy for Num
impl Eq for Num
impl StructuralPartialEq for Num
Auto Trait Implementations§
impl Freeze for Num
impl RefUnwindSafe for Num
impl Send for Num
impl Sync for Num
impl Unpin for Num
impl UnwindSafe for Num
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.