Programming Assignment: Gradient Checking

Although when running the .ipynb everything runs correctly, I fail to pass the test during the submission

[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W1A3/Gradient_Checking.ipynb’
[ValidateApp | INFO] Executing notebook with kernel: python3
Tests failed on 2 cell(s)! These tests could be hidden. Please check your submission.

I cannot understand where the mistake could be.

What is the output you get from running the 1D gradient_check routine? There isn’t a very good test for that in the notebook. The correct output should be this:

Your backward propagation works perfectly fine! difference = 2.919335883291695e-10

If what you see is different from that, then that confirms the theory of where you bug is.