dgl.to_simple_graphο
- dgl.to_simple_graph(g)[source]ο
 Convert the graph to a simple graph with no multi-edge.
DEPRECATED: renamed to dgl.to_simple
Notes
This function discards the batch information. Please use
dgl.DGLGraph.set_batch_num_nodes()anddgl.DGLGraph.set_batch_num_edges()on the transformed graph to maintain the information.