Переглянути джерело

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: