PyTorch
API: torch.polar
Strategy: Direct Mapping
JAX (Core)
API: —
Strategy: Macro '{abs} * jax.numpy.exp(1j * {angle})'
NumPy
API: —
Strategy: Macro '{abs} * numpy.exp(1j * {angle})'
Keras
API: keras.ops.polar
Strategy: Direct Mapping
TensorFlow
API: tf.complex
Strategy: Macro 'tf.complex({abs} * tf.math.cos({angle}), {abs} * tf.math.sin({angle}))'
Apple MLX
API: —
Strategy: Macro '{abs} * mlx.core.exp(1j * {angle})'
Flax NNX
API: —
Strategy: Macro '{abs} * jax.numpy.exp(1j * {angle})'
PaxML / Praxis
API: —
Strategy: Macro '{abs} * jax.numpy.exp(1j * {angle})'