torch.sinh
- torch.sinh(input, *, out=None) → Tensor
Returns a new tensor with the hyperbolic sine of the elements of
input.
Returns a new tensor with the hyperbolic sine of the elements of
input.
Example:
>>> a = torch.randn(4)
>>> a
tensor([ 0.5380, -0.8632, -0.1265, 0.9399])
>>> torch.sinh(a)
tensor([ 0.5644, -0.9744, -0.1268, 1.0845])