Skip to content
ml-recall

#keepdims

2 questions from PyTorch

Timed test

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

Take a test
Q 1 / 2Score 0 / 0

Question 1: Single choice

mediumAI-checkedPyTorch

What happens when the last line runs?

A = torch.arange(6, dtype=torch.float32).reshape(2, 3)
A / A.sum(axis=1)
Choose one option