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 module
transpose
The module implements Transpose functions.
Functionsβ
- β
transpose: Permute the axis ofinputbased onperms, and place the result inoutput. - β
transpose_2d: Transposes the inner two dimensions of a simplified rank-2 tensor. - β
transpose_3d_swap_inner: Transposes the inner two axes of a batched rank-3 tensor. - β
transpose_3d_swap_outer: Transposes the outer two axes of a rank-3 tensor. - β
transpose_4d_swap_middle: Transposes the middle two axes of a rank-4 tensor. - β
transpose_inplace: Transposes a squarerowsxcolstile in place. - β
transpose_strided: Transposes a tensor with arbitrary strides via a generic strided copy. - β
transpose_trivial_memcpy: Copies the input buffer to the output buffer as a trivial transpose.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!