autodiff.reverse.Node.__truediv__¶
- Node.__truediv__(other)¶
Return the quotient of self and other.
- Parameters
- selfNode
- otherint, float, Node
- Returns
- outNode
Examples
Node and scalar:
>>> ad.Node(42) / 5 Node(8.4)
Two nodes:
>>> ad.Node(4) / ad.Node(5) Node(0.8) >>> ad.Node.constant(42) /ad.Node(1) Node(42.0)