I am getting error in in output of gradient-check function and not getting the clue. Kindly help me to figure out mistake

{moderator edit - solution code removed}

1 Like

{moderator edit - solution code removed}

1 Like

That is normal as far as I can see. Your gradient checking logic successfully detected the fact that there are intentional bugs in the back prop logic. You should try fixing those bugs and running it again and you should get the other of the two possible answers that the assert in the test cell is checking for.

I don’t see any indication of error in your output.

2 Likes