pub struct CapLayer {
pub li: usize,
pub x: Vec<u16>,
pub picks: Vec<u16>,
pub w: Vec<f32>,
}Expand description
One routed FFN’s SFq calibration rows (capture): the latent input of
every captured token (f16, latent wide), its top_k picks and their
mixing weights, as the forward routes them.
Fields§
§li: usize§x: Vec<u16>§picks: Vec<u16>§w: Vec<f32>Auto Trait Implementations§
impl Forget for CapLayer
impl Freeze for CapLayer
impl Move for CapLayer
impl RefUnwindSafe for CapLayer
impl Send for CapLayer
impl Sync for CapLayer
impl Unpin for CapLayer
impl UnsafeUnpin for CapLayer
impl UnwindSafe for CapLayer
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