Quiz Space

Introduction to Deep Learning and Generative AI · Quiz 1 · 15 Mar 2026 · January 2026 term · Set 2

Question 22: Consider the following fixed neural network implemented …

Question 22

+2 marksOne or more correct options

Consider the following fixed neural network implemented in PyTorch.

Loss function used: Based on the above data, answer the given subquestions.

Consider the following fixed neural network implemented in PyTorch.

Based on the hidden-layer weights and the output-layer weights, which of the following statements are correct?

Select all that apply.

  1. A

    Hidden neuron 0 produces larger activations when .

  2. B

    Hidden neuron 0 produces larger activations when .

  3. C

    Hidden neuron 1 produces larger activations when .

  4. D

    If the predicted class is 1, then the hidden neuron 0 is highly activated.

  5. E

    If the predicted class is 0, then the hidden neuron 0 is highly activated.

  6. F

    If the predicted class is 0, then the hidden neuron 1 is highly activated.

Show answer

Correct answers

  • A

    Hidden neuron 0 produces larger activations when .

  • C

    Hidden neuron 1 produces larger activations when .

  • D

    If the predicted class is 1, then the hidden neuron 0 is highly activated.

  • F

    If the predicted class is 0, then the hidden neuron 1 is highly activated.

Question 22 of 24 in the IIT Madras BS Introduction to Deep Learning and Generative AI (Deep Learning and GenAI) Quiz 1 paper sat on 15 Mar 2026, in the January 2026 term (Introduction To Deep Learning And Generative Ai 15 Mar 26). It carries 2 marks.

More questions from this paper

  1. Q1What will be the output of the following PyTorch code?
  2. Q2Consider the following code snippet: What will be printed?
  3. Q3You want to train a linear model using stochastic gradient descent (SGD). Assume that the loss function and training lo…
  4. Q4Consider the following training loop: Which statement best describes the problem in this training loop?
  5. Q5You are given a dataset of 10 × 10 grayscale images. Your goal is to build a 5-class classifier. You have to adopt one …
  6. Q6An image contains 16 channels. Which of the following code snippets correctly creates a convolution layer for this imag…
  7. Q7Consider the following pytorch code to preprocess the FashionMNIST dataset. Which of the following hold true?
  8. Q8An input volume has shape 6x6x2 (height=6, width=6, depth=2 channels). Perform the following two steps on it. ● Step 1:…
  9. Q9In an Inception module, four parallel paths produce outputs of shapes: 28x28x64, 28x28x128, 28x28x32, and 28x28x32. Aft…
  10. Q10A CNN produces an output feature map of size 7x7x512, which is followed by Global Average Pooling (GAP) and then a full…
  11. Q11Consider the following code snippet: What will be printed?
  12. Q12A CNN uses three consecutive 3x3 convolution layers with stride 1 and no pooling. What is the receptive field of a neur…
  13. Q13An input feature map of size 32x32 is convolved using SAME padding in the following two independent cases: Case I: ● Fi…
  14. Q14Consider an input image of size 12x12x4. In the convolution layer a single filter of size 12 x 12 is passed to the imag…
  15. Q15A hidden layer in the feed_forward network of a CNN contains 5 neurons labelled A,B,C,D,E. We apply dropout to this hid…
  16. Q16Consider the following CNN : Calculate the total number of parameters in the CNN.
  17. Q17Given the input , what is the output of the network?
  18. Q18Assume the target value is . Using Mean Squared Error (MSE) as the loss function, compute the numerical value of the lo…
  19. Q19For which of the following conditions on will the first neuron of the hidden layer not be activated ( )?
  20. Q20Consider the following fixed neural network implemented in PyTorch. Loss function used: Based on the above data, answer…
  21. Q21Consider the following fixed neural network implemented in PyTorch. Loss function used: Based on the above data, answer…
  22. Q23Consider the below neural network with fixed weights and answer the given subquestions:
  23. Q24Consider the following fixed neural network implemented in PyTorch. Loss function used: Based on the above data, answer…