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

#tf-data Re-use GlobalShuffleIterator for the Bag dataset. #64248

Merged
merged 1 commit into from
Mar 23, 2024

Conversation

copybara-service[bot]
Copy link

#tf-data Re-use GlobalShuffleIterator for the Bag dataset.

Added an AnyContext class for use cases that need to pass
in either an OpKernelContext or IteratorContext.

For the BagDataset::Get, it needs to access ctx.allocator
from either OpKernelContext or IteratorContext.

Added an `AnyContext` class for use cases that need to pass
in either an `OpKernelContext` or `IteratorContext`.

For the `BagDataset::Get`, it needs to access `ctx.allocator`
from either `OpKernelContext` or `IteratorContext`.

PiperOrigin-RevId: 618331917
@copybara-service copybara-service bot merged commit 51871ec into master Mar 23, 2024
@copybara-service copybara-service bot deleted the exported_pr_618009518 branch March 23, 2024 01:14
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.

None yet

1 participant