Quiz Space

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

Question 4: You want to train a linear model using stochastic gradien…

Question 4

+2 marksOne correct option

You want to train a linear model using stochastic gradient descent (SGD). Assume that the loss function and training loop are implemented correctly. Which of the following model definitions will result in the weights being updated during training?

  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
Show answer

Correct answer

  • B
    Figure from the original question paper

Question 4 of 25 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. Q1THIS IS QUESTION PAPER FOR THE SUBJECT "DIPLOMA LEVEL : INTRODUCTION TO DEEP LEARNING AND GENERATIVE AI (COMPUTER BASED…
  2. Q2What will be the output of the following PyTorch code?
  3. Q3Consider the following code snippet: What will be printed?
  4. Q5Consider the following training loop: Which statement best describes the problem in this training loop?
  5. Q6You are given a dataset of 10 × 10 grayscale images. Your goal is to build a 5-class classifier. You have to adopt one …
  6. Q7An image contains 16 channels. Which of the following code snippets correctly creates a convolution layer for this imag…
  7. Q8Consider the following pytorch code to preprocess the FashionMNIST dataset. Which of the following hold true?
  8. Q9An input volume has shape 6x6x2 (height=6, width=6, depth=2 channels). Perform the following two steps on it. ● Step 1:…
  9. Q10In an Inception module, four parallel paths produce outputs of shapes: 28x28x64, 28x28x128, 28x28x32, and 28x28x32. Aft…
  10. Q11A CNN produces an output feature map of size 7x7x512, which is followed by Global Average Pooling (GAP) and then a full…
  11. Q12Consider the following code snippet: What will be printed?
  12. Q13A CNN uses three consecutive 3x3 convolution layers with stride 1 and no pooling. What is the receptive field of a neur…
  13. Q14An input feature map of size 32x32 is convolved using SAME padding in the following two independent cases: Case I: ● Fi…
  14. Q15Consider an input image of size 12x12x4. In the convolution layer a single filter of size 12 x 12 is passed to the imag…
  15. Q16A 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. Q17Consider the following CNN : Calculate the total number of parameters in the CNN.
  17. Q18Given the input , what is the output of the network?
  18. Q19Assume the target value is . Using Mean Squared Error (MSE) as the loss function, compute the numerical value of the lo…
  19. Q20For which of the following conditions on will the first neuron of the hidden layer not be activated ( )?
  20. Q21Consider the following fixed neural network implemented in PyTorch. Loss function used: Based on the above data, answer…
  21. Q22Consider the following fixed neural network implemented in PyTorch. Loss function used: Based on the above data, answer…
  22. Q23Consider the following fixed neural network implemented in PyTorch. Loss function used: Based on the above data, answer…
  23. Q24Consider the below neural network with fixed weights and answer the given subquestions:
  24. Q25Consider the following fixed neural network implemented in PyTorch. Loss function used: Based on the above data, answer…