-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 Sampler/SequenceSampler/RandomSampler #26375
Conversation
Thanks for your contribution! |
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
|
||
Args: | ||
data_source(Dataset): dataset to sample, this could be an | ||
instance of :code:`paddle.io.Dataset` other python |
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.
python -> Python
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!
PR types
New features
PR changes
APIs
Describe
paddle.io.Sampler
paddle.io.SequenceSampler
paddle.io.RandomSampler
paddle.io.BatchSampler
parameterindices
tosampler