GcdΒΆ

In-place GCD.

Abstract Signature:

Gcd_(input: Tensor, other: Tensor)

PyTorch

API: torch.gcd_
Strategy: Direct Mapping

JAX (Core)

API: jnp.gcd
Strategy: Direct Mapping

NumPy

API: np.gcd
Strategy: Direct Mapping

TensorFlow

API: tf.math.gcd
Strategy: Direct Mapping

Flax NNX

API: jnp.gcd
Strategy: Direct Mapping

PaxML / Praxis

API: jnp.gcd
Strategy: Direct Mapping