Lcm === Computes the element-wise least common multiple. **Abstract Signature:** ``Lcm(input: Tensor, other: Tensor)`` .. raw:: html

PyTorch

API: torch.lcm
Strategy: Direct Mapping

JAX (Core)

API: jnp.lcm
Strategy: Direct Mapping

NumPy

API: np.lcm
Strategy: Direct Mapping

Keras

API: keras.ops.numpy.lcm
Strategy: Macro 'keras.ops.convert_to_tensor(np.lcm({input}, {other}))'

TensorFlow

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

Apple MLX

API:
Strategy: Custom / Partial

Flax NNX

API: jnp.lcm
Strategy: Direct Mapping

PaxML / Praxis

API: jnp.lcm
Strategy: Direct Mapping