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?