Skip to content
ml-recall

#argmax

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: 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