torch.mul(a, b) 是矩阵a和b对应位相乘,a和b的维度必须相等。torch.mm(a, b) 是矩阵a和b矩阵相乘import torcha = torch.rand(1, 2)b = torch.rand(1, ...
確定! 回上一頁