Identity
torchlinops.linops.Identity
Bases: NamedLinop
Identity operator \(I(x) = x\).
Returns the input unchanged. The adjoint, normal, and any power of the identity are also the identity.
Source code in src/torchlinops/linops/identity.py
__init__
torchlinops.linops.ShapeSpec
Bases: Identity
Identity operator that renames dimensions.
Functionally identical to Identity but maps from one set of named
dimensions to another, acting as a shape adapter between linops.