MCPcopy Create free account
hub / github.com/PythonOT/POT / allclose

Method allclose

ot/backend.py:1781–1782  ·  view source on GitHub ↗
(self, a, b, rtol=1e-05, atol=1e-08, equal_nan=False)

Source from the content-addressed store, hash-verified

1779 return a
1780
1781 def allclose(self, a, b, rtol=1e-05, atol=1e-08, equal_nan=False):
1782 return jnp.allclose(a, b, rtol=rtol, atol=atol, equal_nan=equal_nan)
1783
1784 def dtype_device(self, a):
1785 if self.jax_new_version:

Callers

nothing calls this directly

Calls 1

allcloseMethod · 0.45

Tested by

no test coverage detected