# tensorplay.functional.exp Source: https://www.tensorplay.cn/docs/generated/tensorplay.functional.exp.html ```python tensorplay.functional.exp(input, *, out=None) → Tensor ``` Returns a new tensor with the exponential of the elements of the input tensor input. $$y_{i} = e^{x_{i}}$$ Parameters: input ([Tensor](/docs/generated/tensorplay.Tensor.html#tensorplay.Tensor)) – the input tensor. Keyword Arguments: out ([Tensor](/docs/generated/tensorplay.Tensor.html#tensorplay.Tensor), optional) – the output tensor. Example: ``` >>> tensorplay.exp(tensorplay.tensor([0, math.log(2.)])) tensor([ 1., 2.]) ```