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

Function is_all

python/dgl/base.py:27–29  ·  view source on GitHub ↗

Return true if the argument is a special symbol for all nodes or edges.

(arg)

Source from the content-addressed store, hash-verified

25
26
27def is_all(arg):
28 """Return true if the argument is a special symbol for all nodes or edges."""
29 return isinstance(arg, str) and arg == ALL
30
31
32# pylint: disable=invalid-name

Callers 15

forwardMethod · 0.90
edge_sparsemaxFunction · 0.90
invoke_node_udfFunction · 0.85
invoke_edge_udfFunction · 0.85
batchFunction · 0.85
_batch_feat_dictsFunction · 0.85
in_degreesMethod · 0.85
out_degreesMethod · 0.85
_set_n_reprMethod · 0.85
_get_n_reprMethod · 0.85
_set_e_reprMethod · 0.85
_get_e_reprMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected