Extend ArrowNativeType
to support more types convertion
#6492
Labels
question
Further information is requested
ArrowNativeType
to support more types convertion
#6492
hi, we are developing a
Tensor
struct out ofScalarBuffer
in here: https://github.com/kornia/kornia-rs/blob/main/crates/kornia-core/src/storage.rs#L52 for cv and dl purposes.For some use cases we have, we need to be able to extend the supported types by
arrow_buffer::ArrowNativeType
to things likeScalarBuffer<[u8; 3]>
(and other similar) in order to speed up transform operations with special types of images.Is there any way to achieve that ? We understand the point around arrow-rs and safety but as users we might need some more flexibility. We just switched from
ndarray
to use our arrow based tensor as we have plans also to support different backends (cuda, wgpu, etc) but we are facing this unfortunate constraints. Any help would be appreciated as we really like the project and would like to stick to it as much as possible.The text was updated successfully, but these errors were encountered: