In week 3 coding assignmnet, in order to pass the first test associated with just the function layer_sizes(), you must hardcode n_x=5, n_h=4
, n_y=2. However, to get the function nn_model() to work, the sizes hard coded in must be n_x=2, n_h=4
, n_y=1. Therefore, I can only make one of these functions work at a time, and the grader is giving me 0/100. I think the template code is erroneous in that it I must assign the layer sizes 5,4,2, when this is clearly not the network we’re using. Could someone either fix the template or tell me what I may have done wrong?