pub enum SegmentFactors<'a> {
F32,
Bit4(&'a [Bit4Factors]),
Int8(&'a [Int8Factors]),
}Expand description
Borrowed factor records for a supported per-segment quantization scheme.
Variants§
F32
Full-precision rows carry no separate factor records.
Bit4(&'a [Bit4Factors])
Permanent 12-byte Bit4 factor records.
Int8(&'a [Int8Factors])
Permanent 8-byte affine Int8 factor records.
Trait Implementations§
Source§impl<'a> Clone for SegmentFactors<'a>
impl<'a> Clone for SegmentFactors<'a>
impl<'a> Copy for SegmentFactors<'a>
Auto Trait Implementations§
impl<'a> Freeze for SegmentFactors<'a>
impl<'a> RefUnwindSafe for SegmentFactors<'a>
impl<'a> Send for SegmentFactors<'a>
impl<'a> Sync for SegmentFactors<'a>
impl<'a> Unpin for SegmentFactors<'a>
impl<'a> UnsafeUnpin for SegmentFactors<'a>
impl<'a> UnwindSafe for SegmentFactors<'a>
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