Course 4 Week 1 The second programming assignments

[code removed - moderator]
Please tell me why this error happened

Here’s one bug:
A1 = tf.keras.layers.ReLU(Z1)
This calls the __init__ method with Z1 as a constructor argument.

In functional approach, you create an object and then invoke the __call__ by doing this:
A1 = tf.keras.layers.ReLU() (Z1)

Following the same suggestion, please fix A2 and F

This question has troubled me for many days. Thank you very much for your answer. I have learned some knowledge from you.