torch_expm1: Expm1

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

View source: R/gen-namespace.R

Description

Expm1

Usage

1

Arguments

self

(Tensor) the input tensor.

expm1(input, out=NULL) -> Tensor

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

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

Examples

1
2
3
4

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