Gradient LabSign up free

Home / GATE DA / 2026 / Q.56

GATE DA 2026, Q.56: Weights in a 30-4-3-1 MLP without biases

Machine learningCounting network parameters2 marksNumerical answerFree

The question

A fully connected feed-forward network has no biases. Layers: input 30, hidden 4, hidden 3, output 1. How many learnable parameters?

Watch it solved

Solve it step by step

  1. Layer by layer. Each pair of consecutive layers contributes (size in × size out) weights.
  2. Sum. 30 × 4 + 4 × 3 + 3 × 1 = 120 + 12 + 3.
  3. Answer. 135.

Answer: 135

Official IIT Guwahati answer key: 135.

Common mistake. Adding biases (4 + 3 + 1 = 8 more, giving 143) when the question says there are none.

Remember. Dense layer weights = n_in × n_out (+ n_out if biases).

See it move

Learn the idea behind this question in the free animated lesson Multilayer networks, then The forward pass.

Want every question solved? The past-paper pack has all 195 questions from 2024, 2025 and 2026 for ₹499. The cheat sheet pack has 23 printable sheets for ₹399.

See the past-paper pack See the cheat sheets

Source: official GATE DA 2026 question paper and answer key (IIT Guwahati). The question is lightly reworded; every number and option is kept.