pub struct MlxCompiledDualHeadNorm { /* private fields */ }Expand description
Owns the compiled dual-output query/key head-normalization graph.
Output order is fixed by the builder: the normalized queries first, the normalized keys second. Callers consume them by that order.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for MlxCompiledDualHeadNorm
impl !Sync for MlxCompiledDualHeadNorm
impl Freeze for MlxCompiledDualHeadNorm
impl RefUnwindSafe for MlxCompiledDualHeadNorm
impl Unpin for MlxCompiledDualHeadNorm
impl UnsafeUnpin for MlxCompiledDualHeadNorm
impl UnwindSafe for MlxCompiledDualHeadNorm
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