pub struct Mamba3Config {
pub model_width: usize,
pub state_size: usize,
pub expand: usize,
pub head_dim: usize,
pub num_groups: usize,
pub mimo_rank: usize,
pub rope_fraction: f32,
pub dt_min: f32,
pub dt_max: f32,
pub dt_init_floor: f32,
pub a_floor: f32,
pub output_norm: bool,
}Expand description
Construction contract for the donor-backed Mamba-3 block.
Fields§
§model_width: usizeInput and output channel width.
state_size: usizeSelective recurrent state width.
expand: usizeInteger expansion factor applied to model_width.
head_dim: usizeValue width per selective-state head.
num_groups: usizeNumber of B/C groups shared across heads.
mimo_rank: usizeShared-state input/output rank; one selects the SISO route.
rope_fraction: f32Fraction of the state width assigned to rotary pairs.
dt_min: f32Inclusive minimum transformed time step.
dt_max: f32Inclusive maximum transformed time step.
dt_init_floor: f32Minimum initialized transformed time step.
a_floor: f32Positive floor used by the heavy-tail A transform.
output_norm: boolNormalize each head and apply the z gate after the SSM scan.
Implementations§
Trait Implementations§
Source§impl Clone for Mamba3Config
impl Clone for Mamba3Config
impl Copy for Mamba3Config
Source§impl Debug for Mamba3Config
impl Debug for Mamba3Config
Source§impl PartialEq for Mamba3Config
impl PartialEq for Mamba3Config
impl StructuralPartialEq for Mamba3Config
Auto Trait Implementations§
impl Forget for Mamba3Config
impl Freeze for Mamba3Config
impl Move for Mamba3Config
impl RefUnwindSafe for Mamba3Config
impl Send for Mamba3Config
impl Sync for Mamba3Config
impl Unpin for Mamba3Config
impl UnsafeUnpin for Mamba3Config
impl UnwindSafe for Mamba3Config
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