I was giving this quiz as part of Week 4 of Course 1 of Deep Learning Specialization and I came across this True/False question stating the following:
\quad If L is the number of layers in a neural network, then dZ^{[L]} = A^{[L]} - Y.
I marked this as False as this inherently assumed that the activation function of the last layer is sigmoid. Since there is no other information given about the neural network, I don’t think we can assume this.
Please correct me if I’m wrong.