C1 W4 Assignment #1

dA0 = [[ 0.01969098 -0.12970306]
[ 0.09890728 -0.22545732]
[ 0.1304364 -0.31335009]
[ 0.03215356 0.01532388]]
dA1 = [[ 0.12913162 -0.44014127]
[-0.14175655 0.48317296]
[ 0.01663708 -0.05670698]]
dW1 = [[-0.38142895 -0.05436378 -0.12122851 -0.09345065]
[-0.36454443 -0.04886266 -0.11465667 -0.08859687]
[-0.36758766 -0.04958047 -0.11573455 -0.08940829]]
dW2 = [[-0.39202432 -0.13325855 -0.04601089]]
db1 = [[0.13978379]
[0.12259085]
[0.12471635]]
db2 = [[0.15187861]]
Error: Wrong output for variable dA0.
Error: Wrong output for variable dW1.
Error: Wrong output for variable db1.
2 Tests passed
1 Tests failed

I tried enough but couldn’t pass all the results and bug.
Please help me!

Sorry that we missed this when you first posted it. If you are still having problems here, please say which function this is. If it is the “update parameters” case, one thing to check is to make sure you are not using the in-place operator “-=” to do the updates. The grader does not accept that, because you end up modifying the global data that was passed in as an argument.