pub enum FlashAttentionType {
Auto,
Disabled,
Enabled,
}Variants§
Trait Implementations§
Source§impl Clone for FlashAttentionType
impl Clone for FlashAttentionType
Source§fn clone(&self) -> FlashAttentionType
fn clone(&self) -> FlashAttentionType
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 FlashAttentionType
Source§impl Debug for FlashAttentionType
impl Debug for FlashAttentionType
Source§impl Default for FlashAttentionType
impl Default for FlashAttentionType
Source§fn default() -> FlashAttentionType
fn default() -> FlashAttentionType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlashAttentionType
impl<'de> Deserialize<'de> for FlashAttentionType
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
impl Eq for FlashAttentionType
Source§impl PartialEq for FlashAttentionType
impl PartialEq for FlashAttentionType
Source§impl Serialize for FlashAttentionType
impl Serialize for FlashAttentionType
impl StructuralPartialEq for FlashAttentionType
Auto Trait Implementations§
impl Freeze for FlashAttentionType
impl RefUnwindSafe for FlashAttentionType
impl Send for FlashAttentionType
impl Sync for FlashAttentionType
impl Unpin for FlashAttentionType
impl UnsafeUnpin for FlashAttentionType
impl UnwindSafe for FlashAttentionType
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