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
rope_q_proj
def rope_q_proj[dtype: DType, freq_dtype: DType, rank: Int, width: SIMDSize, output_dtype: DType, //, *, interleaved: Bool, has_nope_prefix: Bool = False, rope_dim: Int = Int(0), alignment: Int = Int((get_alignof SIMD[dtype, width], _current_target()))](q_proj: TileTensor[dtype, Storage=q_proj.Storage, address_space=q_proj.address_space, linear_idx_type=q_proj.linear_idx_type, element_size=q_proj.element_size], output: TileTensor[output_dtype, Storage=output.Storage, 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)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!