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

Method load

python/dgl/data/ppi.py:164–170  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

162 )
163
164 def load(self):
165 self.graphs = load_graphs(self.graph_list_path)[0]
166 g, _ = load_graphs(self.g_path)
167 self.graph = g[0]
168 info = load_info(self.info_path)
169 self._labels = info["labels"]
170 self._feats = info["feats"]
171
172 @property
173 def num_labels(self):

Callers 1

processMethod · 0.45

Calls 2

load_graphsFunction · 0.85
load_infoFunction · 0.85

Tested by

no test coverage detected