multiplier#
- deepinv.physics.functional.multiplier(x, mult)[source]#
Implements diagonal matrices or multipliers \(x\) and
mult. The adjoint of this operation isdeepinv.physics.functional.multiplier_adjoint()- Parameters:
x (torch.Tensor) – Image of size
(B, C, ...).filter (torch.Tensor) – Filter of size
(b, c, ...)wherebcan be either1orBandccan be either1orC.
If
b = 1orc = 1, then this function supports broadcasting as the same as numpy.:return torch.Tensor : the output of the multiplier, same shape as \(x\)