Question 1: Short answer
mediumAI-checkedPyTorchWhat is the shape of c?
a = torch.arange(8).reshape(2, 1, 4)
b = torch.arange(3).reshape(3, 1)
c = a + b15 questions from PyTorch, NumPy
15 questions · 15 min · score and explanations at the end
What is the shape of c?
a = torch.arange(8).reshape(2, 1, 4)
b = torch.arange(3).reshape(3, 1)
c = a + b