Question 12
Consider the following tensor operation in pytorch:
What will be the output of the final print statement?
—
—
—
—
Consider the following tensor operation in pytorch:
What will be the output of the final print statement?
—
—
—
—
Correct answer
—
The video solution to this question is being recorded and will play here. Until then, the answer key is above.
Question 12 of 20 in the IIT Madras BS Introduction to Deep Learning and Generative AI (Deep Learning and GenAI) Quiz 1 paper sat on 19 Jul 2026, in the May 2026 term (Introduction To Deep Learning And Generative Ai 16 Jul 26). It carries 2 marks.