MCPcopy
hub / github.com/THUDM/CogDL / nodes

Method nodes

cogdl/data/data.py:947–948  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

945 return data
946
947 def nodes(self):
948 return torch.arange(self.num_nodes)
949
950 def set_grb_adj(self, adj):
951 self.grb_adj = adj

Callers 15

plot_graphFunction · 0.95
_callMethod · 0.95
gen_node_pairsFunction · 0.95
load_inductive_datasetFunction · 0.80
read_geom_dataFunction · 0.80
simulate_walksMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
_simulate_walksMethod · 0.80
forwardMethod · 0.80
_simulate_walksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected