-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
DataLoader support not auto collate batch #28425
DataLoader support not auto collate batch #28425
Conversation
Thanks for your contribution! |
886c19f
to
5c4d0ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Others LGTM
python/paddle/fluid/reader.py
Outdated
@@ -163,6 +163,21 @@ class DataLoader(object): | |||
|
|||
For :code:`batch_sampler` please see :code:`paddle.io.BatchSampler` | |||
|
|||
**Disable automatic batching** | |||
|
|||
In certain cases such as some NLP task, instead of automatic batching, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some task
-> some tasks
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
Function optimization
PR changes
APIs
Describe
DataLoader support not auto collating batch when
batch_size
is set asNone