Week 4 quiz

Week 4 quiz:
If L if the number of a neural network then dZ^{[L]} = A^{[L]} - Y. True or False?

My answer is False while the correct answer is True. I think the equation holds true only when the activation function is sigmoid. Am I wrong?

You’re right that it might not work out that way if sigmoid is not the activation function, but everything we’ve seen so far uses sigmoid, right? You’re thinking too far ahead. It is true for our purposes here based on everything we know so far.