提交 2762ef70 编写于 作者: T Travis CI

Deploy to GitHub Pages: f2e6b99a

上级 23d016da
...@@ -760,7 +760,7 @@ is determined by argument buf_size.</p> ...@@ -760,7 +760,7 @@ is determined by argument buf_size.</p>
<dl class="function"> <dl class="function">
<dt> <dt>
<code class="descclassname">paddle.v2.reader.</code><code class="descname">xmap_readers</code><span class="sig-paren">(</span><em>mapper</em>, <em>reader</em>, <em>process_num</em>, <em>buffer_size</em><span class="sig-paren">)</span></dt> <code class="descclassname">paddle.v2.reader.</code><code class="descname">xmap_readers</code><span class="sig-paren">(</span><em>mapper</em>, <em>reader</em>, <em>process_num</em>, <em>buffer_size</em>, <em>order=False</em><span class="sig-paren">)</span></dt>
<dd><p>Use multiprocess to map samples from reader by a mapper defined by user. <dd><p>Use multiprocess to map samples from reader by a mapper defined by user.
And this function contains a buffered decorator. And this function contains a buffered decorator.
:param mapper: a function to map sample. :param mapper: a function to map sample.
...@@ -771,6 +771,8 @@ And this function contains a buffered decorator. ...@@ -771,6 +771,8 @@ And this function contains a buffered decorator.
:type process_num: int :type process_num: int
:param buffer_size: max buffer size :param buffer_size: max buffer size
:type buffer_size: int :type buffer_size: int
:param order: keep the order of reader
:type order: bool
:return: the decarated reader :return: the decarated reader
:rtype: callable</p> :rtype: callable</p>
</dd></dl> </dd></dl>
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
...@@ -765,7 +765,7 @@ is determined by argument buf_size.</p> ...@@ -765,7 +765,7 @@ is determined by argument buf_size.</p>
<dl class="function"> <dl class="function">
<dt> <dt>
<code class="descclassname">paddle.v2.reader.</code><code class="descname">xmap_readers</code><span class="sig-paren">(</span><em>mapper</em>, <em>reader</em>, <em>process_num</em>, <em>buffer_size</em><span class="sig-paren">)</span></dt> <code class="descclassname">paddle.v2.reader.</code><code class="descname">xmap_readers</code><span class="sig-paren">(</span><em>mapper</em>, <em>reader</em>, <em>process_num</em>, <em>buffer_size</em>, <em>order=False</em><span class="sig-paren">)</span></dt>
<dd><p>Use multiprocess to map samples from reader by a mapper defined by user. <dd><p>Use multiprocess to map samples from reader by a mapper defined by user.
And this function contains a buffered decorator. And this function contains a buffered decorator.
:param mapper: a function to map sample. :param mapper: a function to map sample.
...@@ -776,6 +776,8 @@ And this function contains a buffered decorator. ...@@ -776,6 +776,8 @@ And this function contains a buffered decorator.
:type process_num: int :type process_num: int
:param buffer_size: max buffer size :param buffer_size: max buffer size
:type buffer_size: int :type buffer_size: int
:param order: keep the order of reader
:type order: bool
:return: the decarated reader :return: the decarated reader
:rtype: callable</p> :rtype: callable</p>
</dd></dl> </dd></dl>
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册