GATE DA 2026 · Multi-Layer Perceptron & Feed-Forward Neural Networks

NAT · 2 marks · Problem ML-NNET-0009

Consider a fully-connected feed-forward multi-layer perceptron. It has \(30\) neurons in the input layer, followed by two hidden layers and an output layer. The first hidden layer has \(4\) neurons and the second hidden layer has \(3\) neurons. The output layer has only one neuron. Assume that no bias parameters are used. The number of learnable parameters in the multi-layer perceptron is . (Answer in integer)

Numerical answer (NAT).

Solve it on GATE DA practice →More Model Validation & Neural Networks problems

Show the worked solution\[\boxed{\#\text{weights (no biases)}=\sum_{\ell}n_{\ell-1}\,n_{\ell}}\]Input (\(30\)) \(\to\) Hidden 1 (\(4\)): \(30\times4=120\)Hidden 1 (\(4\)) \(\to\) Hidden 2 (\(3\)): \(4\times3=12\)Hidden 2 (\(3\)) \(\to\) Output (\(1\)): \(3\times1=3\)Total \(=120+12+3=135\). (With a bias at every hidden and output unit it would be \(135+4+3+1=143\).)Answer: 135

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com