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

Hi,

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.

Best,
Mubsi

1 Like

Hi,

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

Thank you for the help!