The output of my L_model_forward is the same as the expected output, but not all the tests are passing. I am confused because if the expected output is the same as my output then the function must have ran correctly but all of the test cases are not passing. Please advice.


I also tried debugging by printing the shapes of each A value in the for loop, and they match with what should be expected, but I am still not passing all tests.