pub struct V2Engram {
pub tables: CqWeight,
pub key_proj: CqWeight,
pub value_proj: CqWeight,
pub taps: Vec<f32>,
}Expand description
One Engram site’s weights.
Fields§
§tables: CqWeight[num_tables * slots, sub_dim] — row table * slots + index.
key_proj: CqWeight[d_model, fetched_dim].
value_proj: CqWeight[d_model, fetched_dim].
taps: Vec<f32>[conv_taps, d_model].
Auto Trait Implementations§
impl Freeze for V2Engram
impl RefUnwindSafe for V2Engram
impl Send for V2Engram
impl Sync for V2Engram
impl Unpin for V2Engram
impl UnsafeUnpin for V2Engram
impl UnwindSafe for V2Engram
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