TypeError: transpose permutation isn't a permutation of operand dimensions, got permutation (3, 2, 2, 3) for operand shape (3, 2, 2, 3)


I keep getting the following error after implementing my jnp.transpose function. This error does not seem to make much sense to me. I have tried to follow the instructions but I can’t get passed this error.

Do you know what could be wrong?

Hi @danieldacruz7,

in your Ex 2, your reshaping dimensions for x are incorrect.


1 Like


I guess you should check your current and target dimensions again.

Thank you for the help!