Practice free →
HomeClaudeaifoundationsmlp_and_activations › The derivative of the ReLU function is

The derivative of the ReLU function is

AAlways equal to 1 for all real x
BEqual to sigmoid(x) at every point
C1 if x > 0 and 0 if x < 0
DAlways equal to ReLU(x) itself
Answer & Solution
Correct answer: C. 1 if x > 0 and 0 if x < 0
d/dx ReLU(x) is 0 for x < 0 and 1 for x > 0. At x = 0 the derivative is technically undefined; in practice the left-hand value of 0 is used.
Solve this in the app — Claude practice & 24k+ MCQs →
Related questions