dgl.DGLHeteroGraph.edge_subgraph

DGLHeteroGraph.edge_subgraph(edges, preserve_nodes=False, store_ids=True)

Alias of dgl.edge_subgraph().