-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly handle generators in Data.from_multiple (#2318)
Summary: Pull Request resolved: #2318 Since it previously looped through the input twice, it would consume the generator in the first pass and return empty data. Reviewed By: Balandat Differential Revision: D55723466 fbshipit-source-id: da77641218c1b0f8a13764893a937735d2d9c515
- Loading branch information
1 parent
032a4f0
commit 1b29a78
Showing
2 changed files
with
12 additions
and
9 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