-
Notifications
You must be signed in to change notification settings - Fork 314
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
Support Clone
elements in stack
and select
#269
Comments
This also applies to the |
To avoid uninitialized data issues, probably the simplest implementation would be to choose the iteration order and memory layout such that a For example, let's say you want to stack arrays
This approach isn't necessarily the fastest because the iteration order may not be ideal, but it's relatively straightforward and doesn't need any |
Clone
elements in stack
Clone
elements in stack
and select
Wondering if there's any movement on this -- I think this is blocking me. I'm using ndarray to hold tensors of non-"simple" values (i.e. things that don't implement |
Also FWIW, I could take a crack at implementing something! |
Let's get the #735 merged first (or base the work on that). Non-copy elements aren't all that simple, but jturner has a plan here, and it sounds like it's a good one. Non-copy elements have this trouble elsewhere: #797 (comment) |
Related issue to #249
The text was updated successfully, but these errors were encountered: