#[non_exhaustive]#[repr(u32)]pub enum ggml_glu_op {
GGML_GLU_OP_REGLU = 0,
GGML_GLU_OP_GEGLU = 1,
GGML_GLU_OP_SWIGLU = 2,
GGML_GLU_OP_SWIGLU_OAI = 3,
GGML_GLU_OP_GEGLU_ERF = 4,
GGML_GLU_OP_GEGLU_QUICK = 5,
GGML_GLU_OP_COUNT = 6,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GGML_GLU_OP_REGLU = 0
GGML_GLU_OP_GEGLU = 1
GGML_GLU_OP_SWIGLU = 2
GGML_GLU_OP_SWIGLU_OAI = 3
GGML_GLU_OP_GEGLU_ERF = 4
GGML_GLU_OP_GEGLU_QUICK = 5
GGML_GLU_OP_COUNT = 6
Trait Implementations§
Source§impl Clone for ggml_glu_op
impl Clone for ggml_glu_op
Source§fn clone(&self) -> ggml_glu_op
fn clone(&self) -> ggml_glu_op
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 moreimpl Copy for ggml_glu_op
Source§impl Debug for ggml_glu_op
impl Debug for ggml_glu_op
impl Eq for ggml_glu_op
Source§impl Hash for ggml_glu_op
impl Hash for ggml_glu_op
Source§impl PartialEq for ggml_glu_op
impl PartialEq for ggml_glu_op
Source§fn eq(&self, other: &ggml_glu_op) -> bool
fn eq(&self, other: &ggml_glu_op) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ggml_glu_op
Auto Trait Implementations§
impl Freeze for ggml_glu_op
impl RefUnwindSafe for ggml_glu_op
impl Send for ggml_glu_op
impl Sync for ggml_glu_op
impl Unpin for ggml_glu_op
impl UnsafeUnpin for ggml_glu_op
impl UnwindSafe for ggml_glu_op
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