We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71a8e1b commit 3eaab3fCopy full SHA for 3eaab3f
python/paddle/fluid/layers/io.py
@@ -56,7 +56,10 @@ def data(name,
56
57
Args:
58
name(str): The name/alias of the function
59
- shape(list): Tuple declaring the shape.
+ shape(list): Tuple declaring the shape. If :code:`append_batch_size` is
60
+ True and there is no -1 inside :code:`shape`, it should be
61
+ considered as the shape of the each sample. Otherwise, it
62
+ should be considered as the shape of the batched data.
63
append_batch_size(bool):
64
1. If true, it prepends -1 to the shape.
65
For example if shape=[1], the resulting shape is [-1, 1].
0 commit comments