nlop.Weighted#
- class bartorch.nlop.Weighted#
Bases:
NonlinearOperatorWeighted sum
a * x + b * zof two inputs, BART’szaxpbz.- Parameters:
shape (tuple of int) – Shape of both inputs and of the output, C order.
a (float, default=1.0) – Real weights of input 0 (
x) and input 1 (z).b (float, default=1.0) – Real weights of input 0 (
x) and input 1 (z).
Also has the methods and properties of NonlinearOperator.