pub struct CUDAExecutionProviderAttentionBackend(/* private fields */);
Implementations§
Source§impl CUDAExecutionProviderAttentionBackend
impl CUDAExecutionProviderAttentionBackend
pub const FLASH_ATTENTION: Self = _
pub const EFFICIENT_ATTENTION: Self = _
pub const TRT_FUSED_ATTENTION: Self = _
pub const CUDNN_FLASH_ATTENTION: Self = _
pub const MATH: Self = _
pub const TRT_FLASH_ATTENTION: Self = _
pub const TRT_CROSS_ATTENTION: Self = _
pub const TRT_CAUSAL_ATTENTION: Self = _
pub fn none() -> Self
pub fn all() -> Self
Trait Implementations§
Source§impl Clone for CUDAExecutionProviderAttentionBackend
impl Clone for CUDAExecutionProviderAttentionBackend
Source§fn clone(&self) -> CUDAExecutionProviderAttentionBackend
fn clone(&self) -> CUDAExecutionProviderAttentionBackend
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CUDAExecutionProviderAttentionBackend
impl Default for CUDAExecutionProviderAttentionBackend
Source§fn default() -> CUDAExecutionProviderAttentionBackend
fn default() -> CUDAExecutionProviderAttentionBackend
Returns the “default value” for a type. Read more
Source§impl PartialEq for CUDAExecutionProviderAttentionBackend
impl PartialEq for CUDAExecutionProviderAttentionBackend
Source§fn eq(&self, other: &CUDAExecutionProviderAttentionBackend) -> bool
fn eq(&self, other: &CUDAExecutionProviderAttentionBackend) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CUDAExecutionProviderAttentionBackend
impl Eq for CUDAExecutionProviderAttentionBackend
impl StructuralPartialEq for CUDAExecutionProviderAttentionBackend
Auto Trait Implementations§
impl Freeze for CUDAExecutionProviderAttentionBackend
impl RefUnwindSafe for CUDAExecutionProviderAttentionBackend
impl Send for CUDAExecutionProviderAttentionBackend
impl Sync for CUDAExecutionProviderAttentionBackend
impl Unpin for CUDAExecutionProviderAttentionBackend
impl UnwindSafe for CUDAExecutionProviderAttentionBackend
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