Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ copy
Method
copy
ot/backend.py:2759–2760 ·
view source on GitHub ↗
(self, a)
Source
from the content-addressed store, hash-verified
2757
return
cp.where(condition, x, y)
2758
2759
def
copy(self, a):
2760
return
a.copy()
2761
2762
def
allclose(self, a, b, rtol=1e-05, atol=1e-08, equal_nan=False):
2763
return
cp.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