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
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