pub struct GdnWeights {
pub attn_qkv: WeightMatrix,
pub attn_gate: WeightMatrix,
pub ssm_conv1d: Vec<f32>,
pub ssm_dt: Vec<f32>,
pub ssm_a: Vec<f32>,
pub ssm_beta: WeightMatrix,
pub ssm_alpha: WeightMatrix,
pub ssm_norm: Vec<f32>,
pub ssm_out: WeightMatrix,
}Expand description
Weights matching the qwen35 GGUF layout (see module docs).
Fields§
§attn_qkv: WeightMatrix§attn_gate: WeightMatrix§ssm_conv1d: Vec<f32>Depthwise taps, row-major [qkv_dim, conv_kernel_size].
ssm_dt: Vec<f32>§ssm_a: Vec<f32>§ssm_beta: WeightMatrix§ssm_alpha: WeightMatrix§ssm_norm: Vec<f32>§ssm_out: WeightMatrixAuto Trait Implementations§
impl Freeze for GdnWeights
impl RefUnwindSafe for GdnWeights
impl Send for GdnWeights
impl Sync for GdnWeights
impl Unpin for GdnWeights
impl UnsafeUnpin for GdnWeights
impl UnwindSafe for GdnWeights
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