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

Method save

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

Source from the content-addressed store, hash-verified

487 self.labels = label_dict["labels"]
488
489 def save(self):
490 save_graphs(
491 self.graph_path, self.graphs, labels={"labels": self.labels}
492 )
493
494 def has_cache(self):
495 return os.path.exists(self.graph_path)

Callers

nothing calls this directly

Calls 1

save_graphsFunction · 0.85

Tested by

no test coverage detected