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

Function is_builtin

python/dgl/core.py:11–13  ·  view source on GitHub ↗

Return true if the function is a DGL builtin function.

(func)

Source from the content-addressed store, hash-verified

9
10
11def is_builtin(func):
12 """Return true if the function is a DGL builtin function."""
13 return isinstance(func, fn.BuiltinFunction)
14
15
16def invoke_node_udf(graph, nid, ntype, func, *, ndata=None, orig_nid=None):

Callers 1

message_passingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected