Pytorch模型定义报错:TypeError: new() received an invalid combination of arguments-got(float, int)
Pytorch定义网络结构的时候出错:TypeError: new() received an invalid combination of arguments - got (float, int), but expected one of:问题分析首先,我的错误复现:>>> import torch.nn as nn>>> fc1 = nn.Linea...
原创
2018-12-20 11:53:27 ·
58621 阅读 ·
14 评论