-
Notifications
You must be signed in to change notification settings - Fork 2.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
added from_generator method to IterableDataset class. #5052
added from_generator method to IterableDataset class. #5052
Conversation
The documentation is not available anymore as the PR was closed or merged. |
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.
Great job, thanks!
Besides my comment below, we also need a test (let me know if you need help with that), and then we can merge.
I added a test and moved the @hamid-vakilzadeh Are you OK with these changes? |
@mariosasko these all look great! Thanks for the updates. |
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.
Love it ! Thanks :)
Hello,
This resolves issues #4988.
I added a method
from_generator
to classIterableDataset
.I modified the
read
method of input stream generator to also return Iterable_dataset.