TanΒΆ

Computes the tangent of the elements.

Abstract Signature:

Tan(input: Tensor)

PyTorch

API: torch.tan
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.tan
Strategy: Direct Mapping

NumPy

API: numpy.tan
Strategy: Direct Mapping

Keras

API: keras.ops.tan
Strategy: Direct Mapping

TensorFlow

API: tf.math.tan
Strategy: Direct Mapping

Apple MLX

API: mlx.core.tan
Strategy: Direct Mapping

Flax NNX

API: jnp.tan
Strategy: Direct Mapping

PaxML / Praxis

API: jnp.tan
Strategy: Direct Mapping