torch_exp: Exp

Description Usage Arguments exp(input, out=NULL) -> Tensor Examples

View source: R/gen-namespace.R

Description

Exp

Usage

1
torch_exp(self)

Arguments

self

(Tensor) the input tensor.

exp(input, out=NULL) -> Tensor

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

y_{i} = e^{x_{i}}

Examples

1
2
3
4

torch documentation built on Oct. 7, 2021, 9:22 a.m.