unitaria.Mul

class unitaria.Mul(A: Node, B: Node, skip_projection: bool = False)[source]

Bases: ProxyNode

Node for computing the product of two nodes

The order of operations is, like in matrix multiplication, from right to left, i.e. B is applied first so this implements A @ B. This requires B.dimension_out == A.dimension_in.

Parameters:
  • A – The left factor

  • B – The right factor