pub enum BlockFp8ScaleEncoding {
FloatingPoint,
Ue8m0,
}Expand description
Physical encoding of the scale companion for an E4M3 block-FP8 matrix.
Variants§
FloatingPoint
Floating-point inverse scales (F16, BF16, or F32 in an artifact).
Ue8m0
Unsigned exponent-only E8M0 inverse scales.
Trait Implementations§
Source§impl Clone for BlockFp8ScaleEncoding
impl Clone for BlockFp8ScaleEncoding
Source§fn clone(&self) -> BlockFp8ScaleEncoding
fn clone(&self) -> BlockFp8ScaleEncoding
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 BlockFp8ScaleEncoding
Source§impl Debug for BlockFp8ScaleEncoding
impl Debug for BlockFp8ScaleEncoding
impl Eq for BlockFp8ScaleEncoding
Source§impl PartialEq for BlockFp8ScaleEncoding
impl PartialEq for BlockFp8ScaleEncoding
impl StructuralPartialEq for BlockFp8ScaleEncoding
Auto Trait Implementations§
impl Freeze for BlockFp8ScaleEncoding
impl RefUnwindSafe for BlockFp8ScaleEncoding
impl Send for BlockFp8ScaleEncoding
impl Sync for BlockFp8ScaleEncoding
impl Unpin for BlockFp8ScaleEncoding
impl UnsafeUnpin for BlockFp8ScaleEncoding
impl UnwindSafe for BlockFp8ScaleEncoding
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