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, ...)
whereb
can be either1
orB
andc
can be either1
orC
.
If
b = 1
orc = 1
, then this function supports broadcasting as the same as numpy.:return torch.Tensor : the output of the multiplier, same shape as \(x\)