For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo function
apply_rope
def apply_rope[dtype: DType, freq_dtype: DType, width: SIMDLength, //, *, interleaved: Bool, alignment: Int, OutputFn: def[width: SIMDLength, alignment: Int](idx: Coord[**?], val: SIMD[dtype, width]) -> None & RegisterPassable & ImplicitlyCopyable, aligned_loads: Bool = False](x: TileTensor[dtype, Engine=x.Engine, address_space=x.address_space, linear_idx_type=x.linear_idx_type], idx: Coord[*idx.element_types], freq_val: SIMD[freq_dtype, width], output_fn: OutputFn)