提交 2f8984b4 编写于 作者: T Travis CI

Deploy to GitHub Pages: 4feb5013

上级 07658199
......@@ -502,7 +502,7 @@ index that reader returns.</li>
<h2>Inference<a class="headerlink" href="#inference" title="Permalink to this headline"></a></h2>
<dl class="function">
<dt id="paddle.v2.infer">
<code class="descclassname">paddle.v2.</code><code class="descname">infer</code><span class="sig-paren">(</span><em>output</em>, <em>parameters</em>, <em>input=None</em>, <em>batch_size=None</em>, <em>reader=None</em>, <em>feeding=None</em>, <em>field='value'</em><span class="sig-paren">)</span><a class="headerlink" href="#paddle.v2.infer" title="Permalink to this definition"></a></dt>
<code class="descclassname">paddle.v2.</code><code class="descname">infer</code><span class="sig-paren">(</span><em>output_layer</em>, <em>parameters</em>, <em>input</em>, <em>feeding=None</em>, <em>field='value'</em><span class="sig-paren">)</span><a class="headerlink" href="#paddle.v2.infer" title="Permalink to this definition"></a></dt>
<dd><p>Infer a neural network by given neural network output and parameters. The
user should pass either a batch of input data or reader method.</p>
<p>Example usages:</p>
......@@ -516,14 +516,10 @@ user should pass either a batch of input data or reader method.</p>
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>output</strong> (<em>paddle.v2.config_base.Layer</em>) &#8211; output of the neural network that would be inferred</li>
<li><strong>output_layer</strong> (<em>paddle.v2.config_base.Layer</em>) &#8211; output of the neural network that would be inferred</li>
<li><strong>parameters</strong> (<a class="reference internal" href="#paddle.v2.parameters.Parameters" title="paddle.v2.parameters.Parameters"><em>paddle.v2.parameters.Parameters</em></a>) &#8211; parameters of the neural network.</li>
<li><strong>input</strong> (<em>collections.Iterable</em>) &#8211; input data batch. Should be a python iterable object, and each
element is the data batch.</li>
<li><strong>batch_size</strong> (<em>int</em>) &#8211; the batch size when perform inference. Default is the
length of input.</li>
<li><strong>reader</strong> (<em>callable</em>) &#8211; input data reader creator in batch. If this field is set, the
<cite>input</cite> and <cite>batch_size</cite> will be ignored.</li>
<li><strong>feeding</strong> &#8211; Reader dictionary. Default could generate from input
value.</li>
<li><strong>field</strong> (<em>str</em>) &#8211; The prediction field. It should in [<cite>value</cite>, <cite>ids</cite>]. <cite>value</cite>
......
此差异已折叠。
......@@ -509,7 +509,7 @@ index that reader returns.</li>
<h2>Inference<a class="headerlink" href="#inference" title="永久链接至标题"></a></h2>
<dl class="function">
<dt id="paddle.v2.infer">
<code class="descclassname">paddle.v2.</code><code class="descname">infer</code><span class="sig-paren">(</span><em>output</em>, <em>parameters</em>, <em>input=None</em>, <em>batch_size=None</em>, <em>reader=None</em>, <em>feeding=None</em>, <em>field='value'</em><span class="sig-paren">)</span><a class="headerlink" href="#paddle.v2.infer" title="永久链接至目标"></a></dt>
<code class="descclassname">paddle.v2.</code><code class="descname">infer</code><span class="sig-paren">(</span><em>output_layer</em>, <em>parameters</em>, <em>input</em>, <em>feeding=None</em>, <em>field='value'</em><span class="sig-paren">)</span><a class="headerlink" href="#paddle.v2.infer" title="永久链接至目标"></a></dt>
<dd><p>Infer a neural network by given neural network output and parameters. The
user should pass either a batch of input data or reader method.</p>
<p>Example usages:</p>
......@@ -523,14 +523,10 @@ user should pass either a batch of input data or reader method.</p>
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">参数:</th><td class="field-body"><ul class="first simple">
<li><strong>output</strong> (<em>paddle.v2.config_base.Layer</em>) &#8211; output of the neural network that would be inferred</li>
<li><strong>output_layer</strong> (<em>paddle.v2.config_base.Layer</em>) &#8211; output of the neural network that would be inferred</li>
<li><strong>parameters</strong> (<a class="reference internal" href="#paddle.v2.parameters.Parameters" title="paddle.v2.parameters.Parameters"><em>paddle.v2.parameters.Parameters</em></a>) &#8211; parameters of the neural network.</li>
<li><strong>input</strong> (<em>collections.Iterable</em>) &#8211; input data batch. Should be a python iterable object, and each
element is the data batch.</li>
<li><strong>batch_size</strong> (<em>int</em>) &#8211; the batch size when perform inference. Default is the
length of input.</li>
<li><strong>reader</strong> (<em>callable</em>) &#8211; input data reader creator in batch. If this field is set, the
<cite>input</cite> and <cite>batch_size</cite> will be ignored.</li>
<li><strong>feeding</strong> &#8211; Reader dictionary. Default could generate from input
value.</li>
<li><strong>field</strong> (<em>str</em>) &#8211; The prediction field. It should in [<cite>value</cite>, <cite>ids</cite>]. <cite>value</cite>
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册