TypeError: Value passed to parameter 'a' has DataType int64 not in list of allowed values: float16,
这是我在做多元线性回归时遇到的错误:这个也是数据类型类的错误;
解决办法就是把数据的类型转化之后就行的了,于‘TypeError: Input 'b' of 'MatMul' Op has type int64 that does not match type float32 of argument 'a'. ’这个错误类似;
详情参考这个博文:https://mp.csdn.net/postedit/80778525
posted on 2018-06-22 22:49 blueslichanghui 阅读(691) 评论(0) 收藏 举报
浙公网安备 33010602011771号