didn't match because some of the arguments have invalid types: (Tensor, !Tensor!)
## Calculate the output of this network using matrix multiplication
d = torch.mm(features,weights.view(5,1))
print(type(d))
print(type(bias))
out = torch.sum(d,bias)
<class 'torch.Tensor'>
<class 'torch.Tensor'>
解决办法 sum ------>add 问题解决
## Calculate the output of this network using matrix multiplication
d = torch.mm(features,weights.view(5,1))
print(type(d))
print(type(bias))
out = torch.add(d,bias)
print(out)
print(d)
print(bias)