Exp2ΒΆ

Computes the base-2 exponential of each element.

Abstract Signature:

Exp2(input: Tensor)

PyTorch

API: torch.exp2
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.exp2
Strategy: Direct Mapping

NumPy

API: numpy.exp2
Strategy: Direct Mapping

Keras

API: keras.ops.numpy.exp2
Strategy: Macro '{input} ** 2'

TensorFlow

API: tf.experimental.numpy.exp2
Strategy: Direct Mapping

Apple MLX

API: β€”
Strategy: Macro 'mlx.core.power(2, {input})'

Flax NNX

API: jax.numpy.exp2
Strategy: Direct Mapping

PaxML / Praxis

API: jax.numpy.exp2
Strategy: Direct Mapping