We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://pytorch.org/data/0.6/generated/torchdata.datapipes.iter.MultiplexerLongest.html#torchdata.datapipes.iter.MultiplexerLongest
The snippet in the docs
>>> from torchdata.datapipes.iter import IterableWrapper >>> dp1, dp2, dp3 = IterableWrapper(range(5)), IterableWrapper(range(10, 15)), IterableWrapper(range(20, 25)) >>> list(dp1.mux_longest(dp2, dp3)) [0, 10, 20, 1, 11, 21, 2, 12, 22, 3, 13, 23, 4, 14, 24]
The three input datapipes all have the same length so the example doesn't show why this is different than Multiplexer.
Change the example so that one input datapipe is shorter in order to show why this is different than Multiplexer
The text was updated successfully, but these errors were encountered:
No branches or pull requests
📚 The doc issue
https://pytorch.org/data/0.6/generated/torchdata.datapipes.iter.MultiplexerLongest.html#torchdata.datapipes.iter.MultiplexerLongest
The snippet in the docs
The three input datapipes all have the same length so the example doesn't show why this is different than Multiplexer.
Suggest a potential alternative/fix
Change the example so that one input datapipe is shorter in order to show why this is different than Multiplexer
The text was updated successfully, but these errors were encountered: