Skip to content
New issue

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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DensePaddingDataLoader for flexible dense batching of BaseData objects #8517

Open
amorehead opened this issue Dec 4, 2023 · 0 comments
Labels

Comments

@amorehead
Copy link
Contributor

amorehead commented Dec 4, 2023

馃殌 The feature, motivation and pitch

  • This issue serves to add a DensePaddingDataLoader class that enables flexible dense batching of BaseData objects.
  • Such functionality supports fast and direct conversion of PyG Data or HeteroData objects into CV/NLP-driven (dense-batching) model training pipelines.

Alternatives

No alternatives exist for this functionality, including PyG's DenseDataLoader which assumes each (sub)graph's node count must be identical to all other sub(graphs).

Additional context

This functionality enables one to easily experiment with message passing algorithms that operate on dense tensor representations of batched graph objects without having to redesign one's PyG-driven Dataset class. This idea was initiated per #8516.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant