PolygammaΒΆ

Computes the polygamma function psi^(n)(x).

Abstract Signature:

Polygamma(n: int, input: Tensor)

PyTorch

API: torch.polygamma
Strategy: Direct Mapping

JAX (Core)

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

NumPy

API: scipy.special.polygamma
Strategy: Direct Mapping

Keras

API: tf.math.polygamma
Strategy: Direct Mapping

TensorFlow

API: tf.math.polygamma
Strategy: Direct Mapping

Apple MLX

API: β€”
Strategy: Custom / Partial

Flax NNX

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

PaxML / Praxis

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