阅读背景:

Message=Expected object of scalar type Long but got scalar type Float for argument #3 ‘mat2‘ in c_absxyz19931021的博客

来源:互联网 

在深度学习框架pytorch入门与实践的代码中 

因为版本问题在   y_pred =x.mm(w)+b.expand_as(y)这句话出现报错因为版本问题在   




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: