Week 4 - Exercise 5 (L_model_forward)

Hi there,

I am currently stuck on why the function gives the error. I have run L - 1 times for Relu. Then in the final step L, I apply the sigmoid function, using the value of A in L - 1 step generated in the for loop.

The code looks like so:
Moderator Edit: Solution code Removed.
What’s wrong?

Thank you

I found the solution. Just mixed the two characters while copying and pasting from the previous code.

Thanks

Good…
But please note that sharing your code is not allowed by the community code of conduct. So, avoid sharing your code…

Sorry for this. I was not aware of that.
Thank you.