pub struct CompressorWeights<'a> {
pub wkv: &'a [f32],
pub wgate: Option<&'a [f32]>,
pub norm: &'a [f32],
}Fields§
§wkv: &'a [f32]f32 at ratio > 1, bf16 values at ratio 1
wgate: Option<&'a [f32]>ratio > 1 only
norm: &'a [f32]Auto Trait Implementations§
impl<'a> Freeze for CompressorWeights<'a>
impl<'a> RefUnwindSafe for CompressorWeights<'a>
impl<'a> Send for CompressorWeights<'a>
impl<'a> Sync for CompressorWeights<'a>
impl<'a> Unpin for CompressorWeights<'a>
impl<'a> UnwindSafe for CompressorWeights<'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