Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ copy
Method
copy
ot/backend.py:1358–1359 ·
view source on GitHub ↗
(self, a)
Source
from the content-addressed store, hash-verified
1356
return
np.where(condition, x, y)
1357
1358
def
copy(self, a):
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)
Callers
nothing calls this directly
Calls
1
copy
Method · 0.45
Tested by
no test coverage detected