For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/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: IndexList[Int(3)], val: SIMD[dtype, width]) -> None & ImplicitlyCopyable & RegisterPassable](x: TileTensor[dtype, Storage=x.Storage, address_space=x.address_space, linear_idx_type=x.linear_idx_type], idx: IndexList[Int(3)], freq_val: SIMD[freq_dtype, width], output_fn: OutputFn) where (eq OutputFn.dtype, dtype)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!