Mojo function
transpose_2d
transpose_2d[rank: Int, dtype: DType, //](output: TileTensor[dtype, linear_idx_type=output.linear_idx_type, element_size=output.element_size], input: TileTensor[dtype, linear_idx_type=input.linear_idx_type, element_size=input.element_size], perms: UnsafePointer[Int], simplified_input_shape: IndexList[rank], simplified_rank: Int, offset: Int, ctx: Optional[DeviceContext] = None)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!