Mojo function
transpose_inplace
transpose_inplace[rows: Int, cols: Int, dtype: DType](buf: NDBuffer[dtype, buf.origin, DimList(), DimList.create_unknown[2]()])
transpose_inplace[rows: Int, cols: Int, dtype: DType](buf: LayoutTensor[dtype, buf.layout, buf.origin, address_space=buf.address_space, element_layout=buf.element_layout, layout_int_type=buf.layout_int_type, linear_idx_type=buf.linear_idx_type, masked=buf.masked, alignment=buf.alignment])
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!