Python wrappers
Public Python APIs implemented by this engine symbol.Autograd node for element-wise hyperbolic cosine .
Saves the input x so the backward pass can evaluate .
Defined on all of with the identity
.
Math
\frac{\partial y}{\partial x} = \sinh(x), \qquad \frac{\partial \mathcal{L}}{\partial x} = \sinh(x)\,\frac{\partial \mathcal{L}}{\partial y}.$$Attributes
schema_v1OpSchemaRegistered as
"cosh" with AmpPolicy::Promote.Notes
Dispatch: Accelerate vvcoshf/vvcosh (CPU) / MLX cosh (GPU).
Output magnitude grows exponentially.