pub struct DenseExpertWeight {
pub gate_proj: DenseWeight,
pub up_proj: DenseWeight,
pub down_proj: DenseWeight,
}Expand description
BF16 expert weight (before NVFP4 quantization).
Fields§
§gate_proj: DenseWeight§up_proj: DenseWeight§down_proj: DenseWeightTrait Implementations§
Source§impl Clone for DenseExpertWeight
impl Clone for DenseExpertWeight
Source§fn clone(&self) -> DenseExpertWeight
fn clone(&self) -> DenseExpertWeight
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DenseExpertWeight
impl Debug for DenseExpertWeight
impl Copy for DenseExpertWeight
Auto Trait Implementations§
impl Freeze for DenseExpertWeight
impl RefUnwindSafe for DenseExpertWeight
impl Send for DenseExpertWeight
impl Sync for DenseExpertWeight
impl Unpin for DenseExpertWeight
impl UnwindSafe for DenseExpertWeight
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