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

BitArray slicing #1066

Open
rdragos opened this issue Apr 27, 2022 · 0 comments
Open

BitArray slicing #1066

rdragos opened this issue Apr 27, 2022 · 0 comments

Comments

@rdragos
Copy link
Contributor

rdragos commented Apr 27, 2022

Currently we only support slicing for HostRingTensor or native HostTensor.

This issue is relating to add support for slicing HostBitTensor(BitArray). One can solve it by borrowing the slicing implementation from ndarray and adapt it to BitArray or convert the BitArray to an ArrayBase, call the ndarray slice mechanism and then convert data back to BitArray.

The downside of the latter method is that it increases the memory footprint.

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

1 participant