FracΒΆ

In-place version of Frac.

Abstract Signature:

Frac_(input: Tensor)

PyTorch

API: torch.frac_
Strategy: Direct Mapping

JAX (Core)

API: β€”
Strategy: Macro '{input} - jnp.trunc({input})'

NumPy

API: β€”
Strategy: Macro '{input} - np.trunc({input})'

Keras

API: β€”
Strategy: Macro '{input} - keras.ops.trunc({input})'

TensorFlow

API: β€”
Strategy: Macro '{input} - tf.math.trunc({input})'

Apple MLX

API: β€”
Strategy: Macro '{input} - mlx.core.trunc({input})'

Flax NNX

API: β€”
Strategy: Macro '{input} - jnp.trunc({input})'

PaxML / Praxis

API: β€”
Strategy: Macro '{input} - jnp.trunc({input})'