#[repr(C)]pub(super) struct MoeBParams {Show 35 fields
pub(super) inter: u32,
pub(super) hidden: u32,
pub(super) n_u: u32,
pub(super) gate_w: u32,
pub(super) up_w: u32,
pub(super) down_w: u32,
pub(super) gate_s: u32,
pub(super) gate_b: u32,
pub(super) up_s: u32,
pub(super) up_b: u32,
pub(super) down_s: u32,
pub(super) down_b: u32,
pub(super) layer: u32,
pub(super) shared: u32,
pub(super) nb: u32,
pub(super) sh_gate_w: u32,
pub(super) sh_gate_s: u32,
pub(super) sh_gate_b: u32,
pub(super) sh_up_w: u32,
pub(super) sh_up_s: u32,
pub(super) sh_up_b: u32,
pub(super) sh_down_w: u32,
pub(super) sh_down_s: u32,
pub(super) sh_down_b: u32,
pub(super) sh_gate_vec: u32,
pub(super) part: u32,
pub(super) low_gate_w: u32,
pub(super) low_up_w: u32,
pub(super) low_down_w: u32,
pub(super) low_gate_s: u32,
pub(super) low_gate_b: u32,
pub(super) low_up_s: u32,
pub(super) low_up_b: u32,
pub(super) low_down_s: u32,
pub(super) low_down_b: u32,
}Fields§
§inter: u32§n_u: u32§gate_w: u32§up_w: u32§down_w: u32§gate_s: u32§gate_b: u32§up_s: u32§up_b: u32§down_s: u32§down_b: u32§layer: u32§nb: u32§sh_gate_w: u32§sh_gate_s: u32§sh_gate_b: u32§sh_up_w: u32§sh_up_s: u32§sh_up_b: u32§sh_down_w: u32§sh_down_s: u32§sh_down_b: u32§sh_gate_vec: u32§part: u32§low_gate_w: u32§low_up_w: u32§low_down_w: u32§low_gate_s: u32§low_gate_b: u32§low_up_s: u32§low_up_b: u32§low_down_s: u32§low_down_b: u32Auto Trait Implementations§
impl Freeze for MoeBParams
impl RefUnwindSafe for MoeBParams
impl Send for MoeBParams
impl Sync for MoeBParams
impl Unpin for MoeBParams
impl UnsafeUnpin for MoeBParams
impl UnwindSafe for MoeBParams
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more