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

Method load

python/dgl/data/lrgb.py:237–239  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

235 self.labels = F.tensor(self.labels, dtype=F.float32)
236
237 def load(self):
238 self.graphs, label_dict = load_graphs(self.graph_path)
239 self.labels = label_dict["labels"]
240
241 def save(self):
242 save_graphs(

Callers

nothing calls this directly

Calls 1

load_graphsFunction · 0.85

Tested by

no test coverage detected