TensorFlow的错误

TypeError: Input ‘y’ of ‘Pow’ Op has type float64 that does not match type int32 of argument ‘x’.

这是由于赋值的常量要有小数点,
比如learning_rate = 1是会出现错误要写learning_rate=1.0

猜你喜欢

转载自blog.csdn.net/qq_27009517/article/details/86527735
今日推荐