pymoose.div#

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

Divide two tensors.

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

Parameters
  • lhs – Dividend.

  • rhs – Divisor.

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

Returns

Quotient of the two inputs.