dgl.DGLGraph.edge_subgraph

DGLGraph.edge_subgraph(edges, preserve_nodes=False)

Alias of dgl.edge_subgraph().