GATE DA 2025 · Question 42 · Machine Learning · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Consider the neural network shown in the figure with
inputs: u, v
weights: a, b, c, d, e, f
output: y
R denotes the ReLU function, R(x) = max(0, x).
Given u = 2, v = 3,
a = 1, b = 1, c = 1, d = -1, e = 4, f = -1,
which one of the following is correct?

A feed-forward neural network with two input nodes u (top left) and v (bottom left), two hidden ReLU nodes labelled R (top and bottom, middle column), and one output ReLU node labelled R (right) whose arrow leads to output y. Edges: u to top hidden R with weight a; v to top hidden R with weight b; u to bottom hidden R with weight c; v to bottom hidden R with weight d (the b and c edges cross). Top hidden R to output R with weight e; bottom hidden R to output R with weight f. Output R arrow to y.
  1. (A) (∂ y)/(∂ a) = 8, (∂ y)/(∂ f) = 0
  2. (B) (∂ y)/(∂ a) = 1, (∂ y)/(∂ f) = 0
  3. (C) (∂ y)/(∂ a) = 1, (∂ y)/(∂ f) = -1
  4. (D) (∂ y)/(∂ a) = 2, (∂ y)/(∂ f) = -1
Answer

Answer (A)

Answer from the official GATE DA 2025 answer key.

The step-by-step solution, where available, is part of GATE DA Pro. See what Pro includes