giagrad.Tensor.exp#

Tensor.exp() Tensor[source]#

Returns a new tensor with the exponential of the elements of data.

\[out_i = \exp^{data_i}\]

Examples

>>> Tensor([0, 0.6931471805599453]).exp()
tensor: [1. 2.] fn: Exp