We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See below
g = dgl.graph([], num_nodes=5) sg = dgl.sampling.sample_neighbors(g, torch.tensor([1, 2], dtype=torch.int64), 2, replace=True) sg.all_edges() # returns (tensor([-1, -1, -1, -1]), tensor([-1, -1, -1, -1]))
Should return 0 edges instead.
The text was updated successfully, but these errors were encountered:
fix dmlc#1421
5895523
fix #1421 (#1422)
91f7ff8
BarclayII
Successfully merging a pull request may close this issue.
🐛 Bug
See below
To Reproduce
Expected behavior
Should return 0 edges instead.
The text was updated successfully, but these errors were encountered: