pub enum MlpW {
Dense(DenseMlp),
Moe(MoeWeights),
}Variants§
Dense(DenseMlp)
Moe(MoeWeights)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MlpW
impl RefUnwindSafe for MlpW
impl Send for MlpW
impl Sync for MlpW
impl Unpin for MlpW
impl UnwindSafe for MlpW
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