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
rebatch
Resulting dataset will not have self.dataset.
self.dataset
Working example:
ppl = Dataset(10).p.load(src=np.arange(10), dst='comp').rebatch(2).print(B.comp) ppl.run(3, bar=True)
Another one:
ppl = Pipeline().load(src=np.arange(10), dst='comp') ppl += Pipeline().rebatch(2).print(B.comp) (ppl << Dataset(10)).run(3, bar=True)
Fails:
ppl = Pipeline().load(src=np.arange(10), dst='comp') << Dataset(10) ppl += Pipeline().rebatch(2).print(B.comp) ppl.run(3, bar=True)
The problem is that from_pipeline doesn't copy dataset.
from_pipeline
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Resulting dataset will not have
self.dataset
.Working example:
Another one:
Fails:
The problem is that
from_pipeline
doesn't copy dataset.The text was updated successfully, but these errors were encountered: