Skip to main content

Mojo function

rope_q_proj

rope_q_proj[dtype: DType, freq_dtype: DType, rank: Int, width: Int, output_dtype: DType, //, *, interleaved: Bool, has_nope_prefix: Bool = False, rope_dim: Int = 0, alignment: Int = align_of[SIMD[dtype, width]]()](q_proj: TileTensor[dtype, address_space=q_proj.address_space, linear_idx_type=q_proj.linear_idx_type, element_size=q_proj.element_size], output: TileTensor[output_dtype, address_space=output.address_space, linear_idx_type=output.linear_idx_type, element_size=output.element_size], idx: IndexList[rank], freq_val: SIMD[freq_dtype, width], head_size: Int)