dgl.DGLGraph.edge_subgraph

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

Alias of dgl.edge_subgraph().