pub struct MoeV41Stage {
pub ne: usize,
pub weights: Vec<f32>,
pub indices: Vec<usize>,
pub timing: MoeV41Timing,
}Expand description
What stage_m1 leaves for compute_m1: the distinct expert count and
the routing (for callers and diagnostics), with the host-span timing.
Fields§
§ne: usize§weights: Vec<f32>§indices: Vec<usize>§timing: MoeV41TimingAuto Trait Implementations§
impl Freeze for MoeV41Stage
impl RefUnwindSafe for MoeV41Stage
impl Send for MoeV41Stage
impl Sync for MoeV41Stage
impl Unpin for MoeV41Stage
impl UnwindSafe for MoeV41Stage
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