-
Notifications
You must be signed in to change notification settings - Fork 185
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
MultiArray transposed + reshaped #11
Comments
What do you mean by NOT OK? |
@hollance all floats from variable "c" in wrong order. Only first float is OK. |
Can you share an example that reproduces this? |
@hollance thank you for your CoreMLHelpers! Yes, i can.
bbox_deltas output (from [0,0,0,0,0] to [0,0,0,0,9]): |
I verified that this goes wrong indeed. I'll look into it shortly. |
OK, here's what happens. The strides for array So instead, I don't have time to do this right now, but pull requests are welcome. ;-) I've added a failing test case for this issue. |
I've downgraded MultiArray to the status of "experimental code". :-) I've also added |
Hello!
a: MultyArray
Shape: 1 x 1 x 48 x 17 x 27 Strides: 22032 x 22032 x 459 x 27 x 1 - INPUT OK
b = a.transposed([0, 1 , 3, 4, 2])
Shape: 1 x 1 x 17 x 27 x 48 Strides: 22032 x 22032 x 27 x 1 x 459 - OK
c = b.reshaped([5508, 4])
Shape: 5508 x 4 Strides: 4 x 1 - NOT OK
The text was updated successfully, but these errors were encountered: