Pytorch Torch Exp
# PyTorch torch.exp Function
* * *
[
* * *
## Usage Example
## Example
import torch
x = torch.tensor([0,1,2])
print(torch.exp(x))
The output is:
tensor([1.0000, 2.7183, 7.3891])
* * *
[![Image 4: Pytorch torch Reference Manual]( Pytorch torch Reference Manual](
YouTip