Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dmlc/dgl
/ num_nodes
Method
num_nodes
examples/tensorflow/sgc/sgc.py:78–79 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
76
77
@property
78
def
num_nodes(self):
79
return
self.g.num_nodes()
80
81
@staticmethod
82
def
ensure_self_loop(g):
Callers
15
c_and_s.py
File · 0.45
appnp.py
File · 0.45
gcn.py
File · 0.45
sgc.py
File · 0.45
gat.py
File · 0.45
forward
Method · 0.45
gcnii.py
File · 0.45
main
Function · 0.45
sign.py
File · 0.45
twirls.py
File · 0.45
ladies.py
File · 0.45
graphsage.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected