autodiff.reverse.exp

autodiff.reverse.exp(x)

Return the exponential of x.

Parameters
xint, float, Node
Returns
yfloat or Node

Examples

>>> ad.exp(1)
2.718281828459045
>>> x = ad.Node(1)
>>> ad.exp(x)
Node(2.718281828459045)