Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/THUDM/CogDL
/ __call__
Method
__call__
cogdl/layers/sage_layer.py:16–18 ·
view source on GitHub ↗
(self, graph, x)
Source
from the content-addressed store, hash-verified
14
15
class
SumAggregator(object):
16
def
__call__(self, graph, x):
17
x = spmm(graph, x)
18
return
x
19
20
21
class
MaxAggregator(object):
Callers
nothing calls this directly
Calls
1
spmm
Function · 0.90
Tested by
no test coverage detected