forked from pyg-team/pytorch_geometric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable distributed link hetero sampling (pyg-team#8722)
This PR enables distributed edge sampling for heterogeneous graphs. **Added:** - Distributed edge heterogeneous sampling. - Distributed edge heterogeneous node-level and edge-level temporal sampling. - `DistEdgeHeteroSamplerInput` class, which serves as an input data to the `node_sample` function when for a given input edge there are different source and target node types. - unit tests **Comments:** - In the case when a given input edge has distinct source and destination node types it is necessary to handle the data of each of these types separately, so it is slightly different from the situation when we have only one input node type. - This PR depends on: [pyg-team#8718](pyg-team#8718) --------- Co-authored-by: JakubPietrakIntel <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Matthias Fey <[email protected]>
- Loading branch information
1 parent
c65cff9
commit e4568a2
Showing
5 changed files
with
559 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.