The function call of propagate() in jupyter exercise notebook uses [[1, 1, 0]] for the value of Y, where as the propagate_test() in public_tests.py uses [[1, 0, 1]] for the same.
I think because of this I’m getting the following error,
AssertionError: Wrong values for grads['dw']. [[-0.00154399]
[-0.00492761]] != [[0.99845601]
[2.39507239]]
The correct value of dw as shown in the notebook is,
Expected output
dw = [[0.99845601]
[2.39507239]]
Can anyone please say am I correct or I have misunderstood something here?
In my notebook version this propagate_test is already fixed to use the same value, but seems that it checks our outputs against wrong values, derived with input [1,0,1].
So, there is still a bug in this function, but in a different place now
Hi, I don’t see that in the public_tests.py, I don’t know if these files have been recently updated but I see the right same values in both the notebook and the corresponding tests.
Thank you for replying me back. I have tried to complete my DLS week 2 course 1 assignment today, but now also the error has not been fixed in my notebook. It is showing similar error. All the previous tasks are pass but model function is not running till now also…
please help me out… the deadline for submission of the assignment is near… Thank you