pub struct BlockFp8Format {
pub block_rows: i32,
pub block_columns: i32,
pub scale_encoding: BlockFp8ScaleEncoding,
}Expand description
Geometry and companion encoding for an E4M3 block-FP8 matrix.
Fields§
§block_rows: i32Number of output rows represented by one scale.
block_columns: i32Number of input columns represented by one scale.
scale_encoding: BlockFp8ScaleEncodingPhysical encoding of each inverse scale.
Implementations§
Trait Implementations§
Source§impl Clone for BlockFp8Format
impl Clone for BlockFp8Format
Source§fn clone(&self) -> BlockFp8Format
fn clone(&self) -> BlockFp8Format
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 BlockFp8Format
Source§impl Debug for BlockFp8Format
impl Debug for BlockFp8Format
impl Eq for BlockFp8Format
Source§impl PartialEq for BlockFp8Format
impl PartialEq for BlockFp8Format
impl StructuralPartialEq for BlockFp8Format
Auto Trait Implementations§
impl Freeze for BlockFp8Format
impl RefUnwindSafe for BlockFp8Format
impl Send for BlockFp8Format
impl Sync for BlockFp8Format
impl Unpin for BlockFp8Format
impl UnsafeUnpin for BlockFp8Format
impl UnwindSafe for BlockFp8Format
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