How to remove reverse_edges

Hi, I am using citation graphs (cora, citeseer, and pubmed) in my work and i want to use these graphs without allowing DGL to add reverse edges. i tried to pass reverse_edge=False when loading Citation graph e.g, Cora. and still have 10556 edge instead of 5429.

Thank You.

There is an unmerged pull request, you can use it on your side -
[Bug Fix] Fix the case when reverse_edge is False for citation graphs by mufeili · Pull Request #3840 · dmlc/dgl · GitHub

1 Like

@flursky @neo Thanks for bringing that up. We will try to push the patch into mainstream asap.

1 Like

Thank you, it helped me