未验证 提交 8b8530c5 编写于 作者: J juncaipeng 提交者: GitHub

fix chain doc, test=develop, test=document_preview (#22070) (#22428)

* fix chain doc, test=develop, test=document_preview
上级 be528bf2
......@@ -151,7 +151,8 @@ def shuffle(reader, buf_size):
def chain(*readers):
"""
Use the input data readers to create a chained data reader. The new created reader
chains the outputs of input readers together as its output.
chains the outputs of input readers together as its output, and it do not change
the format of the outputs.
**Note**:
``paddle.reader.chain`` is the alias of ``paddle.fluid.io.chain``, and
......@@ -162,7 +163,7 @@ def chain(*readers):
[10, 10, 10],
[20, 20, 20].
The chained reader will output:
[[0, 0, 0], [10, 10, 10], [20, 20, 20]].
[0, 0, 0], [10, 10, 10], [20, 20, 20].
Args:
readers(list): input data readers.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册