Closed
Description
Description
Numpy 2.0 is introducing these, we should also. We already have the function implemented internally in a bunch of places when doing rewrites with Blockwise Ops.
https://numpy.org/devdocs/release/2.0.0-notes.html#matrix-transpose-support-for-ndarrays
Under the hood it would be a simple swapaxes(self, -1, -2)