nlop.Constant#
- class bartorch.nlop.Constant#
Bases:
NonlinearOperatorAn operator of no inputs that returns
value. BART’snlop_const.Combined with another operator and linked into one of its inputs, this is how a model’s fixed quantity – a sampling pattern, an echo time – is pinned;
partial()does exactly that in one step. BART copies the tensor, so the one passed in is free afterwards.
Also has the methods and properties of NonlinearOperator.