-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add split argument to Generator (#7015)
* add split argument to Generator, from_generator, AbstractDatasetInputStream, GeneratorDatasetInputStream * split generator review feedbacks * import Split * tag added version in iterable_dataset, rollback change in _concatenate_iterable_datasets * rm useless Generator __init__ * docstring formatting Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> * format docstring Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> * fix test_dataset_from_generator_split[None] --------- Co-authored-by: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com>
- Loading branch information
1 parent
be69bdd
commit ed5f21e
Showing
5 changed files
with
39 additions
and
12 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