Question 1
What will be the output of the following PyTorch code?
29
43
48
53
What will be the output of the following PyTorch code?
29
43
48
53
Consider the following code snippet:
What will be printed?
torch.Size([5, 1, 3, 1]), torch.Size([5, 3,1])
torch.Size([1, 5, 1, 3, 1]), torch.Size([5, 3,1])
torch.Size([5, 1, 3, 1]), torch.Size([5, 3])
torch.Size([5, 3]), torch.Size([5, 3])
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?



Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.
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 (T1 2026), set 2: 22 questions for 52 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.
| Feature | Deep Learning and GenAI Quiz 1 15 Mar 2026 Set 2 at a glance |
|---|---|
| Term | January 2026 term (T1 2026) |
| Subject | Introduction to Deep Learning and Generative AI |
| Course code | BSDA2001 |
| Questions | 22 |
| Marks | 52 |
| Duration | 120 min |
| MCQ | 17 |
| Numerical | 3 |
| MSQ | 2 |
| Official paper | Introduction To Deep Learning And Generative Ai 15 Mar 26 |
| Negative marking | No negative marking. |
| Updated |