Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/THUDM/CogDL
/ filter_adj
Function
filter_adj
cogdl/utils/transform.py:36–37 ·
view source on GitHub ↗
(row, col, edge_attr, mask)
Source
from the content-addressed store, hash-verified
34
35
36
def
filter_adj(row, col, edge_attr, mask):
37
return
(row[mask], col[mask]), None
if
edge_attr is None
else
edge_attr[mask]
38
39
40
def
dropout_adj(
Callers
1
dropout_adj
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected