Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ _detach
Method
_detach
ot/backend.py:1982–1983 ·
view source on GitHub ↗
(self, a)
Source
from the content-addressed store, hash-verified
1980
return
res
1981
1982
def
_detach(self, a):
1983
return
a.detach()
1984
1985
def
zeros(self, shape, type_as=None):
1986
if
isinstance(shape, int):
Callers
nothing calls this directly
Calls
1
detach
Method · 0.80
Tested by
no test coverage detected