pymoose.sub
pymoose.sub#
- pymoose.sub(lhs, rhs, placement=None)[source]#
Subtract two values.
Equivalent to
lhs - rhsfor the two inputs. If the inputs are tensors, the subtraction is performed elementwise.- Parameters
lhs – Minuend.
rhs – Subtrahend.
placement – An optional
Placementto pin this operation to.
- Returns
Difference of the two inputs.