I’m having trouble understanding the instructions for Exercise 6. Are we supposed to substitute n_x, n_y with X_multi_norm, Y_multi_norm in Section 2? When I do that, nothing changes. Or are we supposed to hardcode X.shape(2, m)? Or none of the above??


Hello @Rod_Bennett

  • n_x: the size of the input layer X input dataset of shape (input size, number of examples)
  • n_y: the size of the output layer Y labels of shape (output size, number of examples)

So you should have something like

n_x = X.shape[_]

Hope that helps