1>>> a = torch.randn(4, 4)
2>>> a
3tensor([[ 1.3398, 0.2663, -0.2686, 0.2450],
4 [-0.7401, -0.8805, -0.3402, -1.1936],
5 [ 0.4907, -1.3948, -1.0691, -0.3132],
6 [-1.6092, 0.5419, -0.2993, 0.3195]])
7>>> torch.argmax(a)
8tensor(0)
9