Sequence models week 1 assignment 1 error

I keep getting this error over and over again:

ValueError: shapes (5,5) and (3,10) not aligned: 5 (dim 1) != 3 (dim 0)

If someone could help me figure out the issue it would be much appreciated!

nvm problem solved I had mixed up a_next and x[:,:,t]

It’s great that you were able to find the solution through your own thinking! For future reference, note that you filed this under General Discussion. You’ll have a better chance of getting a timely answer if you file things under the specific category, which I’m guessing is DLS Course 5 in this case.

1 Like