Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 PiperOrigin-RevId: 539677136
- Loading branch information