pub struct DenseMlpWeights {
pub gate_proj: WeightMatrix,
pub up_proj: WeightMatrix,
pub down_proj: WeightMatrix,
}Expand description
KimiMLP used directly on the full hidden dimension – the sole
dense leading layer’s feed-forward block (n_dense_leading_layers=1
for Kimi K3).
Fields§
§gate_proj: WeightMatrix§up_proj: WeightMatrix§down_proj: WeightMatrixAuto Trait Implementations§
impl Freeze for DenseMlpWeights
impl RefUnwindSafe for DenseMlpWeights
impl Send for DenseMlpWeights
impl Sync for DenseMlpWeights
impl Unpin for DenseMlpWeights
impl UnsafeUnpin for DenseMlpWeights
impl UnwindSafe for DenseMlpWeights
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more