Skip to content
ml-recall

#indexing

3 questions from PyTorch, NumPy

Timed test

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

Take a test
Q 1 / 3Score 0 / 0

Question 1: Single choice

mediumAI-checkedPyTorch

A, B and C are tensors of shape (100, 200), and X = torch.stack([A, B, C], dim=2). What is X.shape, and which expression returns B?

Choose one option