#[repr(i32)]pub enum MoEActType {
kNONE = 0,
kSILU = 1,
}Expand description
! ! \enum MoEActType ! ! \brief Enumerates the activation type for the MoE layer. !
Variants§
Trait Implementations§
Source§impl Clone for MoEActType
impl Clone for MoEActType
Source§fn clone(&self) -> MoEActType
fn clone(&self) -> MoEActType
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 Debug for MoEActType
impl Debug for MoEActType
Source§impl From<MoEActType> for MoEActType
impl From<MoEActType> for MoEActType
Source§fn from(value: MoEActType) -> Self
fn from(value: MoEActType) -> Self
Converts to this type from the input type.
Source§impl Hash for MoEActType
impl Hash for MoEActType
Source§impl Into<MoEActType> for MoEActType
impl Into<MoEActType> for MoEActType
Source§fn into(self) -> MoEActType
fn into(self) -> MoEActType
Converts this type into the (usually inferred) input type.
Source§impl Ord for MoEActType
impl Ord for MoEActType
Source§fn cmp(&self, other: &MoEActType) -> Ordering
fn cmp(&self, other: &MoEActType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MoEActType
impl PartialEq for MoEActType
Source§impl PartialOrd for MoEActType
impl PartialOrd for MoEActType
impl Copy for MoEActType
impl Eq for MoEActType
impl StructuralPartialEq for MoEActType
Auto Trait Implementations§
impl Freeze for MoEActType
impl RefUnwindSafe for MoEActType
impl Send for MoEActType
impl Sync for MoEActType
impl Unpin for MoEActType
impl UnsafeUnpin for MoEActType
impl UnwindSafe for MoEActType
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