kvikio
kvikio copied to clipboard
A context for Codec `encode_batch` and `decode_batch`
Before proposing the new encode_batch
and decode_batch
API (https://github.com/rapidsai/kvikio/issues/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
Agreed, this would indeed be very valuable!
Closing this issue, I don't think we need this for Zarr V3