24/32
Part 5 of 6 · Prove it with a gradient checkLearn

What each test sees

Here is what each test sees, from running every bug through the practice tests:

BugGradient checkHuge logitsTraining run
No division by Nfails, all 6xpassesfails, NaN
b2 averaged twicefails on b2passespasses, 98.3%
No ReLU maskfails on W1, b1passespasses, 98.3%
Mask from h >= 0fails on W1, b1passespasses, 98.3%
No max subtractionpassesfails, infpasses, 98.3%

The gradient check can't see overflow, so it needs the huge-logit test beside it.