Jazz Improvisation with LSTM Predict and sample

I have submitted my code, but the grader didn’t give me a full grade for 3rd exercise. The grader output is as below:
Code Cell UNQ_C3: Unexpected error (ValueError('operands could not be broadcast together with shapes (13,89) (13,90) ')) occurred during function check. We expected function predict_and_sample to return Test 3 failed. Please check that this function is defined properly.
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps.
This dependency may be the cause of the errors.
Is there any advice for me?

Hello @Mohammad_Khorshidi,

You received a very similar error as this thread, so I have the same suggestion for you that is also in that thread. Please check it out.


PS: I am going to move your thread to the DLS Course 5 category for you. Next time please post in the right category.