浏览代码

Merge pull request #122 from ashishbaghudana/master

Mul operation has been deprecated in Tensorflow 1.0.0
Aymeric Damien 8 年之前
父节点
当前提交
21220cab19
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/1_Introduction/basic_operations.py

+ 1 - 1
examples/1_Introduction/basic_operations.py

@@ -30,7 +30,7 @@ b = tf.placeholder(tf.int16)
 
 # Define some operations
 add = tf.add(a, b)
-mul = tf.mul(a, b)
+mul = tf.muliply(a, b)
 
 # Launch the default graph.
 with tf.Session() as sess: