解決問題
AttributeError: module 'tensorflow' has no attribute 'mul'
解決思路
tf.mul已經在新版本中被移除,使用 tf.multiply 代替
解決方法
将
tf.mul(input1, input2)
改為
tf.multiply(input1, input2)
哈哈,大功告成!
AttributeError: module 'tensorflow' has no attribute 'mul'
tf.mul已經在新版本中被移除,使用 tf.multiply 代替
将
tf.mul(input1, input2)
改為
tf.multiply(input1, input2)
哈哈,大功告成!