qimpy.math.accum_prod_

accum_prod_(f, x, y, out, start_dim, safe_mode=False)

Accumulate \(f x y\) to out in-place. Similar to accum_norm_, except for a product of two tensors x and y, instead of the norm of a single tensor x. See accum_norm() for details on the indexing and dimensions that are summed.

Parameters:
  • f (Tensor)

  • x (Tensor)

  • y (Tensor)

  • out (Tensor)

  • start_dim (int)

  • safe_mode (bool)

Return type:

None