Skip to content
ml-recall

#broadcasting

15 questions from PyTorch, NumPy

Timed test

15 questions · 15 min · score and explanations at the end

Take a test
Q 1 / 15Score 0 / 0

Question 1: Short answer

mediumAI-checkedPyTorch

What is the shape of c?

a = torch.arange(8).reshape(2, 1, 4)
b = torch.arange(3).reshape(3, 1)
c = a + b

Three dimensions in order, e.g. (5, 6, 7)