Skip to main content

Mojo function

apply_rope

apply_rope[dtype: DType, freq_dtype: DType, rank: Int, width: Int, //, *, interleaved: Bool, alignment: Int, output_fn: fn[width: Int, alignment: Int](idx: IndexList[rank], val: SIMD[dtype, width]) capturing -> None](x: TileTensor[dtype, LayoutType, origin, address_space=address_space, linear_idx_type=linear_idx_type, element_shape_types=element_shape_types], idx: IndexList[rank], freq_val: SIMD[freq_dtype, width])

Was this page helpful?