Skip to content

Commit 29a4297

Browse files
committed
Merge pull request jikexueyuanwiki#147 from denverdino/master
Change tf.types.float32 to tf.float32
2 parents 9dd237e + aea500c commit 29a4297

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SOURCE/get_started/basic_usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ feed 只在调用它的方法内有效, 方法结束, feed 就会消失. 最常
242242

243243
```python
244244

245-
input1 = tf.placeholder(tf.types.float32)
246-
input2 = tf.placeholder(tf.types.float32)
245+
input1 = tf.placeholder(tf.float32)
246+
input2 = tf.placeholder(tf.float32)
247247
output = tf.mul(input1, input2)
248248

249249
with tf.Session() as sess:

0 commit comments

Comments
 (0)