dgl.DGLGraph.subgraph

DGLGraph.subgraph(nodes, *, relabel_nodes=True, store_ids=True, output_device=None)

Alias of dgl.node_subgraph().