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

Function select

tests/python/common/ops/test_ops.py:31–37  ·  view source on GitHub ↗
(target, src, edge, dst)

Source from the content-addressed store, hash-verified

29
30
31def select(target, src, edge, dst):
32 if target == "u":
33 return src
34 elif target == "v":
35 return dst
36 elif target == "e":
37 return edge
38
39
40def binary_op(msg, x, y):

Callers 2

fooFunction · 0.85
test_sddmmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected