Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dmlc/dgl
/ num_nodes
Method
num_nodes
python/dgl/data/knowledge_graph.py:238–239 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
236
237
@property
238
def
num_nodes(self):
239
return
self._num_nodes
240
241
@property
242
def
num_rels(self):
Callers
15
_build_neg_graph
Method · 0.45
__init__
Method · 0.45
walk_sampler
Method · 0.45
_generate
Method · 0.45
process
Method · 0.45
load
Method · 0.45
process
Method · 0.45
process
Method · 0.45
process
Method · 0.45
negative_sample
Function · 0.45
__init__
Method · 0.45
add_nodepred_split
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected