ComposedPhysics#
- class deepinv.physics.ComposedPhysics(*physics, device='cpu', **kwargs)[source]#
Bases:
PhysicsComposes multiple physics operators into a single operator.
The measurements produced by the resulting model are defined as
\[\noise{\forw{x}} = N_k(A_k(\dots A_2(A_1(x))))\]where \(A_i(\cdot)\) is the ith physics operator and \(N_k(\cdot)\) is the noise of the last operator.
- Parameters:
physics (Iterable[deepinv.physics.Physics]) – variable number of physics to compose.
- A(x, **kwargs)[source]#
Computes forward of composed operator
\[y = A_k(\dots(A_1(x)))\]- Parameters:
x (torch.Tensor) – signal/image
- Returns:
measurements
- Return type: