pymoose.add
pymoose.add#
- pymoose.add(lhs, rhs, placement=None)[source]#
Add two values.
Equivalent to
lhs + rhsfor the two inputs. If the inputs are tensors, the addition is performed elementwise.- Parameters
lhs – First addend.
rhs – Second addend.
placement – An optional
Placementto pin this operation to.
- Returns
Sum of the two inputs.