Building your deep neural network - exercise 2

Hi,
I have a doubt. Why do we use double brackets for the bias term: np.zeros(( )) while we use only one for the weights: np.random.randn ( )?

{moderator edit - solution code removed}

Thank you
Prejith

From the definition of the np.zeros() function:

1 Like

Thank you