Modf ==== Return element-wise fractional and integral parts of input. **Abstract Signature:** ``Modf(x: Tensor)`` .. raw:: html

PyTorch

API:
Strategy: Macro '(torch.frac({x}), torch.trunc({x}))'

JAX (Core)

API: jax.numpy.modf
Strategy: Direct Mapping

NumPy

API: numpy.modf
Strategy: Direct Mapping