MCPcopy
hub / github.com/dmlc/dgl / rfunc

Function rfunc

tests/python/common/test_propagate.py:19–21  ·  view source on GitHub ↗
(nodes)

Source from the content-addressed store, hash-verified

17
18
19def rfunc(nodes):
20 msg = F.sum(nodes.mailbox["m"], 1)
21 return {"x": nodes.data["x"] + msg}
22
23
24@unittest.skipIf(F._default_context_str == "gpu", reason="GPU not implemented")

Callers 1

_testFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected