Expand description
RoPE and positional embedding variants.
Structs§
- Bnsd
QkRope Config - Interleaved
Complex Rope Config - Interleaved complex-frequency RoPE config for Q/K tensors.
- Multiaxis
Rope Config - Three-axis half-split RoPE config for Q/K tensors.
Functions§
- interleaved_
complex_ rope_ qk - Applies interleaved complex-frequency RoPE to query and key tensors.
- multiaxis_
rope_ qk - Applies three-axis half-split RoPE to query and key tensors.
- rotate_
bnsd_ qk_ rope_ reference