Skip to content

Commit c93aa2a

Browse files
tink2123shanyi15
authored andcommitted
Update programming_guide.md (#493)
1 parent fada785 commit c93aa2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/fluid/beginners_guide/programming_guide/programming_guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ a = fluid.layers.data(name="a",shape=[3,4],dtype='int64')
6262

6363
#若图片的宽度和高度在运行时可变,将宽度和高度定义为None。
6464
#shape的三个维度含义分别是:channel、图片的宽度、图片的高度
65-
b = fluid.layers.data(name="image",shape=[3,None,None],dtpye="float32")
65+
b = fluid.layers.data(name="image",shape=[3,None,None],dtype="float32")
6666
```
6767

68-
其中,dtpye=“int64”表示有符号64位整数数据类型,更多Fluid目前支持的数据类型请查看:[Fluid目前支持的数据类型](../../user_guides/howto/prepare_data/feeding_data.html#fluid)
68+
其中,dtype=“int64”表示有符号64位整数数据类型,更多Fluid目前支持的数据类型请查看:[Fluid目前支持的数据类型](../../user_guides/howto/prepare_data/feeding_data.html#fluid)
6969

7070
**3. 常量 Tensor**
7171

0 commit comments

Comments
 (0)