dgl.DGLHeteroGraph.edge_id

DGLHeteroGraph.edge_id(u, v, force_multi=None, return_uv=False, etype=None)[source]

Return the edge ID, or an array of edge IDs, between source node u and destination node v, with the specified edge type

DEPRECATED: See edge_ids