pub struct MoeReceivedOptions {
pub expert_start: usize,
pub forward: MoeExpertStrategy,
pub backward: MoeExpertStrategy,
}Expand description
Explicit original local expert range and independent forward/backward strategies.
Fields§
§expert_start: usizeFirst global expert ID owned by these actual local cubes; count comes from their original shape.
forward: MoeExpertStrategyOriginal actual segmented forward policy.
backward: MoeExpertStrategyOriginal actual independent segmented backward policy.
Trait Implementations§
Source§impl Clone for MoeReceivedOptions
impl Clone for MoeReceivedOptions
Source§fn clone(&self) -> MoeReceivedOptions
fn clone(&self) -> MoeReceivedOptions
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 MoeReceivedOptions
Source§impl Debug for MoeReceivedOptions
impl Debug for MoeReceivedOptions
impl Eq for MoeReceivedOptions
Source§impl PartialEq for MoeReceivedOptions
impl PartialEq for MoeReceivedOptions
impl StructuralPartialEq for MoeReceivedOptions
Auto Trait Implementations§
impl Freeze for MoeReceivedOptions
impl RefUnwindSafe for MoeReceivedOptions
impl Send for MoeReceivedOptions
impl Sync for MoeReceivedOptions
impl Unpin for MoeReceivedOptions
impl UnsafeUnpin for MoeReceivedOptions
impl UnwindSafe for MoeReceivedOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.