dgl.subgraph.DGLSubGraph.parent_eid

DGLSubGraph.parent_eid

Get the parent edge ids.

The returned tensor can be used as a map from the edge id in this subgraph to the edge id in the parent graph.

Returns:The parent edge id array.
Return type:Tensor