dgl.distributed.find_edges๏
- dgl.distributed.find_edges(g, edge_ids)[source]๏
Given an edge ID array, return the source and destination node ID array
sanddfrom a distributed graph.s[i]andd[i]are source and destination node ID for edgeeid[i].- Parameters:
g (DistGraph) โ The distributed graph.
edges (tensor) โ The edge ID array.
- Returns:
tensor โ The source node ID array.
tensor โ The destination node ID array.