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

Method allclose

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

Source from the content-addressed store, hash-verified

1359 return a.copy()
1360
1361 def allclose(self, a, b, rtol=1e-05, atol=1e-08, equal_nan=False):
1362 return np.allclose(a, b, rtol=rtol, atol=atol, equal_nan=equal_nan)
1363
1364 def dtype_device(self, a):
1365 if hasattr(a, "dtype"):

Callers

nothing calls this directly

Calls 1

allcloseMethod · 0.45

Tested by

no test coverage detected