autodiff.reverse.Node.__rtruediv__

Node.__rtruediv__(other)

Return the quotient of two numbers, when the left operand is not a Node.

Parameters
selfNode
otherint, float
Returns
outNode

Examples

Scalar and Node:

>>> 2 / ad.Node(4)
Node(0.5)
>>> 2 / ad.Node.constant(4)
Node(0.5)