Mojo function
transpose_2d
transpose_2d[rank: Int, output_shape: DimList, input_shape: DimList, type: DType](output: NDBuffer[type, rank, origin, output_shape], input: NDBuffer[type, rank, origin, input_shape], perms: UnsafePointer[SIMD[index, 1]], simplified_input_shape: Index[rank], simplified_rank: Int, offset: Int)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!