-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…4837) * Added support of _ptr and _batch for nested structures, matching the implementation of _collate. Added test in test_batch.py. * Changed comment added pre-commits. * Added support of batch vectors for recursive data structures. * Update CHANGELOG.md Updated CHANGELOG.md. Still missing pull link. * Extended `InMemoryDataset` to infer len() correctly when using lists of tensors. Modified seperate such that InMemoryDataset can deal with lists of tensors correctly. Added test for it. * Added test to cover special elif case in `separate`. * Apply suggestions from code review Fix elif bug, change _batch name, clean-up (by rust1s) Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de> * Merged function _batch and _ptr to _batch_and_ptr. * Updated CHANGELOG.md * Fixed Type Hint. * Update collate.py Removed old/wrong code comment. Co-authored-by: janmeissnerRWTH <96341562+janmeissnerRWTH@users.noreply.github.com> Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
- Loading branch information
1 parent
3d6eb74
commit 9bb19b6
Showing
6 changed files
with
147 additions
and
11 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
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
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