AssertClose =========== Auto-generated from jax_code_defs .. raw:: html

PyTorch

API: torch.testing.assert_close
Strategy: Direct Mapping

JAX (Core)

API: numpy.testing.assert_allclose
Strategy: Direct Mapping

NumPy

API: numpy.testing.assert_allclose
Strategy: Direct Mapping

Keras

API: numpy.testing.assert_allclose
Strategy: Direct Mapping

TensorFlow

API: tf.debugging.assert_near
Strategy: Direct Mapping

Apple MLX

API:
Strategy: Macro 'assert {actual}.allclose({expected}, rtol={rtol}, atol={atol}).item()'

Flax NNX

API: numpy.testing.assert_allclose
Strategy: Direct Mapping