fn
sinh
→Tensorsinh(input: Tensor)Element-wise hyperbolic sine.
Computes for each entry.
Parameters
inputTensorInput tensor.
Returns
TensorElement-wise result with the same shape as input.
Notes
Mathematical definition:
Gradient: . May overflow for large |x|.
Examples
>>> import lucid
>>> x = lucid.tensor([1.0, 2.0, 3.0])
>>> lucid.sinh(x)
Tensor([...])