Implementing kernel
C++ engine symbols that back this Python API.Element-wise natural exponential.
Computes the natural exponential function for each entry of input.
Parameters
inputTensorInput tensor.
Returns
TensorElement-wise result with the same shape as input.
Notes
Mathematical definition:
Gradient: . May overflow to +inf for large inputs.
Examples
>>> import lucid
>>> x = lucid.tensor([1.0, 2.0, 3.0])
>>> lucid.exp(x)
Tensor([...])