MCPcopy
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
36def 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
40def dropout_adj(

Callers 1

dropout_adjFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected