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

Method save

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

Source from the content-addressed store, hash-verified

155 )
156
157 def save(self):
158 save_graphs(self.graph_list_path, self.graphs)
159 save_graphs(self.g_path, self.graph)
160 save_info(
161 self.info_path, {"labels": self._labels, "feats": self._feats}
162 )
163
164 def load(self):
165 self.graphs = load_graphs(self.graph_list_path)[0]

Callers

nothing calls this directly

Calls 2

save_graphsFunction · 0.85
save_infoFunction · 0.85

Tested by

no test coverage detected