pub enum KvAttentionKind {
Mha,
Mqa,
Gqa,
Unsupported(String),
}Variants§
Trait Implementations§
Source§impl Clone for KvAttentionKind
impl Clone for KvAttentionKind
Source§fn clone(&self) -> KvAttentionKind
fn clone(&self) -> KvAttentionKind
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 moreSource§impl Debug for KvAttentionKind
impl Debug for KvAttentionKind
Source§impl<'de> Deserialize<'de> for KvAttentionKind
impl<'de> Deserialize<'de> for KvAttentionKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for KvAttentionKind
impl Hash for KvAttentionKind
Source§impl PartialEq for KvAttentionKind
impl PartialEq for KvAttentionKind
Source§fn eq(&self, other: &KvAttentionKind) -> bool
fn eq(&self, other: &KvAttentionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KvAttentionKind
impl Serialize for KvAttentionKind
impl Eq for KvAttentionKind
impl StructuralPartialEq for KvAttentionKind
Auto Trait Implementations§
impl Freeze for KvAttentionKind
impl RefUnwindSafe for KvAttentionKind
impl Send for KvAttentionKind
impl Sync for KvAttentionKind
impl Unpin for KvAttentionKind
impl UnsafeUnpin for KvAttentionKind
impl UnwindSafe for KvAttentionKind
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