50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

torch (version 0.14.2)

torch_sinh: Sinh

Description

Sinh

Usage

torch_sinh(self)

Arguments

self

(Tensor) the input tensor.

sinh(input, out=NULL) -> Tensor

Returns a new tensor with the hyperbolic sine of the elements of input.

outi=sinh(inputi)

Examples

Run this code
if (torch_is_installed()) {

a = torch_randn(c(4))
a
torch_sinh(a)
}

Run the code above in your browser using DataLab