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

Method load

python/dgl/data/synthetic.py:180–182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

178 return os.path.exists(self.graph_path)
179
180 def load(self):
181 graphs, _ = load_graphs(str(self.graph_path))
182 self._graph = graphs[0]
183
184 def __getitem__(self, idx):
185 assert idx == 0, "This dataset has only one graph."

Callers 1

processMethod · 0.45

Calls 1

load_graphsFunction · 0.85

Tested by

no test coverage detected