dgl.to_simple_graph
- dgl.to_simple_graph(g)[source]
将图转换为没有多重边的简单图。
已弃用:已重命名为 dgl.to_simple
注释
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.