linop.Permute#
- class bartorch.linop.Permute#
Bases:
LinearOperatorRearrange the axes, BART’s
linop_permute.orderreads the waytorch.permute’s does: axisiof the result is axisorder[i]of the input.- Parameters:
shape (tuple of int) – The domain, C order.
order (sequence of int) – A permutation of
range(len(shape)).
Also has the methods and properties of LinearOperator.