Question 1: Short answer
hardAI-checkedPyTorchS is square, so this code runs without an error. What is R[1, 0]? Round to 3 decimals.
S = torch.tensor([[1., 2, 3], [4, 5, 6], [7, 8, 9]])
R = S / S.sum(axis=1)2 questions from PyTorch
2 questions · 2 min · score and explanations at the end
S is square, so this code runs without an error. What is R[1, 0]? Round to 3 decimals.
S = torch.tensor([[1., 2, 3], [4, 5, 6], [7, 8, 9]])
R = S / S.sum(axis=1)