Hello,
Below error is observed after I entered the code, and executed it.
(Attached picture: Screen Shot 2023-10-10 at 10.54.26 PM.png)
Please assist in resolving the code.
Thanks.
The most obvious problem here is probably because you are not running all cells above, especially where the propagate_test function is defined! Thats your starting point.
Since I know this is from Deep Learning Specialisation, Course 1, I shall move the post there. Please be aware where you post your questions in the future, as this will allow the mentors of that specialisation reply to you promptly.
Yes, this is a public thread and you are not supposed to share your code here. If any mentor needs to check your code, that will be done in a private message.
Regarding your error, it says that your propagate function implementation is not correct. Notice that your cost value is different from the expected one. So, double-check how you implementing it.
Yes, notice that your cost value is much higher than the expected value. There are a number of possible reasons for that, but if you used the dot product with transposes, please have a look at this thread and consider whether that applies in your case.