Skip to content
ml-recall

#flattened-index

1 question from PyTorch

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Short answer

easyAI-checkedPyTorch
C = torch.tensor([[0.36, 0.47],
                  [0.52, 0.56]])
print(torch.argmax(C))

What number does torch.argmax(C) return?

a whole number