Hello everyone, today I’m trying to do the exercice and I don’t know where is my mistake, I did this code:
{mentor edit: code removed - not allowed by the Honor Code}
and I have this error:
~/work/W1A2/utils.py in rnn_forward(X, Y, a0, parameters, vocab_size)
100
101 # Update the loss by substracting the cross-entropy term of this time-step from it.
→ 102 loss -= np.log(y_hat[t][Y[t],0])
103
104 cache = (y_hat, a, x)