nlop.Multiply

Contents

nlop.Multiply#

class bartorch.nlop.Multiply#

Bases: NonlinearOperator

The pointwise product of two inputs, broadcast where either is one.

BART’s tenmul. This is the operator every multi-argument model is built out of: nlinv’s is an image of (1, X, Y) times coil profiles of (C, X, Y), and the derivative by either input is a multiplication by the other.

Parameters:
  • a (tuple of int) – The shape of each input, C order, of the same rank. They broadcast the way torch’s do.

  • b (tuple of int) – The shape of each input, C order, of the same rank. They broadcast the way torch’s do.

Also has the methods and properties of NonlinearOperator.