pub struct ImatrixEntry { /* private fields */ }Expand description
A single per-tensor importance matrix entry, as loaded from a .imatrix file.
Each entry contains activation statistics for one model tensor collected from
a calibration dataset. When supplied to QuantizeParams::with_imatrix these
statistics guide the quantizer to allocate more precision to weights that
matter most.
Implementations§
Trait Implementations§
Source§impl Clone for ImatrixEntry
impl Clone for ImatrixEntry
Auto Trait Implementations§
impl Freeze for ImatrixEntry
impl RefUnwindSafe for ImatrixEntry
impl Send for ImatrixEntry
impl Sync for ImatrixEntry
impl Unpin for ImatrixEntry
impl UnsafeUnpin for ImatrixEntry
impl UnwindSafe for ImatrixEntry
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