pub struct Indexer {
pub q: Vec<f32>,
pub k: Vec<f32>,
pub q_norm: Vec<f32>,
pub k_norm: Vec<f32>,
}Expand description
The block router: [groups·id, hidden] index queries, one [id, hidden]
index key shared by the groups, their per-head norms (f32).
Fields§
§q: Vec<f32>§k: Vec<f32>§q_norm: Vec<f32>§k_norm: Vec<f32>Auto Trait Implementations§
impl Forget for Indexer
impl Freeze for Indexer
impl Move for Indexer
impl RefUnwindSafe for Indexer
impl Send for Indexer
impl Sync for Indexer
impl Unpin for Indexer
impl UnsafeUnpin for Indexer
impl UnwindSafe for Indexer
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