def save(self):
        """save the graph list and the labels"""
        save_graphs(str(self.graph_path), self._g)
        save_info(
            str(self.info_path),
            {"num_nodes": self.num_nodes, "num_rels": self.num_rels},
        )
save the graph list and the labels
python/dgl/data/knowledge_graph.py