Hyperbolic Cosine (Cosh)#
API#
- class warp_nn.modules.operators.Cosh(*, requires_grad: bool = True)[source]#
Bases:
ModuleHyperbolic Cosine (Cosh) operation.
This class computes the element-wise hyperbolic cosine:
\[\text{Cosh}(x) = \cosh(x)\]- Parameters:
requires_grad – Whether the cached output arrays of the module require gradients.