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

A context for Codec encode_batch and decode_batch #251

Closed
madsbk opened this issue Jun 29, 2023 · 2 comments
Closed

A context for Codec encode_batch and decode_batch #251

madsbk opened this issue Jun 29, 2023 · 2 comments

Comments

@madsbk
Copy link
Member

madsbk commented Jun 29, 2023

Before proposing the new encode_batch and decode_batch API (#248) to numcodecs Codec, I think we should introduce a new context argument similar to Zarr's Context.

This way, we can use the meta_array option to specify the output memory type of encode_batch and decode_batch.

cc. @Alexey-Kamenev

@akshaysubr
Copy link

Agreed, this would indeed be very valuable!

@madsbk madsbk closed this as completed Jun 26, 2024
@madsbk
Copy link
Member Author

madsbk commented Jun 26, 2024

Closing this issue, I don't think we need this for Zarr V3

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

No branches or pull requests

2 participants