Cos
Returns a new tensor with the cosine of the elements of input.
Abstract Signature:
Cos(input: Tensor)
PyTorch
API: torch.cos
Strategy: Direct Mapping
JAX (Core)
API: jax.numpy.cos
Strategy: Direct Mapping
NumPy
API: numpy.cos
Strategy: Direct Mapping
Keras
API: keras.ops.cos
Strategy: Direct Mapping
TensorFlow
API: tf.math.cos
Strategy: Direct Mapping
Apple MLX
API: mlx.core.cos
Strategy: Direct Mapping
Flax NNX
API: jax.numpy.cos
Strategy: Direct Mapping
PaxML / Praxis
API: jax.numpy.cos
Strategy: Direct Mapping