About dgl graph

How to check self node edge (identity matrix , unit matrix)?
in dgl graph

and How to check relation of node and edge ? in dgl graph

What do you mean by self node edge? If you want to get the edge IDs of the self-loops, you can use edge_ids. If you want to explicitly specify node and edge types, follow the instructions in 1.5 Heterogeneous Graphs — DGL 1.1.1 documentation

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.