pub struct QRow {
pub rows: usize,
pub cols: usize,
pub bits: u32,
/* private fields */
}Expand description
Per-row (per-output-channel) quantized 2D matrix at bits ∈ {4,8}, packed 32/bits per word,
with one scale per row — more accurate than a single per-tensor scale, and int4 is 1/8 the memory.
Fields§
§rows: usize§cols: usize§bits: u32Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for QRow
impl !UnwindSafe for QRow
impl Freeze for QRow
impl Send for QRow
impl Sync for QRow
impl Unpin for QRow
impl UnsafeUnpin for QRow
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