Skip to main content

Mojo function

q_gmem_shape

q_gmem_shape[dtype: DType, swizzle_mode: TensorMapSwizzle, *, group: Int, q_num_heads: Int, depth: Int, decoding: Bool]() -> IndexList[3 if (not decoding._mlir_value) else 5 if _should_split_last_dim[dtype](depth, swizzle_mode) else 4]

Returns:

IndexList

Was this page helpful?