Kaynağa Gözat

Merge pull request #122 from ashishbaghudana/master

Mul operation has been deprecated in Tensorflow 1.0.0
Aymeric Damien 8 yıl önce
ebeveyn
işleme
21220cab19
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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: