pub struct Mamba3PreprocessConfig {
pub inner_size: usize,
pub state_size: usize,
pub num_heads: usize,
pub num_rope_angles: usize,
pub num_groups: usize,
pub mimo_rank: usize,
pub epsilon: f32,
pub dt_min: f32,
pub dt_max: f32,
pub a_floor: f32,
}Fields§
§inner_size: usizeWidth of the z and x projection slices.
state_size: usizeWidth of each B/C state row.
num_heads: usizeNumber of selective-state heads.
num_rope_angles: usizeNumber of rotary angle pairs.
num_groups: usizeNumber of shared B/C groups.
mimo_rank: usizeNumber of B/C rows per group.
epsilon: f32Epsilon used by B/C RMS normalization.
dt_min: f32Inclusive lower bound for transformed dt.
dt_max: f32Inclusive upper bound for transformed dt.
a_floor: f32Positive floor for the magnitude of the negative A token.
Trait Implementations§
Source§impl Clone for Mamba3PreprocessConfig
impl Clone for Mamba3PreprocessConfig
impl Copy for Mamba3PreprocessConfig
Source§impl Debug for Mamba3PreprocessConfig
impl Debug for Mamba3PreprocessConfig
Source§impl PartialEq for Mamba3PreprocessConfig
impl PartialEq for Mamba3PreprocessConfig
impl StructuralPartialEq for Mamba3PreprocessConfig
Auto Trait Implementations§
impl Forget for Mamba3PreprocessConfig
impl Freeze for Mamba3PreprocessConfig
impl Move for Mamba3PreprocessConfig
impl RefUnwindSafe for Mamba3PreprocessConfig
impl Send for Mamba3PreprocessConfig
impl Sync for Mamba3PreprocessConfig
impl Unpin for Mamba3PreprocessConfig
impl UnsafeUnpin for Mamba3PreprocessConfig
impl UnwindSafe for Mamba3PreprocessConfig
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