pub struct MlaRopeConfig {
pub theta: f32,
}Expand description
RoPE parameters for the decoupled q_rot/k_rot slices of an MLA
attention layer that does apply rotation (unlike Kimi K3 – see
MlaConfig::rope’s doc comment). Always the interleaved convention
(ferrox_core::attention::apply_rope_interleaved) for every real
architecture confirmed so far to use this (GLM-5.2’s
rope_interleave: true); a separate split-half variant isn’t wired
in here since no confirmed real user of it exists yet.
Fields§
§theta: f32Trait Implementations§
Source§impl Clone for MlaRopeConfig
impl Clone for MlaRopeConfig
Source§fn clone(&self) -> MlaRopeConfig
fn clone(&self) -> MlaRopeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MlaRopeConfig
Auto Trait Implementations§
impl Freeze for MlaRopeConfig
impl RefUnwindSafe for MlaRopeConfig
impl Send for MlaRopeConfig
impl Sync for MlaRopeConfig
impl Unpin for MlaRopeConfig
impl UnsafeUnpin for MlaRopeConfig
impl UnwindSafe for MlaRopeConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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