pub struct MsaGatheredGqaConfig {
pub batch: usize,
pub query_len: usize,
pub key_len: usize,
pub heads: usize,
pub kv_heads: usize,
pub head_dim: usize,
pub selected_keys: usize,
pub scale: f32,
}Fields§
§batch: usize§query_len: usize§key_len: usize§heads: usize§kv_heads: usize§head_dim: usize§selected_keys: usize§scale: f32Trait Implementations§
Source§impl Clone for MsaGatheredGqaConfig
impl Clone for MsaGatheredGqaConfig
Source§fn clone(&self) -> MsaGatheredGqaConfig
fn clone(&self) -> MsaGatheredGqaConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MsaGatheredGqaConfig
Source§impl Debug for MsaGatheredGqaConfig
impl Debug for MsaGatheredGqaConfig
Source§impl PartialEq for MsaGatheredGqaConfig
impl PartialEq for MsaGatheredGqaConfig
Source§fn eq(&self, other: &MsaGatheredGqaConfig) -> bool
fn eq(&self, other: &MsaGatheredGqaConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MsaGatheredGqaConfig
Auto Trait Implementations§
impl Freeze for MsaGatheredGqaConfig
impl RefUnwindSafe for MsaGatheredGqaConfig
impl Send for MsaGatheredGqaConfig
impl Sync for MsaGatheredGqaConfig
impl Unpin for MsaGatheredGqaConfig
impl UnsafeUnpin for MsaGatheredGqaConfig
impl UnwindSafe for MsaGatheredGqaConfig
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