Python module
max.experimental.nn.rope
Positional embedding modules and functions.
Rotary embeddings
RotaryEmbedding | Applies rotary positional embeddings (RoPE) to input tensors. |
|---|---|
TransposedRotaryEmbedding | Applies RoPE using a transposed head-dimension layout. |
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!