pub enum ElementSubtype {
Standard,
Fp8E4m3,
Fp8E5m2,
}Variants§
Standard
Fp8E4m3
FP8 e4m3 (4 exp bits, 3 mantissa) — lower range, more precision; matches NVIDIA’s “FNUZ” Hopper format.
Fp8E5m2
FP8 e5m2 (5 exp bits, 2 mantissa) — wider range, less precision; closer to bf16 in dynamic range.
Trait Implementations§
Source§impl Clone for ElementSubtype
impl Clone for ElementSubtype
Source§fn clone(&self) -> ElementSubtype
fn clone(&self) -> ElementSubtype
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ElementSubtype
Source§impl Debug for ElementSubtype
impl Debug for ElementSubtype
impl Eq for ElementSubtype
Source§impl Hash for ElementSubtype
impl Hash for ElementSubtype
Source§impl PartialEq for ElementSubtype
impl PartialEq for ElementSubtype
Source§fn eq(&self, other: &ElementSubtype) -> bool
fn eq(&self, other: &ElementSubtype) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ElementSubtype
Auto Trait Implementations§
impl Freeze for ElementSubtype
impl RefUnwindSafe for ElementSubtype
impl Send for ElementSubtype
impl Sync for ElementSubtype
impl Unpin for ElementSubtype
impl UnsafeUnpin for ElementSubtype
impl UnwindSafe for ElementSubtype
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