Quellcode durchsuchen

Mul operation has been deprecated in Tensorflow 1.0.0

Ashish Baghudana vor 8 Jahren
Ursprung
Commit
0e9cf03ec7
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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: