pub struct GdnPreviewWeights {
pub conv_right: Vec<f32>,
pub logit_scale: Vec<f32>,
pub history_bias: Vec<f32>,
pub history_c: Vec<f32>,
}Expand description
The block-diffusion (Clover) preview weights of one GDN layer.
Fields§
§conv_right: Vec<f32>[c_dim · (kk−1)] — right taps, flattened [c][distance−1]: tap d reads the block row d positions AFTER the output row.
logit_scale: Vec<f32>[nv] — per-head scale of the unscaled q̂·k̂ block logits.
history_bias: Vec<f32>[nv] — the history slot’s logit at a full 32-row block…
history_c: Vec<f32>[nv] — …and its slope in ln(valid rows / 32).
Auto Trait Implementations§
impl Freeze for GdnPreviewWeights
impl RefUnwindSafe for GdnPreviewWeights
impl Send for GdnPreviewWeights
impl Sync for GdnPreviewWeights
impl Unpin for GdnPreviewWeights
impl UnsafeUnpin for GdnPreviewWeights
impl UnwindSafe for GdnPreviewWeights
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