MCPcopy Create free account
hub / github.com/Tencent/embedx / generate_embedx_graph

Function generate_embedx_graph

demo/data/scripts/process_dataset.py:62–66  ·  view source on GitHub ↗
(dataset, embedx_graph_dir)

Source from the content-addressed store, hash-verified

60
61
62def generate_embedx_graph(dataset, embedx_graph_dir):
63 dataset.load()
64 nx_graph = dataset.to_nx_graph()
65 generator = EmbedxGraphGenerator(nx_graph)
66 generator.run(embedx_graph_dir)
67
68
69if __name__ == "__main__":

Callers 1

process_dataset.pyFile · 0.85

Calls 4

runMethod · 0.95
loadMethod · 0.45
to_nx_graphMethod · 0.45

Tested by

no test coverage detected