mirtorch.linear.BlockDiagonal
- class mirtorch.linear.BlockDiagonal(A: Sequence[LinearMap])
Create a block-diagonal linear map from a list of linear maps. This assumes that each of the linear maps is a 2D linearmap, with identical input and output shapes.
Attributes: A : List of 2D linear maps
- __init__(A: Sequence[LinearMap])
Initiate the linear operator.
Methods
__init__
(A)Initiate the linear operator.
adjoint
(x)Apply the adjoint operator
apply
(x)Apply the forward operator
to
(*args, **kwargs)Copy to different devices
Attributes
H
Apply the (Hermitian) transpose