#[repr(i32)]pub enum MoEActType {
kNONE = 0,
kSILU = 1,
}Expand description
MoEActType
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 (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 ExternType for MoEActType
impl ExternType 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 PartialEq for MoEActType
impl PartialEq for MoEActType
Source§fn eq(&self, other: &MoEActType) -> bool
fn eq(&self, other: &MoEActType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MoEActType
impl StructuralPartialEq for MoEActType
impl UniquePtrTarget for MoEActType
impl VectorElement for MoEActType
impl WeakPtrTarget 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