pub fn maybe_rope( x: &mut [f32], nope: usize, rope: usize, pos: usize, theta: f32, use_nope: bool, )
Optional RoPE on the rope slice of a packed [nope | rope] head. NoPE leaves q/k unchanged.
[nope | rope]
q
k