pymoose.mul
pymoose.mul#
- pymoose.mul(lhs, rhs, placement=None)[source]#
Multiply two values.
Equivalent to
lhs * rhsfor the two inputs. If the inputs are tensors, the multiplication is performed elementwise.- Parameters
lhs – First factor.
rhs – Second factor.
placement – An optional
Placementto pin this operation to.
- Returns
Product of the two inputs.