Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/THUDM/CogDL
/ clone
Method
clone
cogdl/data/data.py:408–409 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
406
return
[x
for
x in self.keys
if
"row"
not in x and
"col"
not in x]
407
408
def
clone(self):
409
return
Adjacency.from_dict({k: v.clone()
for
k, v in self})
410
411
def
to_scipy_csr(self):
412
data = self.get_weight().cpu().numpy()
Callers
nothing calls this directly
Calls
2
from_dict
Method · 0.45
clone
Method · 0.45
Tested by
no test coverage detected