码迷,mamicode.com
首页 > 其他好文 > 详细

TypeError: Value passed to parameter 'a' has DataType int64 not in list of allowed values: float16,

时间:2018-06-23 00:06:10      阅读:1532      评论:0      收藏:0      [点我收藏+]

标签:sed   类型   参考   线性回归   float   inpu   csdn   argument   详情   

这是我在做多元线性回归时遇到的错误:这个也是数据类型类的错误;

解决办法就是把数据的类型转化之后就行的了,于‘TypeError: Input ‘b‘ of ‘MatMul‘ Op has type int64 that does not match type float32 of argument ‘a‘. ’这个错误类似;

详情参考这个博文:https://mp.csdn.net/postedit/80778525

TypeError: Value passed to parameter 'a' has DataType int64 not in list of allowed values: float16,

标签:sed   类型   参考   线性回归   float   inpu   csdn   argument   详情   

原文地址:https://www.cnblogs.com/bluesl/p/9215762.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!