We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello I have an MLMultiArray in shape (1, 64, 48, 26) that I need to transpose to shape (1, 26, 64, 48). How can I do it?
(1, 64, 48, 26)
(1, 26, 64, 48)
Equivalent python code:
import numpy as np arr = np.zeros(1*64*48*26).reshape((1, 64, 48, 26)) arr_transposed = arr.transpose((0,3,1,2))
Thanks
The text was updated successfully, but these errors were encountered:
It's already in the correct shape. You can ignore a dimension that is 1.
Sorry, something went wrong.
Sorry - I ment from (1, 64, 48, 26) to (1, 26, 64, 48). I updated the post.
Easiest way is to add a transpose / permute layer to the model at the end.
No branches or pull requests
Hello
I have an MLMultiArray in shape
(1, 64, 48, 26)
that I need to transpose to shape(1, 26, 64, 48)
.How can I do it?
Equivalent python code:
Thanks
The text was updated successfully, but these errors were encountered: