CoshΒΆ

Returns a new tensor with the hyperbolic cosine of the elements.

Abstract Signature:

Cosh(input: Tensor)

PyTorch

API: torch.cosh
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.cosh
Strategy: Direct Mapping

NumPy

API: numpy.cosh
Strategy: Direct Mapping

Keras

API: keras.ops.cosh
Strategy: Direct Mapping

TensorFlow

API: tf.math.cosh
Strategy: Direct Mapping

Apple MLX

API: mlx.core.cosh
Strategy: Direct Mapping

Flax NNX

API: jax.numpy.cosh
Strategy: Direct Mapping

PaxML / Praxis

API: jax.numpy.cosh
Strategy: Direct Mapping