소스 검색

Mul operation has been deprecated in Tensorflow 1.0.0

Ashish Baghudana 8 년 전
부모
커밋
0e9cf03ec7
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: