dgl.DGLHeteroGraph.edge_subgraph

DGLHeteroGraph.edge_subgraph(edges, preserve_nodes=False)

Alias of dgl.edge_subgraph().