Course 5, Week 1, Improvise_a_Jazz_Solo_with_an_LSTM_Network_v4


I kept getting the same error. I tried many different solutions but I wasn’t able to fix it. Any help please.

This is the code that I was running

[code removed - moderator]

And I kept getting the same error like this

Thank you!!

Please look at comment above the invocation of LSTM_cell. You should make use of x to pass the value at the current timestep and not x0.