linop.Transpose#
- class bartorch.linop.Transpose#
Bases:
LinearOperatorSwap two axes, BART’s
linop_transpose.Permuteis the general rearrangement; this is the pair swap thattorch.transposeis.- Parameters:
shape (tuple of int) – The domain, C order.
axis0 (int) – The two axes to exchange.
axis1 (int) – The two axes to exchange.
Also has the methods and properties of LinearOperator.