pub struct ProjBytes {
pub packed_bytes: u64,
pub scale_bytes: u64,
}Expand description
2026-09-25: Byte sizes of one NVFP4 projection’s two buffers: packed,
two 4-bit values per byte (n·k/2), and scale, one byte per
group_size values (n·k/group_size). The per-projection scalars
weight_scale_2 and input_scale are in the record header instead.
Fields§
§packed_bytes: u64§scale_bytes: u64Implementations§
Trait Implementations§
impl Copy for ProjBytes
impl Eq for ProjBytes
impl StructuralPartialEq for ProjBytes
Auto Trait Implementations§
impl Freeze for ProjBytes
impl RefUnwindSafe for ProjBytes
impl Send for ProjBytes
impl Sync for ProjBytes
impl Unpin for ProjBytes
impl UnwindSafe for ProjBytes
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> 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.