dgl.DGLGraph.edge_subgraph

DGLGraph.edge_subgraph(edges, *, relabel_nodes=True, store_ids=True, output_device=None)

Alias of dgl.edge_subgraph().