C2 Week 3 - Won't pass test with b initialized to zeros

Hi! Question about the lab for Course 2 Week 3, specifically initializing parameters (part 2.4). In the test script, it raises a “Use Glorot normal” assertion error when parameters are <=0, including the b values. Is there any reason we wouldn’t want to initialize b to arrays of zeros?

Hi, @jonervin.

Initializing the biases to zero is perfectly fine and very common, but not the only way to do it. Here’s a more detailed answer by @neurogeek.

Good luck with the rest of the assignment!

1 Like