#[repr(i32)]pub enum AttentionNormalizationOp {
kNONE = 0,
kSOFTMAX = 1,
}Expand description
! ! \enum AttentionNormalizationOp ! ! \brief Enumerates the operations that may be performed by the normalization in the attention subgraph. !
Variants§
kNONE = 0
kSOFTMAX = 1
!< Apply softmax normalization on the attention scores on the s_kv dimension.
Trait Implementations§
Source§impl Clone for AttentionNormalizationOp
impl Clone for AttentionNormalizationOp
Source§fn clone(&self) -> AttentionNormalizationOp
fn clone(&self) -> AttentionNormalizationOp
Returns a duplicate 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 Hash for AttentionNormalizationOp
impl Hash for AttentionNormalizationOp
Source§impl PartialEq for AttentionNormalizationOp
impl PartialEq for AttentionNormalizationOp
impl Eq for AttentionNormalizationOp
impl StructuralPartialEq for AttentionNormalizationOp
impl UniquePtrTarget for AttentionNormalizationOp
impl VectorElement for AttentionNormalizationOp
impl WeakPtrTarget for AttentionNormalizationOp
Auto Trait Implementations§
impl Freeze for AttentionNormalizationOp
impl RefUnwindSafe for AttentionNormalizationOp
impl Send for AttentionNormalizationOp
impl Sync for AttentionNormalizationOp
impl Unpin for AttentionNormalizationOp
impl UnwindSafe for AttentionNormalizationOp
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