pub enum Fp8Format {
E4M3,
E5M2,
}Expand description
FP8 format variant.
Variants§
E4M3
1 sign + 4 exponent + 3 mantissa bits. Max = 448.
E5M2
1 sign + 5 exponent + 2 mantissa bits. Max = 57344.
Implementations§
Trait Implementations§
impl Copy for Fp8Format
impl Eq for Fp8Format
impl StructuralPartialEq for Fp8Format
Auto Trait Implementations§
impl Freeze for Fp8Format
impl RefUnwindSafe for Fp8Format
impl Send for Fp8Format
impl Sync for Fp8Format
impl Unpin for Fp8Format
impl UnsafeUnpin for Fp8Format
impl UnwindSafe for Fp8Format
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