pub enum NormDst {
H,
Z,
}Expand description
post at T=1 into the workspace’s xb slot (the caller swaps xb with its in-flight
state). Reads the gates pre_t1_ws left in ws.post/ws.comb — the same kernel, the
same operand bytes as the allocating post.
Which of the decode workspace’s two norm scratches pre_t1_ws_zq8 writes: the attention
site’s h or the MLP site’s z. Passed as a tag rather than a &mut so the function can
take the whole workspace by one mutable borrow and destructure it inside.
Variants§
Trait Implementations§
impl Copy for NormDst
impl Eq for NormDst
impl StructuralPartialEq for NormDst
Auto Trait Implementations§
impl Freeze for NormDst
impl RefUnwindSafe for NormDst
impl Send for NormDst
impl Sync for NormDst
impl Unpin for NormDst
impl UnsafeUnpin for NormDst
impl UnwindSafe for NormDst
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