C1_W3_Assignment- Exercise 4

I keep on getting the same error, but everything else before has passed. Do parameters for X have to be set?
image

Hi @zg7 ,

X is one of the input arguments, which is set when the function forward_propagation() is called. So there is no need to set it within the function itself.
You have not mentioned what the error is?
Try refresh the kernel and rerun the code to see if error is still there.
from the kernel tab ->restart and clear all output
cell tab → run all above

1 Like