tensorflow---之张量与常量做逻辑运算,数据类型必须一致

如下图所示:

在epochs上加入dtype = tf.float32即可,更改后:

猜你喜欢

转载自blog.csdn.net/zxyhhjs2017/article/details/82425387