pub struct IndexerCfg {
pub n_heads: usize,
pub index_hd: usize,
pub rope_dim: usize,
pub q_rank: usize,
pub dim: usize,
pub hd: usize,
pub index_topk: usize,
pub cand_topk_blocks: usize,
pub cand_block: usize,
pub eps: f32,
}Fields§
§n_heads: usize§index_hd: usize§rope_dim: usize§q_rank: usize§dim: usize§hd: usize§index_topk: usize§cand_topk_blocks: usize§cand_block: usize§eps: f32Auto Trait Implementations§
impl Freeze for IndexerCfg
impl RefUnwindSafe for IndexerCfg
impl Send for IndexerCfg
impl Sync for IndexerCfg
impl Unpin for IndexerCfg
impl UnwindSafe for IndexerCfg
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