Unverified Commit 6519ec27 authored by Israt Nisa's avatar Israt Nisa Committed by GitHub
Browse files

[BugFix] Fix API `convert_dgl_partition_to_csc_sampling_graph` (#5992)

parent c3aea1b6
...@@ -1263,7 +1263,7 @@ def convert_dgl_partition_to_csc_sampling_graph(part_config): ...@@ -1263,7 +1263,7 @@ def convert_dgl_partition_to_csc_sampling_graph(part_config):
# Sanity check. # Sanity check.
assert len(type_per_edge) == graph.num_edges() assert len(type_per_edge) == graph.num_edges()
csc_graph = graphbolt.from_csc( csc_graph = graphbolt.from_csc(
indptr, indices, None, type_per_edge, metadata indptr, indices, None, type_per_edge, metadata=metadata
) )
orig_graph_path = os.path.join( orig_graph_path = os.path.join(
os.path.dirname(part_config), os.path.dirname(part_config),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment