mrpro.operators.Operator

class mrpro.operators.Operator(*args, **kwargs)[source]

Bases: Generic[Unpack[Tin], Tout], ABC, Module

The general Operator class.

__init__(*args, **kwargs) None

Initialize internal Module state, shared by both nn.Module and ScriptModule.

abstract forward(*args: Unpack) Tout[source]

Apply forward operator.