1.torch softmax计算出0错误:
import torch
entropy_softmax = torch.nn.Softmax(dim=0)
t = torch.tensor([ 1.4588, 6.8605, -12.9596, 0.9334, 20.7457, -6.9825, 1.0430,
35.1390, -5.0085, 11.4986, 14.0365, -24.9701, 9.1256, 15.3329,
-5.0959, 83.0129, -13.2779, -8.6666, -20.7425, 37.3073, -6.4893,
3.1912, -10.2705, 14.7957, -27.7156, -7.7740, 9.0226, 13.1010,
8.0412, 10.2651, -2.7498, -13.8532, -20.4291, -6.6348, 5.6659,
7.9520, -3.7167, <