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

Function foo

tests/python/common/ops/test_ops.py:58–65  ·  view source on GitHub ↗
(edges)

Source from the content-addressed store, hash-verified

56
57def edge_func(lhs_target, rhs_target, msg):
58 def foo(edges):
59 return {
60 "m": binary_op(
61 msg,
62 select(lhs_target, edges.src, edges.data, edges.dst)["x"],
63 select(rhs_target, edges.src, edges.data, edges.dst)["y"],
64 )
65 }
66
67 return foo
68

Callers

nothing calls this directly

Calls 2

binary_opFunction · 0.85
selectFunction · 0.85

Tested by

no test coverage detected