未验证 提交 c0398252 编写于 作者: J Jason 提交者: GitHub

Update Input.md

上级 7bab05c3
......@@ -63,8 +63,10 @@ layer{
``` python
# PaddlePaddle示例:
inputs1 = paddle.fluid.layers.data(name = 'data1', shape = [10,3,227,227], dtype = 'float32', append_batch_size = False)
# 数据shape为[10,3,227,227]
inputs2 = paddle.fluid.layers.data(name = 'data2', shape = [3,227,227], dtype = 'float32')
inputs1 = paddle.fluid.layers.data(name='data1', shape=[10,3,227,227],
dtype='float32', append_batch_size=False)
# 数据shape为[-1,3,227,227]
inputs2 = paddle.fluid.layers.data(name='data2', shape=[3,227,227], dtype='float32')
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册