pymoose.div
pymoose.div#
- pymoose.div(lhs, rhs, placement=None)[source]#
Divide two tensors.
Equivalent to
lhs / rhsfor the two inputs. If the inputs are tensors, the division is performed elementwise.- Parameters
lhs – Dividend.
rhs – Divisor.
placement – An optional
Placementto pin this operation to.
- Returns
Quotient of the two inputs.