浏览代码

Merge pull request #130 from zycv/0.11

Fixed a bug with a function name spelling
Aymeric Damien 8 年之前
父节点
当前提交
ecf3e74499
共有 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.multiply(a, b)
 
 # Launch the default graph.
 with tf.Session() as sess: