32/32
Part 6 of 6 · What interviewers ask nextCheck yourself
Check yourself
5 questions
  1. 1.Your gradient check fails, and every analytic gradient is exactly 6 times its finite-difference value. The batch has 6 examples. What's the bug?

  2. 2.dlogits is (N, K) and already divided by N. Which line gives db2?

  3. 3.You write the ReLU backward as dh * (h >= 0), where h = np.maximum(pre, 0). What does it compute?

  4. 4.You forgot the ReLU mask entirely. Which of the practice tests fail?

  5. 5.You skip the max subtraction, and the test pushes the logits up to about 100,000. What comes back?

Now the problem this lesson builds to: 06 Backprop by hand: a two-layer MLP (NumPy)Practice it