C2_W3_Assignment - Exercise 4 - Implementing forward_propagation()

Hi guys, I have two days working in this section but I can not figure out what is the issue.

What is the mean of:

“The elements of the array A2 may be different depending on the initial parameters. If you would like to get exactly the same output, try to restart the Kernel and rerun the notebook”

Note: the other sections above this task passed all the tests!

Please, any help would be appreciated.

Thanks.
BR

Hey! Take a closer look at the parameters of multiplication for Z2.

Same here, i dont understand.

The mathematical formula for the “linear activation” at layer 2 is this:

Z2 = W2 \cdot A1 + b2

That’s not what the code shown above actually does. Then you apply sigmoid to Z2 to get A2.

2 Likes