Skip to content
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

PR #18160: Use prefetch() after batching // image_dataset.py #18219

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

PR #18160: Use prefetch() after batching // image_dataset.py

Imported from GitHub PR #18160

I think it is better use prefetch() after batching. In a pipeline we would want the next batch ready (t+1) while processing current batch (t).
Copybara import of the project:

--
ac4c8ea by Kaan Bıçakcı [email protected]:

Move prefetch() to end

Merging this change closes #18160

FUTURE_COPYBARA_INTEGRATE_REVIEW=#18160 from Frightera:update_image_dataset ac4c8ea

Imported from GitHub PR #18160

I think it is better use `prefetch()` after batching. In a pipeline we would want the next batch ready (t+1) while processing current batch (t).
Copybara import of the project:

--
ac4c8ea by Kaan Bıçakcı <[email protected]>:

Move prefetch() to end

Merging this change closes #18160

FUTURE_COPYBARA_INTEGRATE_REVIEW=#18160 from Frightera:update_image_dataset ac4c8ea
PiperOrigin-RevId: 539677136
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant