简单来说就是求平均数。比如以下的三种简单情况:import torchx1 = torch.Tensor([1, 2, 3, 4])x2 = torch.Tensor([[1], [2], [3], [4]])x3 = torch.
確定! 回上一頁