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

Method save

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

Source from the content-addressed store, hash-verified

239 self.labels = label_dict["labels"]
240
241 def save(self):
242 save_graphs(
243 self.graph_path, self.graphs, labels={"labels": self.labels}
244 )
245
246 def has_cache(self):
247 return os.path.exists(self.graph_path)

Callers

nothing calls this directly

Calls 1

save_graphsFunction · 0.85

Tested by

no test coverage detected