pub struct MoeV41Cfg {
pub dim: usize,
pub inter: usize,
pub n_routed: usize,
pub topk: usize,
pub gate_temp: f32,
pub norm_topk_prob: bool,
pub route_scale: f32,
pub swiglu_limit: f32,
pub max_tokens: usize,
}Fields§
§dim: usize§inter: usize§n_routed: usize§topk: usize§gate_temp: f32§norm_topk_prob: bool§route_scale: f32§swiglu_limit: f32§max_tokens: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for MoeV41Cfg
impl RefUnwindSafe for MoeV41Cfg
impl Send for MoeV41Cfg
impl Sync for MoeV41Cfg
impl Unpin for MoeV41Cfg
impl UnwindSafe for MoeV41Cfg
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