pub struct DeepseekV4DecoderLayerWeights {
pub attn_hc_pre: HyperConnectionPreWeights,
pub attn_norm_weight: Vec<f32>,
pub attn: DeepseekV4AttnWeights,
pub ffn_hc_pre: HyperConnectionPreWeights,
pub ffn_norm_weight: Vec<f32>,
pub ffn: DeepseekV4MoeFfnWeights,
}Fields§
§attn_hc_pre: HyperConnectionPreWeights§attn_norm_weight: Vec<f32>§attn: DeepseekV4AttnWeights§ffn_hc_pre: HyperConnectionPreWeights§ffn_norm_weight: Vec<f32>§ffn: DeepseekV4MoeFfnWeightsAuto Trait Implementations§
impl Freeze for DeepseekV4DecoderLayerWeights
impl RefUnwindSafe for DeepseekV4DecoderLayerWeights
impl Send for DeepseekV4DecoderLayerWeights
impl Sync for DeepseekV4DecoderLayerWeights
impl Unpin for DeepseekV4DecoderLayerWeights
impl UnsafeUnpin for DeepseekV4DecoderLayerWeights
impl UnwindSafe for DeepseekV4DecoderLayerWeights
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