linop.Reshape#
- class bartorch.linop.Reshape#
Bases:
LinearOperatorRead the same elements under another shape, BART’s
linop_reshape.The two shapes must hold the same number of elements. Nothing moves: this is the identity on the buffer and a relabelling of its axes.
- Parameters:
oshape (tuple of int) – Codomain and domain, C order.
ishape (tuple of int) – Codomain and domain, C order.
Also has the methods and properties of LinearOperator.