W2 A1: Batch Normalization not working


I am unable to find the error in this piece of code. What might be the bug ?

I see from inspecting the path for the public_tests.py file that this is for Week 2 Assignment 1.
In the future, it would be helpful if you include that information in your thread.

I have edited the thread title to add “W2 A1”.

Things to check in identity_block():

  • Are you using the correct axis values (when needed)?
  • Did you pass the correct data to the BatchNormalization() layer?


Now it’s this that’s bothering me

In the Conv2D(…) layers, do you have the correct padding and strides?

Yes and I finally managed to do it. Thanks for your time !!