dgl icon indicating copy to clipboard operation
dgl copied to clipboard

[GraphBolt] Fix `blocks` in minibatch when facing with empty edges in subgraph.

Open yxy235 opened this issue 9 months ago • 5 comments

Description

related to #7410

TODO:

  1. add test case: get blocks from homo graph minibatch
  2. add test case: check if node type of seeds still occurs in src_node_type of edges, it will always be passed down.

Checklist

Please feel free to remove inapplicable items for your PR.

  • [ ] The PR title starts with [$CATEGORY] (such as [NN], [Model], [Doc], [Feature]])
  • [ ] I've leverage the tools to beautify the python and c++ code.
  • [ ] The PR is complete and small, read the Google eng practice (CL equals to PR) to understand more about small PR. In DGL, we consider PRs with less than 200 lines of core code change are small (example, test and documentation could be exempted).
  • [ ] All changes have test coverage
  • [ ] Code is well-documented
  • [ ] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change
  • [ ] Related issue is referred in this PR
  • [ ] If the PR is for a new model/paper, I've updated the example index here.

Changes

yxy235 avatar May 16 '24 05:05 yxy235