DLS C4W2 Error: "Looks like the BatchNormalization units are not working"

You are using an older version of the notebook.
Here’s the new function signature:

# UNQ_C1
# GRADED FUNCTION: identity_block

def identity_block(X, f, filters, initializer=random_uniform):

Please follow these steps to refresh your workspace

Posting solution code in a public topic is discouraged and can get your account suspended. It’s okay to share stacktrace on a public post and send code to a mentor via direct message. Don’t forget to clean up the post.