#[repr(i32)]pub enum AttentionNormalizationOp {
kNONE = 0,
kSOFTMAX = 1,
}Expand description
AttentionNormalizationOp
Enumerates the operations that may be performed by the normalization in the attention subgraph.
Variants§
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 (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 From<AttentionNormalizationOp> for AttentionNormalizationOp
impl From<AttentionNormalizationOp> for AttentionNormalizationOp
Source§fn from(value: AttentionNormalizationOp) -> Self
fn from(value: AttentionNormalizationOp) -> Self
Converts to this type from the input type.
Source§impl Hash for AttentionNormalizationOp
impl Hash for AttentionNormalizationOp
Source§impl Into<AttentionNormalizationOp> for AttentionNormalizationOp
impl Into<AttentionNormalizationOp> for AttentionNormalizationOp
Source§fn into(self) -> AttentionNormalizationOp
fn into(self) -> AttentionNormalizationOp
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for AttentionNormalizationOp
impl PartialEq for AttentionNormalizationOp
Source§fn eq(&self, other: &AttentionNormalizationOp) -> bool
fn eq(&self, other: &AttentionNormalizationOp) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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