Hello all,

I’m having a ‘AssertionError: Wrong expected output’ error for the # UNQ_C4

Things I have tried:

- idx

j = 1535 idx = 1535

j = 1536 idx = 0 - format of X and Y (j = 0 idx = 0)

X = [None, 20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19]

Y = [20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19, 0] - Restart kernel/Clear variable etc.

The output gives that:

Iteration: 0, Loss: 23.087336

Nkzxwtdmfqoeyhsqwasjkjvu

Kneb

Kzxwtdmfqoeyhsqwasjkjvu

Neb

Zxwtdmfqoeyhsqwasjkjvu

Eb

Xwtdmfqoeyhsqwasjkjvu

which means that it has smaller loss at first iteration than the reference answer at iteration 22000:

Iteration: 22000, Loss: 40.504758

What could be the reason causing this problem?

loss function is provided in rnn_forward in this case, and the previous tests are all passed so the input is correct as well…

Thanks for hints/help!

Update: when I submitted my code, I got a 100/100…