pymoose.mul#

pymoose.mul(lhs, rhs, placement=None)[source]#

Multiply two values.

Equivalent to lhs * rhs for the two inputs. If the inputs are tensors, the multiplication is performed elementwise.

Parameters
  • lhs – First factor.

  • rhs – Second factor.

  • placement – An optional Placement to pin this operation to.

Returns

Product of the two inputs.