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
Source§fn clone(&self) -> ImatrixEntry
fn clone(&self) -> ImatrixEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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