Course 2 week 4 assignment exercise 4 incorrect b1 b2 gradients

instead of using mean(), I used sum and divided by batch_size, now I get correct results. I don’t understand why.

3 Likes