Logit ===== Inverse of the sigmoid function. **Abstract Signature:** ``Logit(input: Tensor, eps: float)`` .. raw:: html

PyTorch

API: torch.logit
Strategy: Direct Mapping

JAX (Core)

API: jax.scipy.special.logit
Strategy: Direct Mapping

NumPy

API: scipy.special.logit
Strategy: Direct Mapping

Keras

API:
Strategy: Macro 'keras.ops.log({input} / (1 - {input}))'

TensorFlow

API: tf.math.atanh
Strategy: Macro 'tf.math.atanh(2 * {input} - 1)'

Apple MLX

API:
Strategy: Macro 'mlx.core.log({input} / (1 - {input}))'

Flax NNX

API: jax.scipy.special.logit
Strategy: Direct Mapping