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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to use custom padding (address issue #458) #489

Merged
merged 4 commits into from
Jun 17, 2020

Conversation

IgnacioJPickering
Copy link
Contributor

This adds an optional argument to collate_fn to add to address @plin1112 issue #458 and adds that to the documentation.

@IgnacioJPickering IgnacioJPickering changed the title Add possibility to use custom padding (address issue #458) Add possibility to use custom padding (address issue #458) [WIP] Jun 17, 2020
@IgnacioJPickering IgnacioJPickering changed the title Add possibility to use custom padding (address issue #458) [WIP] Add possibility to use custom padding (address issue #458) Jun 17, 2020
@@ -35,7 +35,11 @@
- `shuffle`
- `cache` cache the result of previous transformations.
- `collate` pad the dataset, convert it to tensor, and stack them
together to get a batch.
together to get a batch. Collat uses a default padding dictionary
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo Collat

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

Copy link
Contributor

@zasdfgbnm zasdfgbnm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the typo, and then it will be good.

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

Successfully merging this pull request may close these issues.

2 participants