提交 22760801 编写于 作者: T Travis CI

Deploy to GitHub Pages: ab86711a

上级 f5e5baf7
......@@ -179,7 +179,7 @@ The four data types are:
* :code:`dense_vector`: dense float vector.
* :code:`sparse_binary_vector`: sparse binary vector, most of the value is 0, and
the non zero elements are fixed to 1.
* :code:`sparse_float_vector`: sparse float vector, most of the value is 0, and some
* :code:`sparse_vector`: sparse float vector, most of the value is 0, and some
non zero elements can be any float value. They are given by the user.
* :code:`integer`: an integer scalar, that is especially used for label or word index.
......@@ -200,7 +200,7 @@ in the above table.
+----------------------+---------------------+-----------------------------------+------------------------------------------------+
| sparse_binary_vector | [i, i, ...] | [[i, ...], [i, ...], ...] | [[[i, ...], ...], [[i, ...], ...],...] |
+----------------------+---------------------+-----------------------------------+------------------------------------------------+
| sparse_float_vector | [(i,f), (i,f), ...] | [[(i,f), ...], [(i,f), ...], ...] | [[[(i,f), ...], ...], [[(i,f), ...], ...],...] |
| sparse_vector | [(i,f), (i,f), ...] | [[(i,f), ...], [(i,f), ...], ...] | [[[(i,f), ...], ...], [[(i,f), ...], ...],...] |
+----------------------+---------------------+-----------------------------------+------------------------------------------------+
| integer_value | i | [i, i, ...] | [[i, ...], [i, ...], ...] |
+----------------------+---------------------+-----------------------------------+------------------------------------------------+
......
......@@ -7,7 +7,7 @@
## API Reference
* [Model Config Interface](api/trainer_config_helpers/index.md)
* [Model Config Interface](api/trainer_config_helpers/index.rst)
## Command Line Argument
......
......@@ -30,7 +30,7 @@
<link rel="search" title="Search" href="../search.html" />
<link rel="top" title="PaddlePaddle documentation" href="../index.html" />
<link rel="next" title="Image Classification Tutorial" href="image_classification/index.html" />
<link rel="prev" title="Parameter and Extra Layer Attribute" href="../ui/api/trainer_config_helpers/attrs.html" />
<link rel="prev" title="Python Prediction API" href="../ui/predict/swig_py_paddle_en.html" />
<script>
var _hmt = _hmt || [];
(function() {
......@@ -56,7 +56,7 @@ var _hmt = _hmt || [];
<a href="image_classification/index.html" title="Image Classification Tutorial"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="../ui/api/trainer_config_helpers/attrs.html" title="Parameter and Extra Layer Attribute"
<a href="../ui/predict/swig_py_paddle_en.html" title="Python Prediction API"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">PaddlePaddle documentation</a> &#187;</li>
</ul>
......@@ -126,8 +126,8 @@ var _hmt = _hmt || [];
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="../ui/api/trainer_config_helpers/attrs.html"
title="previous chapter">Parameter and Extra Layer Attribute</a></p>
<p class="topless"><a href="../ui/predict/swig_py_paddle_en.html"
title="previous chapter">Python Prediction API</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="image_classification/index.html"
title="next chapter">Image Classification Tutorial</a></p>
......@@ -165,7 +165,7 @@ var _hmt = _hmt || [];
<a href="image_classification/index.html" title="Image Classification Tutorial"
>next</a> |</li>
<li class="right" >
<a href="../ui/api/trainer_config_helpers/attrs.html" title="Parameter and Extra Layer Attribute"
<a href="../ui/predict/swig_py_paddle_en.html" title="Python Prediction API"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">PaddlePaddle documentation</a> &#187;</li>
</ul>
......
......@@ -238,17 +238,15 @@ python config_generator.py config.json &gt; meta_config.json
</pre></div>
</div>
<p>There are two kinds of features in meta: movie and user.</p>
<ul>
<ul class="simple">
<li><dl class="first docutils">
<dt>in movie file, whose name is movies.dat</dt>
<dd><ul class="first last">
<li><p class="first">we just split each line by &#8221;::&#8221;</p>
</li>
<li><p class="first">pos 0 is id.</p>
</li>
<li>we just split each line by &#8221;::&#8221;</li>
<li>pos 0 is id.</li>
<li><dl class="first docutils">
<dt>pos 1 feature:</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>name is title.</li>
<li>it uses regex to parse this feature.</li>
<li>it is a char based word embedding feature.</li>
......@@ -259,7 +257,7 @@ python config_generator.py config.json &gt; meta_config.json
</li>
<li><dl class="first docutils">
<dt>pos 2 feature:</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>name is genres.</li>
<li>type is one hot dense vector.</li>
<li>dictionary is auto generated by parsing, each key is split by &#8216;|&#8217;</li>
......@@ -274,13 +272,11 @@ python config_generator.py config.json &gt; meta_config.json
<li><dl class="first docutils">
<dt>in user file, whose name is users.dat</dt>
<dd><ul class="first last">
<li><p class="first">we just split each line by &#8221;::&#8221;</p>
</li>
<li><p class="first">pos 0 is id.</p>
</li>
<li>we just split each line by &#8221;::&#8221;</li>
<li>pos 0 is id.</li>
<li><dl class="first docutils">
<dt>pos 1 feature:</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>name is gender</li>
<li>just simple char based embedding.</li>
</ul>
......@@ -289,7 +285,7 @@ python config_generator.py config.json &gt; meta_config.json
</li>
<li><dl class="first docutils">
<dt>pos 2 feature:</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>name is age</li>
<li>just whole word embedding.</li>
<li>embedding id will be sort by word.</li>
......@@ -299,7 +295,7 @@ python config_generator.py config.json &gt; meta_config.json
</li>
<li><dl class="first docutils">
<dt>pos 3 feature:</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>name is occupation.</li>
<li>just simple whole word embedding.</li>
</ul>
......@@ -485,12 +481,11 @@ cp ml-1m/ratings.dat.test .
</div>
<p>In this <code class="code docutils literal"><span class="pre">trainer_config.py</span></code>, we just map each feature type to
a feature vector, following shows how to map each feature to a vector shows below.</p>
<ul>
<li><p class="first"><code class="code docutils literal"><span class="pre">id</span></code>: Just simple embedding, and then add to fully connected layer.</p>
</li>
<ul class="simple">
<li><code class="code docutils literal"><span class="pre">id</span></code>: Just simple embedding, and then add to fully connected layer.</li>
<li><dl class="first docutils">
<dt><code class="code docutils literal"><span class="pre">embedding</span></code>:</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>if is_sequence, get the embedding and do a text convolutional operation,
get the average pooling result.</li>
<li>if not sequence, get the embedding and add to fully connected layer.</li>
......@@ -500,7 +495,7 @@ get the average pooling result.</li>
</li>
<li><dl class="first docutils">
<dt><code class="code docutils literal"><span class="pre">one_host_dense</span></code>:</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>just two fully connected layer.</li>
</ul>
</dd>
......
......@@ -301,10 +301,10 @@ Fully connected layer takes a dense input vector with dimension <span class="mat
<h1>Write Gradient Check Unit Test<a class="headerlink" href="#write-gradient-check-unit-test" title="Permalink to this headline"></a></h1>
<p>An easy way to verify the correctness of new layer&#8217;s implementation is to write a gradient check unit test. Gradient check unit test utilizes finite difference method to verify the gradient of a layer. It modifies the input with a small perturbation <span class="math">\(\Delta x\)</span> and observes the changes of output <span class="math">\(\Delta y\)</span>, the gradient can be computed as <span class="math">\(\frac{\Delta y}{\Delta x }\)</span>. This gradient can be compared with the gradient computed by the <code class="code docutils literal"><span class="pre">backward</span></code> function of the layer to ensure the correctness of the gradient computation. Notice that the gradient check only tests the correctness of the gradient computation, it does not necessarily guarantee the correctness of the implementation of the <code class="code docutils literal"><span class="pre">forward</span></code> and <code class="code docutils literal"><span class="pre">backward</span></code> function. You need to write more sophisticated unit tests to make sure your layer is implemented correctly.</p>
<p>All the gradient check unit tests are located in <code class="code docutils literal"><span class="pre">paddle/gserver/tests/test_LayerGrad.cpp</span></code>. You are recommended to put your test into a new test file if you are planning to write a new layer. The gradient test of the gradient check unit test of the fully connected layer is listed below. It has the following steps.</p>
<ul>
<ul class="simple">
<li><dl class="first docutils">
<dt>Create layer configuration. A layer configuration can include the following attributes:</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>size of the bias parameter. (4096 in our example)</li>
<li>type of the layer. (fc in our example)</li>
<li>size of the layer. (4096 in our example)</li>
......@@ -319,7 +319,7 @@ Fully connected layer takes a dense input vector with dimension <span class="mat
<dd><ul class="first last">
<li><dl class="first docutils">
<dt>type of the input (<code class="code docutils literal"><span class="pre">INPUT_DATA</span></code>) in our example. It can be one of the following types</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li><code class="code docutils literal"><span class="pre">INPUT_DATA</span></code>: dense vector.</li>
<li><code class="code docutils literal"><span class="pre">INPUT_LABEL</span></code>: integer.</li>
<li><code class="code docutils literal"><span class="pre">INPUT_DATA_TARGET</span></code>: dense vector, but it does not used to compute gradient.</li>
......@@ -332,23 +332,18 @@ Fully connected layer takes a dense input vector with dimension <span class="mat
</dd>
</dl>
</li>
<li><p class="first">name of the input. (<code class="code docutils literal"><span class="pre">layer_0</span></code> in our example)</p>
</li>
<li><p class="first">size of the input. (8192 in our example)</p>
</li>
<li><p class="first">number of non-zeros, only useful for sparse inputs.</p>
</li>
<li><p class="first">format of sparse data, only useful for sparse inputs.</p>
</li>
<li>name of the input. (<code class="code docutils literal"><span class="pre">layer_0</span></code> in our example)</li>
<li>size of the input. (8192 in our example)</li>
<li>number of non-zeros, only useful for sparse inputs.</li>
<li>format of sparse data, only useful for sparse inputs.</li>
</ul>
</dd>
</dl>
</li>
<li><p class="first">each inputs needs to call <code class="code docutils literal"><span class="pre">config.layerConfig.add_inputs();</span></code> once.</p>
</li>
<li>each inputs needs to call <code class="code docutils literal"><span class="pre">config.layerConfig.add_inputs();</span></code> once.</li>
<li><dl class="first docutils">
<dt>call <code class="code docutils literal"><span class="pre">testLayerGrad</span></code> to perform gradient checks. It has the following arguments.</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>layer and input configurations. (<code class="code docutils literal"><span class="pre">config</span></code> in our example)</li>
<li>type of the input. (<code class="code docutils literal"><span class="pre">fc</span></code> in our example)</li>
<li>batch size of the gradient check. (100 in our example)</li>
......@@ -394,12 +389,11 @@ add_test<span class="o">(</span>NAME test_FCGrad
<div class="section" id="implement-python-wrapper">
<h1>Implement Python Wrapper<a class="headerlink" href="#implement-python-wrapper" title="Permalink to this headline"></a></h1>
<p>Implementing Python wrapper allows us to use the added layer in configuration files. All the Python wrappers are in file <code class="code docutils literal"><span class="pre">python/paddle/trainer/config_parser.py</span></code>. An example of the Python wrapper for fully connected layer is listed below. It has the following steps:</p>
<ul>
<li><p class="first">Use <code class="code docutils literal"><span class="pre">&#64;config_layer('fc')</span></code> at the decorator for all the Python wrapper class. <code class="code docutils literal"><span class="pre">fc</span></code> is the identifier of the layer.</p>
</li>
<ul class="simple">
<li>Use <code class="code docutils literal"><span class="pre">&#64;config_layer('fc')</span></code> at the decorator for all the Python wrapper class. <code class="code docutils literal"><span class="pre">fc</span></code> is the identifier of the layer.</li>
<li><dl class="first docutils">
<dt>Implements <code class="code docutils literal"><span class="pre">__init__</span></code> constructor function.</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>It first call <code class="code docutils literal"><span class="pre">super(FCLayer,</span> <span class="pre">self).__init__(name,</span> <span class="pre">'fc',</span> <span class="pre">size,</span> <span class="pre">inputs=inputs,</span> <span class="pre">**xargs)</span></code> base constructor function. <code class="code docutils literal"><span class="pre">FCLayer</span></code> is the Python wrapper class name, and <code class="code docutils literal"><span class="pre">fc</span></code> is the layer identifier name. They must be correct in order for the wrapper to work.</li>
<li>Then it computes the size and format (whether sparse) of each transformation matrix as well as the size.</li>
</ul>
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -71,7 +71,7 @@ var _hmt = _hmt || [];
<div class="section" id="api">
<h1>API<a class="headerlink" href="#api" title="Permalink to this headline"></a></h1>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.DISABLE_COPY_AND_ASSIGN">
......@@ -79,7 +79,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Enums</p>
<dl class="type">
<dt id="_CPPv215SparseValueType">
......@@ -130,7 +130,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv210initPaddleiPPc">
......@@ -152,7 +152,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Variables</p>
<dl class="member">
<dt id="_CPPv212NO_SPARSE_ID">
......@@ -183,7 +183,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv210FloatArray">
<span id="FloatArray"></span><span class="target" id="paddlestructFloatArray"></span><em class="property">struct </em><code class="descname">FloatArray</code><a class="headerlink" href="#_CPPv210FloatArray" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;PaddleAPI.h&gt;</em><p>This type will map to python&#8217;s list of float. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N10FloatArray10FloatArrayEPKfK6size_t">
......@@ -191,7 +191,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N10FloatArray3bufE">
......@@ -215,7 +215,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv28IntArray">
<span id="IntArray"></span><span class="target" id="paddlestructIntArray"></span><em class="property">struct </em><code class="descname">IntArray</code><a class="headerlink" href="#_CPPv28IntArray" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;PaddleAPI.h&gt;</em><p>This type will map to python&#8217;s list of int. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N8IntArray8IntArrayEPKiK6size_tb">
......@@ -223,7 +223,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N8IntArray3bufE">
......@@ -247,7 +247,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv217IntWithFloatArray">
<span id="IntWithFloatArray"></span><span class="target" id="paddlestructIntWithFloatArray"></span><em class="property">struct </em><code class="descname">IntWithFloatArray</code><a class="headerlink" href="#_CPPv217IntWithFloatArray" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;PaddleAPI.h&gt;</em><p>This type will map to python&#8217;s list of (int, float) </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N17IntWithFloatArray17IntWithFloatArrayEPKfPKi6size_tb">
......@@ -255,7 +255,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N17IntWithFloatArray6valBufE">
......@@ -283,7 +283,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv26Matrix">
<span id="Matrix"></span><span class="target" id="paddleclassMatrix"></span><em class="property">class </em><code class="descname">Matrix</code><a class="headerlink" href="#_CPPv26Matrix" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6MatrixD0Ev">
......@@ -387,7 +387,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6Matrix10createZeroE6size_t6size_tb">
......@@ -452,7 +452,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N6Matrix6MatrixEv">
......@@ -470,7 +470,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N6Matrix1mE">
......@@ -478,7 +478,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6Matrix23createByPaddleMatrixPtrEPv">
......@@ -486,7 +486,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -509,7 +509,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dl class="class">
<dt id="_CPPv26Vector">
<span id="Vector"></span><span class="target" id="paddleclassVector"></span><em class="property">class </em><code class="descname">Vector</code><a class="headerlink" href="#_CPPv26Vector" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6VectorD0Ev">
......@@ -559,7 +559,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6Vector10createZeroE6size_tb">
......@@ -588,7 +588,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N6Vector23DISABLE_COPY_AND_ASSIGNE6Vector">
......@@ -606,7 +606,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N6Vector1mE">
......@@ -614,7 +614,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6Vector23createByPaddleVectorPtrEPv">
......@@ -622,7 +622,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -645,7 +645,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dl class="class">
<dt id="_CPPv27IVector">
<span id="IVector"></span><span class="target" id="paddleclassIVector"></span><em class="property">class </em><code class="descname">IVector</code><a class="headerlink" href="#_CPPv27IVector" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N7IVector19toNumpyArrayInplaceEPPiPi">
......@@ -710,7 +710,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N7IVector10createZeroE6size_tb">
......@@ -738,7 +738,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N7IVector7IVectorEv">
......@@ -756,7 +756,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N7IVector1mE">
......@@ -764,7 +764,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Static Functions</p>
<dl class="function">
<dt id="_CPPv2N7IVector23createByPaddleVectorPtrEPv">
......@@ -772,7 +772,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -786,7 +786,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dt id="_CPPv29Arguments">
<span id="Arguments"></span><span class="target" id="paddleclassArguments"></span><em class="property">class </em><code class="descname">Arguments</code><a class="headerlink" href="#_CPPv29Arguments" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;PaddleAPI.h&gt;</em><p>The <a class="reference internal" href="#paddleclassArguments"><span class="std std-ref">Arguments</span></a> is actual a std::vector&lt;paddle::Argument&gt; in paddle. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N9Arguments6resizeE6size_t">
......@@ -875,7 +875,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N9Arguments15createArgumentsE6size_t">
......@@ -884,7 +884,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N9Arguments9ArgumentsEv">
......@@ -902,7 +902,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N9Arguments1mE">
......@@ -910,7 +910,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Static Functions</p>
<dl class="function">
<dt id="_CPPv2N9Arguments28createByPaddleArgumentVectorEPv">
......@@ -918,7 +918,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -941,7 +941,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dl class="class">
<dt id="_CPPv215ParameterConfig">
<span id="ParameterConfig"></span><span class="target" id="paddleclassParameterConfig"></span><em class="property">class </em><code class="descname">ParameterConfig</code><a class="headerlink" href="#_CPPv215ParameterConfig" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N15ParameterConfigD0Ev">
......@@ -955,7 +955,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N15ParameterConfig23DISABLE_COPY_AND_ASSIGNE15ParameterConfig">
......@@ -973,7 +973,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N15ParameterConfig1mE">
......@@ -981,7 +981,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Static Functions</p>
<dl class="function">
<dt id="_CPPv2N15ParameterConfig43createParameterConfigFromParameterSharedPtrEPv">
......@@ -995,7 +995,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -1018,7 +1018,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dl class="class">
<dt id="_CPPv218OptimizationConfig">
<span id="OptimizationConfig"></span><span class="target" id="paddleclassOptimizationConfig"></span><em class="property">class </em><code class="descname">OptimizationConfig</code><a class="headerlink" href="#_CPPv218OptimizationConfig" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N18OptimizationConfigD0Ev">
......@@ -1032,7 +1032,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N18OptimizationConfig21createFromProtoStringERKNSt6stringE">
......@@ -1040,7 +1040,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N18OptimizationConfig23DISABLE_COPY_AND_ASSIGNE18OptimizationConfig">
......@@ -1053,7 +1053,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N18OptimizationConfig1mE">
......@@ -1061,7 +1061,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -1084,7 +1084,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dl class="class">
<dt id="_CPPv29Parameter">
<span id="Parameter"></span><span class="target" id="paddleclassParameter"></span><em class="property">class </em><code class="descname">Parameter</code><a class="headerlink" href="#_CPPv29Parameter" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N9ParameterD0Ev">
......@@ -1115,7 +1115,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N9Parameter9ParameterEv">
......@@ -1128,7 +1128,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N9Parameter1mE">
......@@ -1136,7 +1136,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Static Functions</p>
<dl class="function">
<dt id="_CPPv2N9Parameter16createFromRawPtrEPv">
......@@ -1149,7 +1149,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -1169,7 +1169,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<span id="ModelConfig"></span><span class="target" id="paddleclassModelConfig"></span><em class="property">class </em><code class="descname">ModelConfig</code><a class="headerlink" href="#_CPPv211ModelConfig" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;PaddleAPI.h&gt;</em><p>You can only get model config from <a class="reference internal" href="#paddleclassTrainerConfig"><span class="std std-ref">TrainerConfig</span></a>.</p>
<p>It is used by <a class="reference internal" href="#paddleclassGradientMachine"><span class="std std-ref">GradientMachine</span></a>. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N11ModelConfigD0Ev">
......@@ -1177,7 +1177,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N11ModelConfig11ModelConfigEv">
......@@ -1190,7 +1190,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N11ModelConfig1mE">
......@@ -1198,7 +1198,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -1223,7 +1223,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<span id="TrainerConfig"></span><span class="target" id="paddleclassTrainerConfig"></span><em class="property">class </em><code class="descname">TrainerConfig</code><a class="headerlink" href="#_CPPv213TrainerConfig" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;PaddleAPI.h&gt;</em><p>To get <a class="reference internal" href="#paddleclassTrainerConfig"><span class="std std-ref">TrainerConfig</span></a> from file.</p>
<p>It is used by <a class="reference internal" href="#paddleclassGradientMachine"><span class="std std-ref">GradientMachine</span></a>. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N13TrainerConfigD0Ev">
......@@ -1241,7 +1241,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N13TrainerConfig27createFromTrainerConfigFileERKNSt6stringE">
......@@ -1254,7 +1254,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N13TrainerConfig13TrainerConfigEv">
......@@ -1267,7 +1267,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N13TrainerConfig1mE">
......@@ -1275,7 +1275,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -1299,7 +1299,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</pre></div>
</div>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N14UpdateCallbackD0Ev">
......@@ -1317,7 +1317,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dl class="class">
<dt id="_CPPv225ParameterTraverseCallback">
<span id="ParameterTraverseCallback"></span><span class="target" id="paddleclassParameterTraverseCallback"></span><em class="property">class </em><code class="descname">ParameterTraverseCallback</code><a class="headerlink" href="#_CPPv225ParameterTraverseCallback" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N25ParameterTraverseCallbackD0Ev">
......@@ -1330,7 +1330,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N25ParameterTraverseCallback23DISABLE_COPY_AND_ASSIGNE25ParameterTraverseCallback">
......@@ -1343,7 +1343,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N25ParameterTraverseCallback1mE">
......@@ -1351,7 +1351,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -1364,7 +1364,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dl class="class">
<dt id="_CPPv218ParameterOptimizer">
<span id="ParameterOptimizer"></span><span class="target" id="paddleclassParameterOptimizer"></span><em class="property">class </em><code class="descname">ParameterOptimizer</code><a class="headerlink" href="#_CPPv218ParameterOptimizer" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N18ParameterOptimizerD0Ev">
......@@ -1412,7 +1412,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N18ParameterOptimizer6createEP18OptimizationConfig">
......@@ -1420,7 +1420,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N18ParameterOptimizer23DISABLE_COPY_AND_ASSIGNE18ParameterOptimizer">
......@@ -1433,7 +1433,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N18ParameterOptimizer1mE">
......@@ -1446,7 +1446,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dl class="class">
<dt id="_CPPv215GradientMachine">
<span id="GradientMachine"></span><span class="target" id="paddleclassGradientMachine"></span><em class="property">class </em><code class="descname">GradientMachine</code><a class="headerlink" href="#_CPPv215GradientMachine" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N15GradientMachineD0Ev">
......@@ -1520,7 +1520,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N15GradientMachine22createByConfigProtoStrERKNSt6stringE26GradientMatchineCreateModeRKNSt6vectorIiEE">
......@@ -1537,7 +1537,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N15GradientMachine15GradientMachineEv">
......@@ -1550,7 +1550,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N15GradientMachine1mE">
......@@ -1558,7 +1558,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Static Functions</p>
<dl class="function">
<dt id="_CPPv2N15GradientMachine24createFromPaddleModelPtrEPKv26GradientMatchineCreateModeRKNSt6vectorIiEE">
......@@ -1566,7 +1566,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N15GradientMachine17defaultParamTypesE">
......@@ -1574,7 +1574,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -1587,7 +1587,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dl class="class">
<dt id="_CPPv27Trainer">
<span id="Trainer"></span><span class="target" id="paddleclassTrainer"></span><em class="property">class </em><code class="descname">Trainer</code><a class="headerlink" href="#_CPPv27Trainer" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N7TrainerD0Ev">
......@@ -1665,7 +1665,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N7Trainer19createByCommandLineEv">
......@@ -1679,7 +1679,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N7Trainer7TrainerEv">
......@@ -1697,7 +1697,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N7Trainer1mE">
......@@ -1712,7 +1712,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<span id="ISequenceResults"></span><span class="target" id="paddleclassISequenceResults"></span><em class="property">class </em><code class="descname">ISequenceResults</code><a class="headerlink" href="#_CPPv216ISequenceResults" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;PaddleAPI.h&gt;</em><p>the N-Best results generated from one input sequence. </p>
<p>Subclassed by PathSequenceResults</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N16ISequenceResultsD0Ev">
......@@ -1756,7 +1756,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dl class="class">
<dt id="_CPPv217SequenceGenerator">
<span id="SequenceGenerator"></span><span class="target" id="paddleclassSequenceGenerator"></span><em class="property">class </em><code class="descname">SequenceGenerator</code><a class="headerlink" href="#_CPPv217SequenceGenerator" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N17SequenceGeneratorD0Ev">
......@@ -1802,7 +1802,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N17SequenceGenerator23DISABLE_COPY_AND_ASSIGNE17SequenceGenerator">
......@@ -1815,7 +1815,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N17SequenceGenerator1mE">
......@@ -1823,7 +1823,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Static Functions</p>
<dl class="function">
<dt id="_CPPv2N17SequenceGenerator32createByGradientMachineSharedPtrEPv">
......@@ -1831,7 +1831,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -1841,7 +1841,7 @@ Example: <div class="highlight-default"><div class="highlight"><pre><span></span
</div>
</dd></dl>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......
......@@ -76,7 +76,7 @@ var _hmt = _hmt || [];
<h2>Dynamic Link Libs<a class="headerlink" href="#dynamic-link-libs" title="Permalink to this headline"></a></h2>
<div class="section" id="hl-dso-loader-h">
<h3>hl_dso_loader.h<a class="headerlink" href="#hl-dso-loader-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv218GetCublasDsoHandlePPv">
......@@ -141,7 +141,7 @@ var _hmt = _hmt || [];
<h2>GPU Resources<a class="headerlink" href="#gpu-resources" title="Permalink to this headline"></a></h2>
<div class="section" id="hl-cuda-ph">
<h3>hl_cuda.ph<a class="headerlink" href="#hl-cuda-ph" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_CUDA_PH_">
......@@ -149,7 +149,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv223global_device_resources">
......@@ -167,7 +167,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv226hl_create_thread_resourcesi23thread_device_resources">
......@@ -213,7 +213,7 @@ var _hmt = _hmt || [];
</dd>
</dl>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N12_hl_event_st8cu_eventE">
......@@ -239,7 +239,7 @@ var _hmt = _hmt || [];
</dd>
</dl>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N24_global_device_resources6streamE">
......@@ -272,7 +272,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv224_thread_device_resources">
<span id="_thread_device_resources"></span><span class="target" id="paddlestruct__thread__device__resources"></span><em class="property">struct </em><code class="descname">_thread_device_resources</code><a class="headerlink" href="#_CPPv224_thread_device_resources" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N24_thread_device_resources6streamE">
......@@ -300,7 +300,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv215_hl_device_prop">
<span id="_hl_device_prop"></span><span class="target" id="paddlestruct__hl__device__prop"></span><em class="property">struct </em><code class="descname">_hl_device_prop</code><a class="headerlink" href="#_CPPv215_hl_device_prop" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N15_hl_device_prop6deviceE">
......@@ -348,7 +348,7 @@ var _hmt = _hmt || [];
</div>
<div class="section" id="hl-cuda-h">
<h3>hl_cuda.h<a class="headerlink" href="#hl-cuda-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv210hl_event_t">
......@@ -357,7 +357,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv223hl_get_cuda_lib_versionv">
......@@ -859,7 +859,7 @@ var _hmt = _hmt || [];
<h2>CUDA Wrapper<a class="headerlink" href="#cuda-wrapper" title="Permalink to this headline"></a></h2>
<div class="section" id="hl-cuda-cublas-h">
<h3>hl_cuda_cublas.h<a class="headerlink" href="#hl-cuda-cublas-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv219hl_matrix_transposeP4realP4realiiii">
......@@ -988,7 +988,7 @@ var _hmt = _hmt || [];
</div>
<div class="section" id="hl-cuda-cudnn-h">
<h3>hl_cuda_cudnn.h<a class="headerlink" href="#hl-cuda-cudnn-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv220hl_tensor_descriptor">
......@@ -1015,7 +1015,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Enums</p>
<dl class="type">
<dt id="_CPPv217hl_pooling_mode_t">
......@@ -1044,7 +1044,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv224hl_get_cudnn_lib_versionv">
......@@ -1521,7 +1521,7 @@ var _hmt = _hmt || [];
</div>
<div class="section" id="id1">
<h3>hl_cuda_cudnn.h<a class="headerlink" href="#id1" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_CUDA_CUDNN_PH_">
......@@ -1544,7 +1544,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv223cudnn_tensor_descriptor">
......@@ -1570,7 +1570,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv224_cudnn_tensor_descriptor">
<span id="_cudnn_tensor_descriptor"></span><span class="target" id="paddlestruct__cudnn__tensor__descriptor"></span><em class="property">struct </em><code class="descname">_cudnn_tensor_descriptor</code><a class="headerlink" href="#_CPPv224_cudnn_tensor_descriptor" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N24_cudnn_tensor_descriptor4descE">
......@@ -1613,7 +1613,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv225_cudnn_pooling_descriptor">
<span id="_cudnn_pooling_descriptor"></span><span class="target" id="paddlestruct__cudnn__pooling__descriptor"></span><em class="property">struct </em><code class="descname">_cudnn_pooling_descriptor</code><a class="headerlink" href="#_CPPv225_cudnn_pooling_descriptor" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N25_cudnn_pooling_descriptor4descE">
......@@ -1651,7 +1651,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv224_cudnn_filter_descriptor">
<span id="_cudnn_filter_descriptor"></span><span class="target" id="paddlestruct__cudnn__filter__descriptor"></span><em class="property">struct </em><code class="descname">_cudnn_filter_descriptor</code><a class="headerlink" href="#_CPPv224_cudnn_filter_descriptor" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N24_cudnn_filter_descriptor4descE">
......@@ -1689,7 +1689,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv229_cudnn_convolution_descriptor">
<span id="_cudnn_convolution_descriptor"></span><span class="target" id="paddlestruct__cudnn__convolution__descriptor"></span><em class="property">struct </em><code class="descname">_cudnn_convolution_descriptor</code><a class="headerlink" href="#_CPPv229_cudnn_convolution_descriptor" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N29_cudnn_convolution_descriptor4descE">
......
......@@ -76,7 +76,7 @@ var _hmt = _hmt || [];
<h2>Base Matrix<a class="headerlink" href="#base-matrix" title="Permalink to this headline"></a></h2>
<div class="section" id="hl-matrix-h">
<h3>hl_matrix.h<a class="headerlink" href="#hl-matrix-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv213hl_matrix_addP4realP4realP4realii4real4real">
......@@ -398,7 +398,7 @@ var _hmt = _hmt || [];
</div>
<div class="section" id="hl-matrix-base-h">
<h3>hl_matrix_base.h<a class="headerlink" href="#hl-matrix-base-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_MATRIX_BASE_CUH_">
......@@ -425,7 +425,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv26BaseOp">
<span id="BaseOp"></span><span class="target" id="paddleclassBaseOp"></span><em class="property">class </em><code class="descname">BaseOp</code><a class="headerlink" href="#_CPPv26BaseOp" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6BaseOp6BaseOpEv">
......@@ -453,7 +453,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6BaseOp3sseE">
......@@ -470,7 +470,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N9aggregate3sumE">
<span id="aggregate::sum"></span><span class="target" id="paddleclassaggregate_1_1sum"></span><em class="property">class </em><code class="descname">sum</code><a class="headerlink" href="#_CPPv2N9aggregate3sumE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from aggregate::SSESum</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -489,7 +489,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N9aggregate3maxE">
<span id="aggregate::max"></span><span class="target" id="paddleclassaggregate_1_1max"></span><em class="property">class </em><code class="descname">max</code><a class="headerlink" href="#_CPPv2N9aggregate3maxE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from aggregate::SSEMax</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -508,7 +508,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N9aggregate3minE">
<span id="aggregate::min"></span><span class="target" id="paddleclassaggregate_1_1min"></span><em class="property">class </em><code class="descname">min</code><a class="headerlink" href="#_CPPv2N9aggregate3minE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from aggregate::SSEMin</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -535,7 +535,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N4base6binary3addE">
<span id="base::binary::add"></span><span class="target" id="paddleclassbase_1_1binary_1_1add"></span><em class="property">class </em><code class="descname">add</code><a class="headerlink" href="#_CPPv2N4base6binary3addE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from base::binary::SSEAdd</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -549,7 +549,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N4base6binary4add2E">
<span id="base::binary::add2"></span><span class="target" id="paddleclassbase_1_1binary_1_1add2"></span><em class="property">class </em><code class="descname">add2</code><a class="headerlink" href="#_CPPv2N4base6binary4add2E" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from base::binary::SSEAdd2</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N4base6binary4add24add2EK4realK4real">
......@@ -562,7 +562,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N4base6binary4add22p1E">
......@@ -581,7 +581,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N4base6binary3subE">
<span id="base::binary::sub"></span><span class="target" id="paddleclassbase_1_1binary_1_1sub"></span><em class="property">class </em><code class="descname">sub</code><a class="headerlink" href="#_CPPv2N4base6binary3subE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from base::binary::SSESub</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -595,7 +595,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N4base6binary3mulE">
<span id="base::binary::mul"></span><span class="target" id="paddleclassbase_1_1binary_1_1mul"></span><em class="property">class </em><code class="descname">mul</code><a class="headerlink" href="#_CPPv2N4base6binary3mulE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from base::binary::SSEMul</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -609,7 +609,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N4base6binary3divE">
<span id="base::binary::div"></span><span class="target" id="paddleclassbase_1_1binary_1_1div"></span><em class="property">class </em><code class="descname">div</code><a class="headerlink" href="#_CPPv2N4base6binary3divE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from base::binary::SSEDiv</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -623,7 +623,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N4base6binary11squaredDiffE">
<span id="base::binary::squaredDiff"></span><span class="target" id="paddleclassbase_1_1binary_1_1squaredDiff"></span><em class="property">class </em><code class="descname">squaredDiff</code><a class="headerlink" href="#_CPPv2N4base6binary11squaredDiffE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from base::binary::SSESquaredDiff</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -637,7 +637,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N4base6binary5firstE">
<span id="base::binary::first"></span><span class="target" id="paddleclassbase_1_1binary_1_1first"></span><em class="property">class </em><code class="descname">first</code><a class="headerlink" href="#_CPPv2N4base6binary5firstE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from base::binary::SSEFirst</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -651,7 +651,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N4base6binary6secondE">
<span id="base::binary::second"></span><span class="target" id="paddleclassbase_1_1binary_1_1second"></span><em class="property">class </em><code class="descname">second</code><a class="headerlink" href="#_CPPv2N4base6binary6secondE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from base::binary::SSESecond</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -665,7 +665,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N4base6binary19classificationErrorE">
<span id="base::binary::classificationError"></span><span class="target" id="paddleclassbase_1_1binary_1_1classificationError"></span><em class="property">class </em><code class="descname">classificationError</code><a class="headerlink" href="#_CPPv2N4base6binary19classificationErrorE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from base::binary::SSEClassificationError</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N4base6binary19classificationError19classificationErrorEK4real">
......@@ -678,7 +678,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N4base6binary19classificationError1pE">
......@@ -697,7 +697,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N4base5unary8identityE">
<span id="base::unary::identity"></span><span class="target" id="paddleclassbase_1_1unary_1_1identity"></span><em class="property">class </em><code class="descname">identity</code><a class="headerlink" href="#_CPPv2N4base5unary8identityE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from base::unary::SSEIdentity</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -714,7 +714,7 @@ var _hmt = _hmt || [];
</div>
<div class="section" id="hl-matrix-apply-cuh">
<h3>hl_matrix_apply.cuh<a class="headerlink" href="#hl-matrix-apply-cuh" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_MATRIX_APPLY_H_">
......@@ -722,7 +722,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......@@ -1115,7 +1115,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
</div>
<div class="section" id="hl-matrix-ops-cuh">
<h3>hl_matrix_ops.cuh<a class="headerlink" href="#hl-matrix-ops-cuh" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_MATRIX_OPS_CUH_">
......@@ -1324,7 +1324,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
</div>
<div class="section" id="hl-matrix-type-cuh">
<h3>hl_matrix_type.cuh<a class="headerlink" href="#hl-matrix-type-cuh" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_MATRIX_TYPE_CUH_">
......@@ -1332,7 +1332,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv27vecType">
......@@ -1343,7 +1343,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
</div>
<div class="section" id="hl-sse-matrix-kernel-cuh">
<h3>hl_sse_matrix_kernel.cuh<a class="headerlink" href="#hl-sse-matrix-kernel-cuh" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_SSE_MATRIX_KERNEL_CUH_">
......@@ -1366,7 +1366,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv214hl_check_align6size_t">
......@@ -1459,7 +1459,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
</div>
<div class="section" id="hl-batch-transpose-h">
<h3>hl_batch_transpose.h<a class="headerlink" href="#hl-batch-transpose-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv214batchTransposePK4realP4realiii">
......@@ -1488,7 +1488,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
<h2>Sparse Matrix<a class="headerlink" href="#sparse-matrix" title="Permalink to this headline"></a></h2>
<div class="section" id="hl-sparse-h">
<h3>hl_sparse.h<a class="headerlink" href="#hl-sparse-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv223hl_malloc_sparse_matrixP18hl_sparse_matrix_s18hl_matrix_format_t17hl_matrix_value_tiii">
......@@ -2006,7 +2006,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
</div>
<div class="section" id="hl-sparse-ph">
<h3>hl_sparse.ph<a class="headerlink" href="#hl-sparse-ph" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_SPARSE_PH_">
......@@ -2024,7 +2024,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv213hl_csr_matrix">
......@@ -2054,7 +2054,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
</dd>
</dl>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N14_hl_csr_matrix7csr_valE">
......@@ -2106,7 +2106,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
</dd>
</dl>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N14_hl_csc_matrix7csc_valE">
......@@ -2147,7 +2147,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
<h2>Others<a class="headerlink" href="#others" title="Permalink to this headline"></a></h2>
<div class="section" id="hl-aggregate-h">
<h3>hl_aggregate.h<a class="headerlink" href="#hl-aggregate-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv217hl_matrix_row_sumP4realP4realii">
......@@ -2287,7 +2287,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
</div>
<div class="section" id="hl-table-apply-h">
<h3>hl_table_apply.h<a class="headerlink" href="#hl-table-apply-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv221hl_matrix_select_rowsP4realiP4realiPiiii">
......@@ -2356,7 +2356,7 @@ CPU element wise quaternary operator. element wise op(a, b, c, d) for 0 &lt;= i
</div>
<div class="section" id="hl-top-k-h">
<h3>hl_top_k.h<a class="headerlink" href="#hl-top-k-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv215hl_matrix_top_kP4realiPiP4realiiii">
......
......@@ -74,7 +74,7 @@ var _hmt = _hmt || [];
<h1>Neural Networks<a class="headerlink" href="#neural-networks" title="Permalink to this headline"></a></h1>
<div class="section" id="base">
<h2>Base<a class="headerlink" href="#base" title="Permalink to this headline"></a></h2>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv221hl_shrink_col2featurePK4real6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_tP4real4real4real">
......@@ -389,7 +389,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.SIGMOID_THRESHOLD_MIN">
......@@ -407,7 +407,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt id="_CPPv24hppl">
<span id="hppl"></span><span class="target" id="paddlenamespacehppl"></span><em class="property">namespace </em><code class="descname">hppl</code><a class="headerlink" href="#_CPPv24hppl" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv2N4hppl4reluEK4real">
......@@ -455,7 +455,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt id="_CPPv24hppl">
<span class="target" id="paddlenamespacehppl"></span><em class="property">namespace </em><code class="descname">hppl</code><a class="headerlink" href="#_CPPv24hppl" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv2N4hppl4reluEK6__m256">
......@@ -500,7 +500,7 @@ var _hmt = _hmt || [];
</div>
</dd></dl>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_DEVICE_FUNCTIONS_CUH_">
......@@ -508,7 +508,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......@@ -532,7 +532,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt id="_CPPv26paddle">
<span id="paddle"></span><span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code><a class="headerlink" href="#_CPPv26paddle" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......@@ -558,7 +558,7 @@ var _hmt = _hmt || [];
</div>
</dd></dl>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_GPU_FUNCTIONS_CUH_">
......@@ -569,7 +569,7 @@ var _hmt = _hmt || [];
</div>
<div class="section" id="activation-functions">
<h2>Activation Functions<a class="headerlink" href="#activation-functions" title="Permalink to this headline"></a></h2>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HPPL_ACTIVE_FUNCTION">
......@@ -587,7 +587,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N4hppl6ActiveE">
<span id="hppl::Active"></span><em class="property">class </em><code class="descname">Active</code><a class="headerlink" href="#_CPPv2N4hppl6ActiveE" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;hl_activation_functions.h&gt;</em><p>Hppl supports sigmoid, relu, tanh, linear active functions for neural networks&#8217; forward and backward activation. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt>
......@@ -609,7 +609,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt id="_CPPv2N4hppl3cpuE">
<span id="hppl::cpu"></span><span class="target" id="paddlenamespacehppl_1_1cpu"></span><em class="property">namespace </em><code class="descname">cpu</code><a class="headerlink" href="#_CPPv2N4hppl3cpuE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Variables</p>
<dl class="member">
<dt id="_CPPv2N4hppl3cpu7forwardE">
......@@ -629,7 +629,7 @@ var _hmt = _hmt || [];
</div>
<div class="section" id="rnn-related-apis">
<h2>RNN Related APIs<a class="headerlink" href="#rnn-related-apis" title="Permalink to this headline"></a></h2>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_RECURRENT_APPLY_CUH_">
......@@ -637,7 +637,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......@@ -818,7 +818,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv223hl_max_sequence_forwardP4realPKiP4realPiii">
......@@ -993,7 +993,7 @@ var _hmt = _hmt || [];
</div>
<div class="section" id="lstm-model">
<h3>LSTM Model<a class="headerlink" href="#lstm-model" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv224hl_lstm_parallel_forwardP4realP4realP4realP4realP4realP4realP4realP4realPKiiib20hl_activation_mode_t20hl_activation_mode_t20hl_activation_mode_t">
......@@ -1083,7 +1083,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_GPU_LSTM_CUH_">
......@@ -1091,7 +1091,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......@@ -1139,7 +1139,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_LSTM_OPS_CUH_">
......@@ -1161,7 +1161,7 @@ var _hmt = _hmt || [];
<dd><dl class="class">
<dt id="_CPPv2N4hppl8backward4lstmE">
<span id="hppl::backward::lstm"></span><span class="target" id="paddleclasshppl_1_1backward_1_1lstm"></span><em class="property">class </em><code class="descname">lstm</code><a class="headerlink" href="#_CPPv2N4hppl8backward4lstmE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -1199,7 +1199,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N4hppl8backward4lstm3avxE">
......@@ -1217,7 +1217,7 @@ var _hmt = _hmt || [];
<dd><dl class="class">
<dt id="_CPPv2N4hppl7forward4lstmE">
<span id="hppl::forward::lstm"></span><span class="target" id="paddleclasshppl_1_1forward_1_1lstm"></span><em class="property">class </em><code class="descname">lstm</code><a class="headerlink" href="#_CPPv2N4hppl7forward4lstmE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -1246,7 +1246,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N4hppl7forward4lstm3avxE">
......@@ -1263,7 +1263,7 @@ var _hmt = _hmt || [];
</div>
<div class="section" id="gru-model">
<h3>GRU Model<a class="headerlink" href="#gru-model" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_GRU_OPS_CUH_">
......@@ -1285,7 +1285,7 @@ var _hmt = _hmt || [];
<dd><dl class="class">
<dt id="_CPPv2N4hppl8backward13gru_stateGradE">
<span id="hppl::backward::gru_stateGrad"></span><span class="target" id="paddleclasshppl_1_1backward_1_1gru__stateGrad"></span><em class="property">class </em><code class="descname">gru_stateGrad</code><a class="headerlink" href="#_CPPv2N4hppl8backward13gru_stateGradE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -1308,7 +1308,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N4hppl8backward13gru_stateGrad3avxE">
......@@ -1321,7 +1321,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N4hppl8backward13gru_resetGradE">
<span id="hppl::backward::gru_resetGrad"></span><span class="target" id="paddleclasshppl_1_1backward_1_1gru__resetGrad"></span><em class="property">class </em><code class="descname">gru_resetGrad</code><a class="headerlink" href="#_CPPv2N4hppl8backward13gru_resetGradE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -1344,7 +1344,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N4hppl8backward13gru_resetGrad3avxE">
......@@ -1362,7 +1362,7 @@ var _hmt = _hmt || [];
<dd><dl class="class">
<dt id="_CPPv2N4hppl7forward15gru_resetOutputE">
<span id="hppl::forward::gru_resetOutput"></span><span class="target" id="paddleclasshppl_1_1forward_1_1gru__resetOutput"></span><em class="property">class </em><code class="descname">gru_resetOutput</code><a class="headerlink" href="#_CPPv2N4hppl7forward15gru_resetOutputE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -1382,7 +1382,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N4hppl7forward15gru_resetOutput3avxE">
......@@ -1395,7 +1395,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N4hppl7forward15gru_finalOutputE">
<span id="hppl::forward::gru_finalOutput"></span><span class="target" id="paddleclasshppl_1_1forward_1_1gru__finalOutput"></span><em class="property">class </em><code class="descname">gru_finalOutput</code><a class="headerlink" href="#_CPPv2N4hppl7forward15gru_finalOutputE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -1415,7 +1415,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N4hppl7forward15gru_finalOutput3avxE">
......@@ -1429,7 +1429,7 @@ var _hmt = _hmt || [];
</dd></dl>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_CPU_GRU_CUH_">
......@@ -1442,7 +1442,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......@@ -1574,7 +1574,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_GPU_GRU_CUH_">
......@@ -1582,7 +1582,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......
......@@ -76,7 +76,7 @@ var _hmt = _hmt || [];
<h2>HPPL Base<a class="headerlink" href="#hppl-base" title="Permalink to this headline"></a></h2>
<div class="section" id="hl-base-h">
<h3>hl_base.h<a class="headerlink" href="#hl-base-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_FLOAT_MAX">
......@@ -114,7 +114,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv211hl_matrix_s">
......@@ -127,7 +127,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Enums</p>
<dl class="type">
<dt id="_CPPv211hl_stream_t">
......@@ -306,7 +306,7 @@ var _hmt = _hmt || [];
</dd>
</dl>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N13hl_lstm_value9gateValueE">
......@@ -367,7 +367,7 @@ var _hmt = _hmt || [];
</dd>
</dl>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N12hl_lstm_grad8gateGradE">
......@@ -429,7 +429,7 @@ var _hmt = _hmt || [];
</dd>
</dl>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N12hl_gru_value10gateWeightE">
......@@ -481,7 +481,7 @@ var _hmt = _hmt || [];
</dd>
</dl>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N11hl_gru_grad14gateWeightGradE">
......@@ -533,7 +533,7 @@ var _hmt = _hmt || [];
</dd>
</dl>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N19_hl_sparse_matrix_s6matrixE">
......@@ -574,7 +574,7 @@ var _hmt = _hmt || [];
<h2>Timer<a class="headerlink" href="#timer" title="Permalink to this headline"></a></h2>
<div class="section" id="hl-time-h">
<h3>hl_time.h<a class="headerlink" href="#hl-time-h" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv219getCurrentTimeStickv">
......@@ -596,7 +596,7 @@ var _hmt = _hmt || [];
<h2>Thread Resource<a class="headerlink" href="#thread-resource" title="Permalink to this headline"></a></h2>
<div class="section" id="hl-thread-ph">
<h3>hl_thread.ph<a class="headerlink" href="#hl-thread-ph" title="Permalink to this headline"></a></h3>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.HL_THREAD_PH_">
......@@ -604,7 +604,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv218hl_thread_resource">
......@@ -612,7 +612,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv213hl_cudnn_initP13cudnnHandle_t12cudaStream_t">
......@@ -659,7 +659,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Variables</p>
<dl class="member">
<dt>
......@@ -691,7 +691,7 @@ var _hmt = _hmt || [];
</dd>
</dl>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N19_hl_thread_resource6streamE">
......
......@@ -81,7 +81,7 @@ var _hmt = _hmt || [];
</dl>
</p>
<p>Subclassed by paddle::IdentityActivation</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18ActivationFunction18ActivationFunctionEv">
......@@ -118,7 +118,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18ActivationFunction6createERKNSt6stringE">
......
......@@ -84,7 +84,7 @@ var _hmt = _hmt || [];
</dl>
</p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1DataProviderGroup"><span class="std std-ref">paddle::DataProviderGroup&lt; T &gt;</span></a>, paddle::DummyDataProvider, <a class="reference internal" href="#paddleclasspaddle_1_1MultiDataProvider"><span class="std std-ref">paddle::MultiDataProvider</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ProtoDataProvider"><span class="std std-ref">paddle::ProtoDataProvider</span></a>, paddle::PyDataProvider, <a class="reference internal" href="#paddleclasspaddle_1_1PyDataProvider2"><span class="std std-ref">paddle::PyDataProvider2</span></a>, paddle::SimpleDataProviderBase</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12DataProvider12DataProviderERK10DataConfigb">
......@@ -171,7 +171,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12DataProvider6createERK10DataConfigRK11ModelConfigb">
......@@ -185,7 +185,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle12DataProvider10registrar_E">
......@@ -193,7 +193,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12DataProvider22getNextBatchFromBufferE7int64_tP9DataBatch">
......@@ -217,7 +217,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle12DataProvider7config_E">
......@@ -261,7 +261,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle17DataProviderGroupE">
<span id="paddle::DataProviderGroup"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">DataProviderGroup</code><a class="headerlink" href="#_CPPv2N6paddle17DataProviderGroupE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1DataProvider"><span class="std std-ref">paddle::DataProvider</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17DataProviderGroup17DataProviderGroupERK10DataConfigb">
......@@ -321,7 +321,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle17DataProviderGroup12ProviderTypeE">
......@@ -334,7 +334,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle17DataProviderGroup9provider_E">
......@@ -366,7 +366,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle17MultiDataProviderE">
<span id="paddle::MultiDataProvider"></span><span class="target" id="paddleclasspaddle_1_1MultiDataProvider"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">MultiDataProvider</code><a class="headerlink" href="#_CPPv2N6paddle17MultiDataProviderE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1DataProvider"><span class="std std-ref">paddle::DataProvider</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17MultiDataProvider17MultiDataProviderERK10DataConfigRK11ModelConfigb">
......@@ -431,7 +431,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle17MultiDataProvider17subDataProviders_E">
......@@ -453,7 +453,7 @@ var _hmt = _hmt || [];
<dd><p>FieldScanner Interface.</p>
<p>It will read python object, and fill to argument&#8217;s each slot. There are two steps, prepare and fill. Scanner will alloc memory during prepare step, fill data into argument during fill step. </p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1DenseScanner"><span class="std std-ref">paddle::DenseScanner</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1IndexScanner"><span class="std std-ref">paddle::IndexScanner</span></a>, paddle::SequenceScanner, <a class="reference internal" href="#paddleclasspaddle_1_1SparseNonValueScanner"><span class="std std-ref">paddle::SparseNonValueScanner</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13IFieldScanner12DISABLE_COPYE13IFieldScanner">
......@@ -525,7 +525,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13IFieldScanner6createEP10SlotHeader">
......@@ -539,7 +539,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13IFieldScanner10headerPtr_E">
......@@ -557,7 +557,7 @@ var _hmt = _hmt || [];
<span id="paddle::DenseScanner"></span><span class="target" id="paddleclasspaddle_1_1DenseScanner"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">DenseScanner</code><a class="headerlink" href="#_CPPv2N6paddle12DenseScannerE" title="Permalink to this definition"></a></dt>
<dd><p>Scanner for dense slot. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1IFieldScanner"><span class="std std-ref">paddle::IFieldScanner</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12DenseScanner12DenseScannerEP10SlotHeader">
......@@ -609,7 +609,7 @@ var _hmt = _hmt || [];
<span id="paddle::IndexScanner"></span><span class="target" id="paddleclasspaddle_1_1IndexScanner"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">IndexScanner</code><a class="headerlink" href="#_CPPv2N6paddle12IndexScannerE" title="Permalink to this definition"></a></dt>
<dd><p>Scanner for index slot </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1IFieldScanner"><span class="std std-ref">paddle::IFieldScanner</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12IndexScanner12IndexScannerEP10SlotHeader">
......@@ -650,7 +650,7 @@ var _hmt = _hmt || [];
<span id="paddle::SparseNonValueScanner"></span><span class="target" id="paddleclasspaddle_1_1SparseNonValueScanner"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SparseNonValueScanner</code><a class="headerlink" href="#_CPPv2N6paddle21SparseNonValueScannerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1IFieldScanner"><span class="std std-ref">paddle::IFieldScanner</span></a></p>
<p>Subclassed by paddle::SparseValueScanner</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle21SparseNonValueScanner21SparseNonValueScannerEP10SlotHeader">
......@@ -690,7 +690,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle21SparseNonValueScanner7setDataEPiP4realP8PyObject">
......@@ -708,7 +708,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle21SparseNonValueScanner4nnz_E">
......@@ -730,7 +730,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle18SparseValueScannerE">
<span id="paddle::SparseValueScanner"></span><span class="target" id="paddleclasspaddle_1_1SparseValueScanner"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SparseValueScanner</code><a class="headerlink" href="#_CPPv2N6paddle18SparseValueScannerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1SparseNonValueScanner"><span class="std std-ref">paddle::SparseNonValueScanner</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18SparseValueScanner18SparseValueScannerEP10SlotHeader">
......@@ -744,7 +744,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18SparseValueScanner7setDataEPiP4realP8PyObject">
......@@ -771,7 +771,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle18SparseValueScannerE">
<span class="target" id="paddleclasspaddle_1_1SparseValueScanner"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SparseValueScanner</code><a class="headerlink" href="#_CPPv2N6paddle18SparseValueScannerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1SparseNonValueScanner"><span class="std std-ref">paddle::SparseNonValueScanner</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18SparseValueScanner18SparseValueScannerEP10SlotHeader">
......@@ -785,7 +785,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18SparseValueScanner7setDataEPiP4realP8PyObject">
......@@ -813,7 +813,7 @@ var _hmt = _hmt || [];
<span id="paddle::IPyDataProviderCache"></span><span class="target" id="paddleclasspaddle_1_1IPyDataProviderCache"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">IPyDataProviderCache</code><a class="headerlink" href="#_CPPv2N6paddle20IPyDataProviderCacheE" title="Permalink to this definition"></a></dt>
<dd><p>Py Data Provider Cache Interface. </p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1CacheOnePassInMemory"><span class="std std-ref">paddle::CacheOnePassInMemory</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1NoCacheStrategy"><span class="std std-ref">paddle::NoCacheStrategy</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle20IPyDataProviderCacheD0Ev">
......@@ -852,7 +852,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle20IPyDataProviderCache6createE9CacheType">
......@@ -871,7 +871,7 @@ var _hmt = _hmt || [];
<span id="paddle::NoCacheStrategy"></span><span class="target" id="paddleclasspaddle_1_1NoCacheStrategy"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">NoCacheStrategy</code><a class="headerlink" href="#_CPPv2N6paddle15NoCacheStrategyE" title="Permalink to this definition"></a></dt>
<dd><p>No Cache Strategy. Will destruct old data immediately and load data from python every pass. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1IPyDataProviderCache"><span class="std std-ref">paddle::IPyDataProviderCache</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15NoCacheStrategy5resetEv">
......@@ -916,7 +916,7 @@ var _hmt = _hmt || [];
<dd><p>Cache One Pass In Memory strategy.</p>
<p>In first pass, will load data from python and store them in memory. The rest passes, will load data from memory. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1IPyDataProviderCache"><span class="std std-ref">paddle::IPyDataProviderCache</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle20CacheOnePassInMemory20CacheOnePassInMemoryEv">
......@@ -967,7 +967,7 @@ var _hmt = _hmt || [];
<p>For usage, please refer python module &#8216;paddle.trainer.PyDataProvider2&#8217;</p>
<p>Here, we start a thread to read data. It is totally asynchronous for reading data. And it support cache strategies. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1DataProvider"><span class="std std-ref">paddle::DataProvider</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15PyDataProvider215PyDataProvider2ERK10DataConfigRK11ModelConfigb">
......@@ -1036,7 +1036,7 @@ var _hmt = _hmt || [];
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1DataProvider"><span class="std std-ref">paddle::DataProvider</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1ProtoSequenceDataProvider"><span class="std std-ref">paddle::ProtoSequenceDataProvider</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17ProtoDataProvider17ProtoDataProviderERK10DataConfigbb">
......@@ -1093,7 +1093,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17ProtoDataProvider8loadDataERKNSt6stringE">
......@@ -1190,7 +1190,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle17ProtoDataProvider7header_E">
......@@ -1252,7 +1252,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle17ProtoDataProvider9ProtoSlotE">
<span id="paddle::ProtoDataProvider::ProtoSlot"></span><span class="target" id="paddlestructpaddle_1_1ProtoDataProvider_1_1ProtoSlot"></span><em class="property">struct </em><code class="descname">ProtoSlot</code><a class="headerlink" href="#_CPPv2N6paddle17ProtoDataProvider9ProtoSlotE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle17ProtoDataProvider9ProtoSlot4typeE">
......@@ -1315,7 +1315,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle17ProtoDataProvider12ProtoVarSlotE">
<span id="paddle::ProtoDataProvider::ProtoVarSlot"></span><span class="target" id="paddlestructpaddle_1_1ProtoDataProvider_1_1ProtoVarSlot"></span><em class="property">struct </em><code class="descname">ProtoVarSlot</code><a class="headerlink" href="#_CPPv2N6paddle17ProtoDataProvider12ProtoVarSlotE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle17ProtoDataProvider12ProtoVarSlot4dataE">
......@@ -1345,7 +1345,7 @@ var _hmt = _hmt || [];
</dl>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ProtoDataProvider"><span class="std std-ref">paddle::ProtoDataProvider</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle25ProtoSequenceDataProvider25ProtoSequenceDataProviderERK10DataConfigbb">
......
......@@ -79,7 +79,7 @@ var _hmt = _hmt || [];
<span id="paddle::Evaluator"></span><span class="target" id="paddleclasspaddle_1_1Evaluator"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">Evaluator</code><a class="headerlink" href="#_CPPv2N6paddle9EvaluatorE" title="Permalink to this definition"></a></dt>
<dd><p>Base class for <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">Evaluator</span></a> Evaluating the performance of a model is very important. It indicates how successful the scores(predictions) of a datasets has been by a trained model. </p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1AucEvaluator"><span class="std std-ref">paddle::AucEvaluator</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ChunkEvaluator"><span class="std std-ref">paddle::ChunkEvaluator</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ClassificationErrorEvaluator"><span class="std std-ref">paddle::ClassificationErrorEvaluator</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ColumnSumEvaluator"><span class="std std-ref">paddle::ColumnSumEvaluator</span></a>, paddle::CombinedEvaluator, <a class="reference internal" href="#paddleclasspaddle_1_1CTCErrorEvaluator"><span class="std std-ref">paddle::CTCErrorEvaluator</span></a>, paddle::DummyEvaluator, <a class="reference internal" href="#paddleclasspaddle_1_1GradientPrinter"><span class="std std-ref">paddle::GradientPrinter</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1MaxFramePrinter"><span class="std std-ref">paddle::MaxFramePrinter</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1MaxIdPrinter"><span class="std std-ref">paddle::MaxIdPrinter</span></a>, paddle::MultiCombinedEvaluator, <a class="reference internal" href="#paddleclasspaddle_1_1PnpairEvaluator"><span class="std std-ref">paddle::PnpairEvaluator</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1PrecisionRecallEvaluator"><span class="std std-ref">paddle::PrecisionRecallEvaluator</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1RankAucEvaluator"><span class="std std-ref">paddle::RankAucEvaluator</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SequenceTextPrinter"><span class="std std-ref">paddle::SequenceTextPrinter</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SumEvaluator"><span class="std std-ref">paddle::SumEvaluator</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ValuePrinter"><span class="std std-ref">paddle::ValuePrinter</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9Evaluator9EvaluatorEv">
......@@ -156,7 +156,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9Evaluator6createERK15EvaluatorConfig">
......@@ -164,7 +164,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle9Evaluator10registrar_E">
......@@ -172,7 +172,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle9Evaluator7config_E">
......@@ -190,7 +190,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt id="_CPPv2lsRNSt7ostreamER9Evaluator">
......@@ -217,7 +217,7 @@ var _hmt = _hmt || [];
<dd><p>sum <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">Evaluator</span></a> Calculate the sum of output or label </p>
<p>The config file api is sum_evaluator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12SumEvaluator12SumEvaluatorEv">
......@@ -271,7 +271,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
</dl>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18ColumnSumEvaluator18ColumnSumEvaluatorE7int32_t">
......@@ -336,7 +336,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<p>The config file api is classification_error_evaluator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1ClassificationErrorPrinter"><span class="std std-ref">paddle::ClassificationErrorPrinter</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SequenceClassificationErrorEvaluator"><span class="std std-ref">paddle::SequenceClassificationErrorEvaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle28ClassificationErrorEvaluator16updateSamplesNumERKNSt6vectorI8ArgumentEE">
......@@ -384,7 +384,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
</dl>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ClassificationErrorEvaluator"><span class="std std-ref">paddle::ClassificationErrorEvaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle36SequenceClassificationErrorEvaluator16updateSamplesNumERKNSt6vectorI8ArgumentEE">
......@@ -433,7 +433,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
</p>
<p>The config file api is auc_evaluator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12AucEvaluator12AucEvaluatorE7int32_t">
......@@ -490,7 +490,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
</p>
<p>The config file api is precision_recall_evaluator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24PrecisionRecallEvaluator24PrecisionRecallEvaluatorEv">
......@@ -537,7 +537,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<dl class="class">
<dt id="_CPPv2N6paddle24PrecisionRecallEvaluator9StatsInfoE">
<span id="paddle::PrecisionRecallEvaluator::StatsInfo"></span><span class="target" id="paddlestructpaddle_1_1PrecisionRecallEvaluator_1_1StatsInfo"></span><em class="property">struct </em><code class="descname">StatsInfo</code><a class="headerlink" href="#_CPPv2N6paddle24PrecisionRecallEvaluator9StatsInfoE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24PrecisionRecallEvaluator9StatsInfo9StatsInfoEv">
......@@ -545,7 +545,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle24PrecisionRecallEvaluator9StatsInfo2TPE">
......@@ -601,7 +601,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
</p>
<p>&#8216;plain&#8217; means the whole chunk must contain exactly the same chunk label. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14ChunkEvaluator4initERK15EvaluatorConfig">
......@@ -675,7 +675,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<span id="paddle::CTCErrorEvaluator"></span><span class="target" id="paddleclasspaddle_1_1CTCErrorEvaluator"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">CTCErrorEvaluator</code><a class="headerlink" href="#_CPPv2N6paddle17CTCErrorEvaluatorE" title="Permalink to this definition"></a></dt>
<dd><p>calculate sequence-to-sequence edit distance </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17CTCErrorEvaluator17CTCErrorEvaluatorEv">
......@@ -743,7 +743,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<dt id="_CPPv2N6paddle15PnpairEvaluatorE">
<span id="paddle::PnpairEvaluator"></span><span class="target" id="paddleclasspaddle_1_1PnpairEvaluator"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">PnpairEvaluator</code><a class="headerlink" href="#_CPPv2N6paddle15PnpairEvaluatorE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15PnpairEvaluator15PnpairEvaluatorEv">
......@@ -808,7 +808,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle15PnpairEvaluator13predictArray_E">
......@@ -819,7 +819,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<dl class="class">
<dt id="_CPPv2N6paddle15PnpairEvaluator16PredictionResultE">
<span id="paddle::PnpairEvaluator::PredictionResult"></span><span class="target" id="paddlestructpaddle_1_1PnpairEvaluator_1_1PredictionResult"></span><em class="property">struct </em><code class="descname">PredictionResult</code><a class="headerlink" href="#_CPPv2N6paddle15PnpairEvaluator16PredictionResultE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15PnpairEvaluator16PredictionResult16PredictionResultE4realii4real">
......@@ -827,7 +827,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle15PnpairEvaluator16PredictionResult3outE">
......@@ -862,7 +862,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<span id="paddle::RankAucEvaluator"></span><span class="target" id="paddleclasspaddle_1_1RankAucEvaluator"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">RankAucEvaluator</code><a class="headerlink" href="#_CPPv2N6paddle16RankAucEvaluatorE" title="Permalink to this definition"></a></dt>
<dd><p><a class="reference internal" href="#paddleclasspaddle_1_1RankAucEvaluator"><span class="std std-ref">RankAucEvaluator</span></a> calculates the AUC of each list (i.e., titles under the same query), and averages them. Each list should be organized as a sequence. The inputs of this evaluator is [output, click, pv]. If pv is not provided, it will be set to 1. The types of click and pv are dense value. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16RankAucEvaluator5startEv">
......@@ -910,7 +910,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<dd><p>print value of each layer. </p>
<p>The config file api is value_printer_evaluator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12ValuePrinter12ValuePrinterEv">
......@@ -954,7 +954,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<dd><p>print gradient of each layer. </p>
<p>The config file api is gradient_printer_evaluator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15GradientPrinter15GradientPrinterEv">
......@@ -998,7 +998,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<dd><p>print row max id vctor of each layer </p>
<p>The config file api is maxid_printer_evaluator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12MaxIdPrinter12MaxIdPrinterEv">
......@@ -1042,7 +1042,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<dd><p>print sequence max frames of each layer </p>
<p>The config file api is maxframe_printer_evaluator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15MaxFramePrinter15MaxFramePrinterEv">
......@@ -1119,7 +1119,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<p>Typically <a class="reference internal" href="#paddleclasspaddle_1_1SequenceTextPrinter"><span class="std std-ref">SequenceTextPrinter</span></a> layer takes output of maxid or RecurrentGroup with maxid (when generating) as an input.</p>
<p>The config file api is seqtext_printer_evaluator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Evaluator"><span class="std std-ref">paddle::Evaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle19SequenceTextPrinter19SequenceTextPrinterEv">
......@@ -1162,7 +1162,7 @@ The config file api is column_sum_evaluator. <dl class="docutils">
<dd><p>print classification error. </p>
<p>The config file api is classification_error_printer_evaluator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ClassificationErrorEvaluator"><span class="std std-ref">paddle::ClassificationErrorEvaluator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle26ClassificationErrorPrinter16updateSamplesNumERKNSt6vectorI8ArgumentEE">
......
......@@ -78,7 +78,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle15GradientMachineE">
<span id="paddle::GradientMachine"></span><span class="target" id="paddleclasspaddle_1_1GradientMachine"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">GradientMachine</code><a class="headerlink" href="#_CPPv2N6paddle15GradientMachineE" title="Permalink to this definition"></a></dt>
<dd><p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1MultiGradientMachine"><span class="std std-ref">paddle::MultiGradientMachine</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1NeuralNetwork"><span class="std std-ref">paddle::NeuralNetwork</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle15GradientMachine10CreateModeE">
......@@ -107,7 +107,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15GradientMachineD0Ev">
......@@ -270,7 +270,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt>
......@@ -303,7 +303,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15GradientMachine15onLoadParameterEv">
......@@ -311,7 +311,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle15GradientMachine11parameters_E">
......@@ -332,7 +332,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle20IGradientMachineModeE">
<span id="paddle::IGradientMachineMode"></span><span class="target" id="paddleclasspaddle_1_1IGradientMachineMode"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">IGradientMachineMode</code><a class="headerlink" href="#_CPPv2N6paddle20IGradientMachineModeE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle20IGradientMachineModeD0Ev">
......@@ -395,7 +395,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle20IGradientMachineMode22regGradientMachineModeE7int32_tRRNSt10unique_ptrI20IGradientMachineModeEE">
......@@ -519,7 +519,7 @@ var _hmt = _hmt || [];
</ol>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1GradientMachine"><span class="std std-ref">paddle::GradientMachine</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle20MultiGradientMachine8TaskTypeE">
......@@ -548,7 +548,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle20MultiGradientMachine20MultiGradientMachineERK11ModelConfigb">
......@@ -649,7 +649,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle20MultiGradientMachine13getAllThreadsEv">
......@@ -784,7 +784,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle20MultiGradientMachine7useGpu_E">
......@@ -903,7 +903,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -918,7 +918,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle13TrainerThreadE">
<span id="paddle::TrainerThread"></span><span class="target" id="paddleclasspaddle_1_1TrainerThread"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">TrainerThread</code><a class="headerlink" href="#_CPPv2N6paddle13TrainerThreadE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13TrainerThread13TrainerThreadERK11ModelConfigiP20MultiGradientMachine">
......@@ -1017,7 +1017,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13TrainerThread17mergeCpuGradientsEv">
......@@ -1086,7 +1086,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13TrainerThread13multiMachine_E">
......@@ -1248,7 +1248,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle24RecurrentGradientMachineE">
<span id="paddle::RecurrentGradientMachine"></span><span class="target" id="paddleclasspaddle_1_1RecurrentGradientMachine"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">RecurrentGradientMachine</code><a class="headerlink" href="#_CPPv2N6paddle24RecurrentGradientMachineE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1NeuralNetwork"><span class="std std-ref">paddle::NeuralNetwork</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine34BeamSearchCandidatesAdjustCallbackE">
......@@ -1290,7 +1290,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine24RecurrentGradientMachineERKNSt6stringEP13NeuralNetwork">
......@@ -1434,7 +1434,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine20resizeOrCreateFramesEi">
......@@ -1487,7 +1487,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine13inFrameLines_E">
......@@ -1608,7 +1608,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine12EosFrameLineE">
<span id="paddle::RecurrentGradientMachine::EosFrameLine"></span><span class="target" id="paddlestructpaddle_1_1RecurrentGradientMachine_1_1EosFrameLine"></span><em class="property">struct </em><code class="descname">EosFrameLine</code><a class="headerlink" href="#_CPPv2N6paddle24RecurrentGradientMachine12EosFrameLineE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine12EosFrameLine6layersE">
......@@ -1621,7 +1621,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine9GeneratorE">
<span id="paddle::RecurrentGradientMachine::Generator"></span><span class="target" id="paddlestructpaddle_1_1RecurrentGradientMachine_1_1Generator"></span><em class="property">struct </em><code class="descname">Generator</code><a class="headerlink" href="#_CPPv2N6paddle24RecurrentGradientMachine9GeneratorE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine9Generator6configE">
......@@ -1644,7 +1644,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine4InfoE">
<span id="paddle::RecurrentGradientMachine::Info"></span><span class="target" id="paddlestructpaddle_1_1RecurrentGradientMachine_1_1Info"></span><em class="property">struct </em><code class="descname">Info</code><a class="headerlink" href="#_CPPv2N6paddle24RecurrentGradientMachine4InfoE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine4Info6allIdsE">
......@@ -1672,7 +1672,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine11InFrameLineE">
<span id="paddle::RecurrentGradientMachine::InFrameLine"></span><span class="target" id="paddlestructpaddle_1_1RecurrentGradientMachine_1_1InFrameLine"></span><em class="property">struct </em><code class="descname">InFrameLine</code><a class="headerlink" href="#_CPPv2N6paddle24RecurrentGradientMachine11InFrameLineE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine11InFrameLine8linkNameE">
......@@ -1705,7 +1705,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine15MemoryFrameLineE">
<span id="paddle::RecurrentGradientMachine::MemoryFrameLine"></span><span class="target" id="paddlestructpaddle_1_1RecurrentGradientMachine_1_1MemoryFrameLine"></span><em class="property">struct </em><code class="descname">MemoryFrameLine</code><a class="headerlink" href="#_CPPv2N6paddle24RecurrentGradientMachine15MemoryFrameLineE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine15MemoryFrameLine9layerNameE">
......@@ -1778,7 +1778,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine12OutFrameLineE">
<span id="paddle::RecurrentGradientMachine::OutFrameLine"></span><span class="target" id="paddlestructpaddle_1_1RecurrentGradientMachine_1_1OutFrameLine"></span><em class="property">struct </em><code class="descname">OutFrameLine</code><a class="headerlink" href="#_CPPv2N6paddle24RecurrentGradientMachine12OutFrameLineE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine12OutFrameLine9layerNameE">
......@@ -1801,7 +1801,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine4PathE">
<span id="paddle::RecurrentGradientMachine::Path"></span><span class="target" id="paddlestructpaddle_1_1RecurrentGradientMachine_1_1Path"></span><em class="property">struct </em><code class="descname">Path</code><a class="headerlink" href="#_CPPv2N6paddle24RecurrentGradientMachine4PathE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine4Path4PathEv">
......@@ -1874,7 +1874,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine4Path3idsE">
......@@ -1920,7 +1920,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24RecurrentGradientMachine4Path11greaterPathERK4PathRK4Path">
......@@ -1943,7 +1943,7 @@ var _hmt = _hmt || [];
<span id="paddle::NeuralNetwork"></span><span class="target" id="paddleclasspaddle_1_1NeuralNetwork"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">NeuralNetwork</code><a class="headerlink" href="#_CPPv2N6paddle13NeuralNetworkE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1GradientMachine"><span class="std std-ref">paddle::GradientMachine</span></a></p>
<p>Subclassed by paddle::MultiNetwork, <a class="reference internal" href="#paddleclasspaddle_1_1ParallelNeuralNetwork"><span class="std std-ref">paddle::ParallelNeuralNetwork</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1RecurrentGradientMachine"><span class="std std-ref">paddle::RecurrentGradientMachine</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -2054,7 +2054,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13NeuralNetwork7connectE8LayerPtr8LayerPtri">
......@@ -2082,7 +2082,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13NeuralNetwork13NeuralNetworkENSt6stringEP13NeuralNetwork">
......@@ -2100,7 +2100,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13NeuralNetwork13subModelName_E">
......@@ -2149,7 +2149,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13NeuralNetwork10dllInitMapE">
......@@ -2167,7 +2167,7 @@ var _hmt = _hmt || [];
<span id="paddle::ParallelNeuralNetwork"></span><span class="target" id="paddleclasspaddle_1_1ParallelNeuralNetwork"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">ParallelNeuralNetwork</code><a class="headerlink" href="#_CPPv2N6paddle21ParallelNeuralNetworkE" title="Permalink to this definition"></a></dt>
<dd><p>A <a class="reference internal" href="#paddleclasspaddle_1_1ParallelNeuralNetwork"><span class="std std-ref">ParallelNeuralNetwork</span></a> is capable of calculating a neural network through multiple threads in parallel. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1NeuralNetwork"><span class="std std-ref">paddle::NeuralNetwork</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle21ParallelNeuralNetwork21ParallelNeuralNetworkENSt6stringEP13NeuralNetwork">
......@@ -2238,7 +2238,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle21ParallelNeuralNetwork7useGpu_E">
......
......@@ -79,7 +79,7 @@ var _hmt = _hmt || [];
<span id="paddle::Layer"></span><span class="target" id="paddleclasspaddle_1_1Layer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">Layer</code><a class="headerlink" href="#_CPPv2N6paddle5LayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>Base class for layer. Define necessary variables and functions for every layer. </p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1AddtoLayer"><span class="std std-ref">paddle::AddtoLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1AgentLayer"><span class="std std-ref">paddle::AgentLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1BatchNormBaseLayer"><span class="std std-ref">paddle::BatchNormBaseLayer</span></a>, paddle::BilinearInterpLayer, <a class="reference internal" href="#paddleclasspaddle_1_1BlockExpandLayer"><span class="std std-ref">paddle::BlockExpandLayer</span></a>, paddle::BootBiasLayer, <a class="reference internal" href="#paddleclasspaddle_1_1ConcatenateLayer"><span class="std std-ref">paddle::ConcatenateLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ConcatenateLayer2"><span class="std std-ref">paddle::ConcatenateLayer2</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ConvBaseLayer"><span class="std std-ref">paddle::ConvBaseLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ConvexCombinationLayer"><span class="std std-ref">paddle::ConvexCombinationLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ConvShiftLayer"><span class="std std-ref">paddle::ConvShiftLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1CosSimLayer"><span class="std std-ref">paddle::CosSimLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1CosSimVecMatLayer"><span class="std std-ref">paddle::CosSimVecMatLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1CostLayer"><span class="std std-ref">paddle::CostLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1CRFLayer"><span class="std std-ref">paddle::CRFLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1CTCLayer"><span class="std std-ref">paddle::CTCLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1DataLayer"><span class="std std-ref">paddle::DataLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1DataNormLayer"><span class="std std-ref">paddle::DataNormLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1EosIdCheckLayer"><span class="std std-ref">paddle::EosIdCheckLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ExpandLayer"><span class="std std-ref">paddle::ExpandLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1FeatureMapExpandLayer"><span class="std std-ref">paddle::FeatureMapExpandLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1FullyConnectedLayer"><span class="std std-ref">paddle::FullyConnectedLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GatedRecurrentLayer"><span class="std std-ref">paddle::GatedRecurrentLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GatherAgentLayer"><span class="std std-ref">paddle::GatherAgentLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GetOutputLayer"><span class="std std-ref">paddle::GetOutputLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GruStepLayer"><span class="std std-ref">paddle::GruStepLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1HierarchicalSigmoidLayer"><span class="std std-ref">paddle::HierarchicalSigmoidLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1InterpolationLayer"><span class="std std-ref">paddle::InterpolationLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1LambdaCost"><span class="std std-ref">paddle::LambdaCost</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1LstmLayer"><span class="std std-ref">paddle::LstmLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1LstmStepLayer"><span class="std std-ref">paddle::LstmStepLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1MaxIdLayer"><span class="std std-ref">paddle::MaxIdLayer</span></a>, paddle::MaxOutLayer, <a class="reference internal" href="#paddleclasspaddle_1_1MixedLayer"><span class="std std-ref">paddle::MixedLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1MultiplexLayer"><span class="std std-ref">paddle::MultiplexLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1NCELayer"><span class="std std-ref">paddle::NCELayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1NormLayer"><span class="std std-ref">paddle::NormLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1OuterProdLayer"><span class="std std-ref">paddle::OuterProdLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ParameterReluLayer"><span class="std std-ref">paddle::ParameterReluLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1PoolLayer"><span class="std std-ref">paddle::PoolLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1PowerLayer"><span class="std std-ref">paddle::PowerLayer</span></a>, paddle::PrintLayer, <a class="reference internal" href="#paddleclasspaddle_1_1RankingCost"><span class="std std-ref">paddle::RankingCost</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1RecurrentLayer"><span class="std std-ref">paddle::RecurrentLayer</span></a>, paddle::RecurrentLayerGroup, <a class="reference internal" href="#paddleclasspaddle_1_1ResizeLayer"><span class="std std-ref">paddle::ResizeLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SamplingIdLayer"><span class="std std-ref">paddle::SamplingIdLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ScalingLayer"><span class="std std-ref">paddle::ScalingLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ScatterAgentLayer"><span class="std std-ref">paddle::ScatterAgentLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SelectiveFullyConnectedLayer"><span class="std std-ref">paddle::SelectiveFullyConnectedLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SequenceConcatLayer"><span class="std std-ref">paddle::SequenceConcatLayer</span></a>, paddle::SequencePoolLayer, <a class="reference internal" href="#paddleclasspaddle_1_1SequenceReshapeLayer"><span class="std std-ref">paddle::SequenceReshapeLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SlopeInterceptLayer"><span class="std std-ref">paddle::SlopeInterceptLayer</span></a>, paddle::SpatialPyramidPoolLayer, <a class="reference internal" href="#paddleclasspaddle_1_1SubSequenceLayer"><span class="std std-ref">paddle::SubSequenceLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SumCostLayer"><span class="std std-ref">paddle::SumCostLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SumToOneNormLayer"><span class="std std-ref">paddle::SumToOneNormLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1TensorLayer"><span class="std std-ref">paddle::TensorLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1TransLayer"><span class="std std-ref">paddle::TransLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ValidationLayer"><span class="std std-ref">paddle::ValidationLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle5Layer14waitInputValueEv">
......@@ -331,7 +331,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle5Layer6createERK11LayerConfig">
......@@ -340,7 +340,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle5Layer10registrar_E">
......@@ -349,7 +349,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle5Layer13markInputGradEi">
......@@ -436,7 +436,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle5Layer7config_E">
......@@ -550,7 +550,7 @@ var _hmt = _hmt || [];
<span id="paddle::Projection"></span><span class="target" id="paddleclasspaddle_1_1Projection"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">Projection</code><a class="headerlink" href="#_CPPv2N6paddle10ProjectionE" title="Permalink to this definition">¶</a></dt>
<dd><p>A projection takes one <a class="reference internal" href="../../parameter/parameter/parameter.html#paddlestructpaddle_1_1Argument"><span class="std std-ref">Argument</span></a> as input, calculate the result and add it to output <a class="reference internal" href="../../parameter/parameter/parameter.html#paddlestructpaddle_1_1Argument"><span class="std std-ref">Argument</span></a>. </p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1ContextProjection"><span class="std std-ref">paddle::ContextProjection</span></a>, paddle::ConvProjection, <a class="reference internal" href="#paddleclasspaddle_1_1DotMulProjection"><span class="std std-ref">paddle::DotMulProjection</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1FullMatrixProjection"><span class="std std-ref">paddle::FullMatrixProjection</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1IdentityOffsetProjection"><span class="std std-ref">paddle::IdentityOffsetProjection</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1IdentityProjection"><span class="std std-ref">paddle::IdentityProjection</span></a>, paddle::PoolProjection, paddle::ScalingProjection, <a class="reference internal" href="#paddleclasspaddle_1_1TableProjection"><span class="std std-ref">paddle::TableProjection</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1TransposedFullMatrixProjection"><span class="std std-ref">paddle::TransposedFullMatrixProjection</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10Projection10ProjectionERK16ProjectionConfig12ParameterPtrb">
......@@ -622,7 +622,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10Projection6createERK16ProjectionConfig12ParameterPtrb">
......@@ -630,7 +630,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle10Projection10registrar_E">
......@@ -639,7 +639,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle10Projection7config_E">
......@@ -691,7 +691,7 @@ var _hmt = _hmt || [];
</dl>
</p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1ConvOperator"><span class="std std-ref">paddle::ConvOperator</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1DotMulOperator"><span class="std std-ref">paddle::DotMulOperator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle8Operator8OperatorERK14OperatorConfigb">
......@@ -757,7 +757,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle8Operator6createERK14OperatorConfigb">
......@@ -765,7 +765,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle8Operator10registrar_E">
......@@ -773,7 +773,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle8Operator7config_E">
......@@ -817,7 +817,7 @@ var _hmt = _hmt || [];
<dd><p>This layer just copy data to output, and has no backward propagation.</p>
<p>The config file api is data_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9DataLayer9DataLayerERK11LayerConfig">
......@@ -854,7 +854,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle9DataLayer5data_E">
......@@ -875,7 +875,7 @@ var _hmt = _hmt || [];
<dd><p>A layer has full connections to all neurons in the previous layer. It computes an inner product with a set of learned weights, and (optionally) adds biases.</p>
<p>The config file api is fc_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle19FullyConnectedLayer19FullyConnectedLayerERK11LayerConfig">
......@@ -917,7 +917,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle19FullyConnectedLayer8weights_E">
......@@ -942,7 +942,7 @@ var _hmt = _hmt || [];
<p><a class="reference internal" href="#paddleclasspaddle_1_1SelectiveFullyConnectedLayer"><span class="std std-ref">SelectiveFullyConnectedLayer</span></a> differs from <a class="reference internal" href="#paddleclasspaddle_1_1FullyConnectedLayer"><span class="std std-ref">FullyConnectedLayer</span></a> by that it requires an additional input to indicate several selected columns, and only compute the multiplications between the input matrices and the selected columns of the parameter matrices of this layer. If the selected columns is not specified, SelectiveFullyConnected layer acts exactly like <a class="reference internal" href="#paddleclasspaddle_1_1FullyConnectedLayer"><span class="std std-ref">FullyConnectedLayer</span></a>.</p>
<p>The config file api is selective_fc_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle28SelectiveFullyConnectedLayer28SelectiveFullyConnectedLayerERK11LayerConfig">
......@@ -1006,7 +1006,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle28SelectiveFullyConnectedLayer8weights_E">
......@@ -1033,7 +1033,7 @@ var _hmt = _hmt || [];
<dd><p>A Base Convolution <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">Layer</span></a>, which convolves the input image with learned filters and (optionally) adds biases. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1CudnnConvLayer"><span class="std std-ref">paddle::CudnnConvLayer</span></a>, paddle::ExpandConvBaseLayer</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13ConvBaseLayer13ConvBaseLayerERK11LayerConfig">
......@@ -1058,7 +1058,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle13ConvBaseLayer4IntVE">
......@@ -1066,7 +1066,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13ConvBaseLayer9isDeconv_E">
......@@ -1200,7 +1200,7 @@ var _hmt = _hmt || [];
<dd><p><a class="reference internal" href="#paddleclasspaddle_1_1ConvOperator"><span class="std std-ref">ConvOperator</span></a> takes two inputs to perform the convolution. The first input is the image, and the second input is the convolution kernel. The height of data for two inputs are the same. Each data of the first input is convolved with each data of the second input indepedently. </p>
<p>The config file api is conv_operator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Operator"><span class="std std-ref">paddle::Operator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12ConvOperator12ConvOperatorERK14OperatorConfigb">
......@@ -1256,7 +1256,7 @@ var _hmt = _hmt || [];
</p>
<p>The config file api is conv_shift_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14ConvShiftLayer14ConvShiftLayerERK11LayerConfig">
......@@ -1298,7 +1298,7 @@ var _hmt = _hmt || [];
<dd><p>A 2-dimension conv layer implemented by cuDNN. It only supports GPU mode. We automatic select <a class="reference internal" href="#paddleclasspaddle_1_1CudnnConvLayer"><span class="std std-ref">CudnnConvLayer</span></a> for GPU mode and <a class="reference internal" href="#paddleclasspaddle_1_1ExpandConvLayer"><span class="std std-ref">ExpandConvLayer</span></a> for CPU mode if you set type of &#8220;conv&#8221;. User also can specfiy type of &#8220;exconv&#8221; or &#8220;cudnn_conv&#8221; for particular type. </p>
<p>The config file api is img_conv_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ConvBaseLayer"><span class="std std-ref">paddle::ConvBaseLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14CudnnConvLayer14CudnnConvLayerERK11LayerConfig">
......@@ -1339,7 +1339,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle14CudnnConvLayer9projConf_E">
......@@ -1383,7 +1383,7 @@ var _hmt = _hmt || [];
<dd><p>A subclass of convolution layer. This layer expands input and use matrix multiplication to calculate convolution operation. </p>
<p>The config file api is img_conv_layer. </p>
<p>Inherits from paddle::ExpandConvBaseLayer</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15ExpandConvLayer15ExpandConvLayerERK11LayerConfig">
......@@ -1437,7 +1437,7 @@ var _hmt = _hmt || [];
</p>
<p>The config file api is context_projection. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Projection"><span class="std std-ref">paddle::Projection</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17ContextProjection17ContextProjectionERK16ProjectionConfig12ParameterPtrb">
......@@ -1474,7 +1474,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle17ContextProjection7weight_E">
......@@ -1519,7 +1519,7 @@ var _hmt = _hmt || [];
<dd><p>Basic parent layer of pooling Pools the input within regions. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1CudnnPoolLayer"><span class="std std-ref">paddle::CudnnPoolLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1PoolProjectionLayer"><span class="std std-ref">paddle::PoolProjectionLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9PoolLayer9PoolLayerERK11LayerConfig">
......@@ -1533,7 +1533,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9PoolLayer6createERK11LayerConfig">
......@@ -1542,7 +1542,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle9PoolLayer9channels_E">
......@@ -1615,7 +1615,7 @@ var _hmt = _hmt || [];
<span id="paddle::PoolProjectionLayer"></span><span class="target" id="paddleclasspaddle_1_1PoolProjectionLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">PoolProjectionLayer</code><a class="headerlink" href="#_CPPv2N6paddle19PoolProjectionLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>Basic parent layer of different kinds of pooling. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1PoolLayer"><span class="std std-ref">paddle::PoolLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle19PoolProjectionLayer19PoolProjectionLayerERK11LayerConfig">
......@@ -1640,7 +1640,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle19PoolProjectionLayer9imgSizeH_E">
......@@ -1684,7 +1684,7 @@ var _hmt = _hmt || [];
<dd><p><a class="reference internal" href="#paddleclasspaddle_1_1CudnnPoolLayer"><span class="std std-ref">CudnnPoolLayer</span></a> is subclass of <a class="reference internal" href="#paddleclasspaddle_1_1PoolLayer"><span class="std std-ref">PoolLayer</span></a>, which is implemented by cudnn api and only supports GPU. </p>
<p>The config file api is img_pool_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1PoolLayer"><span class="std std-ref">paddle::PoolLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14CudnnPoolLayer14CudnnPoolLayerERK11LayerConfig">
......@@ -1721,7 +1721,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14CudnnPoolLayer9typeCheckERKNSt6stringEP17hl_pooling_mode_t">
......@@ -1729,7 +1729,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle14CudnnPoolLayer12windowHeightE">
......@@ -1825,7 +1825,7 @@ var _hmt = _hmt || [];
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1ResponseNormLayer"><span class="std std-ref">paddle::ResponseNormLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9NormLayer9NormLayerERK11LayerConfig">
......@@ -1839,7 +1839,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9NormLayer6createERK11LayerConfig">
......@@ -1858,7 +1858,7 @@ var _hmt = _hmt || [];
<span id="paddle::CMRProjectionNormLayer"></span><span class="target" id="paddleclasspaddle_1_1CMRProjectionNormLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">CMRProjectionNormLayer</code><a class="headerlink" href="#_CPPv2N6paddle22CMRProjectionNormLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>response normalization across feature maps namely normalize in number of size_ channels </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ResponseNormLayer"><span class="std std-ref">paddle::ResponseNormLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle22CMRProjectionNormLayer22CMRProjectionNormLayerERK11LayerConfig">
......@@ -1916,7 +1916,7 @@ var _hmt = _hmt || [];
</ul>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle13DataNormLayer21NormalizationStrategyE">
......@@ -1940,7 +1940,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13DataNormLayer13DataNormLayerERK11LayerConfig">
......@@ -1971,7 +1971,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13DataNormLayer5mode_E">
......@@ -2020,7 +2020,7 @@ var _hmt = _hmt || [];
<dd><p>response normalization within feature maps namely normalize in independent channel When code refactoring, we delete the original implementation. Need to implement in the futrue. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1NormLayer"><span class="std std-ref">paddle::NormLayer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1CMRProjectionNormLayer"><span class="std std-ref">paddle::CMRProjectionNormLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17ResponseNormLayer17ResponseNormLayerERK11LayerConfig">
......@@ -2046,7 +2046,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle17ResponseNormLayer9channels_E">
......@@ -2099,7 +2099,7 @@ var _hmt = _hmt || [];
Training by Reducing Internal Covariate Shift.&#8221; arXiv preprint arXiv:1502.03167 (2015). </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1BatchNormalizationLayer"><span class="std std-ref">paddle::BatchNormalizationLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1CudnnBatchNormLayer"><span class="std std-ref">paddle::CudnnBatchNormLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18BatchNormBaseLayer18BatchNormBaseLayerERK11LayerConfig">
......@@ -2124,7 +2124,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18BatchNormBaseLayer6createERK11LayerConfig">
......@@ -2133,7 +2133,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle18BatchNormBaseLayer7weight_E">
......@@ -2220,7 +2220,7 @@ var _hmt = _hmt || [];
<dd><p>A Inheritance class of Batch normalization layer. It supports both CPU and GPU. </p>
<p>The config file api is batch_norm_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1BatchNormBaseLayer"><span class="std std-ref">paddle::BatchNormBaseLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle23BatchNormalizationLayer23BatchNormalizationLayerERK11LayerConfig">
......@@ -2251,7 +2251,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle23BatchNormalizationLayer13setMeanAndStdEv">
......@@ -2284,7 +2284,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle23BatchNormalizationLayer7tmpMat_E">
......@@ -2348,7 +2348,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle23BatchNormalizationLayer3EPSE">
......@@ -2373,7 +2373,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
</dl>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1BatchNormBaseLayer"><span class="std std-ref">paddle::BatchNormBaseLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle19CudnnBatchNormLayer19CudnnBatchNormLayerERK11LayerConfig">
......@@ -2410,7 +2410,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle19CudnnBatchNormLayer7ioDesc_E">
......@@ -2436,7 +2436,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle19CudnnBatchNormLayer3EPSE">
......@@ -2458,7 +2458,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
where <span class="math">\(in\)</span> is a (batchSize x dataDim) input vector, and <span class="math">\(out\)</span> is a (batchSize x dataDim) output vector.</p>
<p>The config file api is sum_to_one_norm_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17SumToOneNormLayer17SumToOneNormLayerERK11LayerConfig">
......@@ -2489,7 +2489,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle17SumToOneNormLayer17reciprocalRowSum_E">
......@@ -2521,7 +2521,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
\[\begin{split} dx = x &gt; 0 ? dy : w .* dy \\ dw = x &gt; 0 ? 0 : dy.*x \end{split}\]</div>
Here, x is the input, w is the weight, y is the output. dx, dw, dy is the gradient. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18ParameterReluLayer18ParameterReluLayerERK11LayerConfig">
......@@ -2552,7 +2552,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle18ParameterReluLayer7weight_E">
......@@ -2589,7 +2589,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
\[\begin{split} out_{i} = act(in_{i}) \ \ \text{for} \ i = end \\ out_{i} = act(in_{i} + out_{i+1} * W) \ \ \text{for} \ start &lt;= i &lt; end \end{split}\]</div>
There are two methods to calculate rnn. One way is to compute rnn one sequence by one sequence. The other way is to reorganize the input into batches, then compute rnn one batch by one batch. Users can select them by rnn_use_batch flag. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14RecurrentLayer14RecurrentLayerERK11LayerConfig">
......@@ -2638,7 +2638,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14RecurrentLayer15forwardSequenceEi6size_tPKi">
......@@ -2735,7 +2735,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle14RecurrentLayer7weight_E">
......@@ -2785,7 +2785,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
<dl class="class">
<dt id="_CPPv2N6paddle15SequenceToBatchE">
<span id="paddle::SequenceToBatch"></span><span class="target" id="paddleclasspaddle_1_1SequenceToBatch"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SequenceToBatch</code><a class="headerlink" href="#_CPPv2N6paddle15SequenceToBatchE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15SequenceToBatch15SequenceToBatchEb">
......@@ -2858,7 +2858,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15SequenceToBatch18sequence2BatchCopyER6MatrixR6MatrixR7IVectorb">
......@@ -2871,7 +2871,7 @@ The config file api is batch_norm_layer. <dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle15SequenceToBatch20batchStartPositions_E">
......@@ -2968,7 +2968,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1LstmCompute"><span class="std std-ref">paddle::LstmCompute</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1MDLstmLayer"><span class="std std-ref">paddle::MDLstmLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9LstmLayer9LstmLayerERK11LayerConfig">
......@@ -3017,7 +3017,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9LstmLayer15forwardSequenceEi6size_tPKi9MatrixPtr">
......@@ -3085,7 +3085,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle9LstmLayer7weight_E">
......@@ -3228,7 +3228,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
<dt id="_CPPv2N6paddle13LstmStepLayerE">
<span id="paddle::LstmStepLayer"></span><span class="target" id="paddleclasspaddle_1_1LstmStepLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">LstmStepLayer</code><a class="headerlink" href="#_CPPv2N6paddle13LstmStepLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1LstmCompute"><span class="std std-ref">paddle::LstmCompute</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13LstmStepLayer13LstmStepLayerERK11LayerConfig">
......@@ -3259,7 +3259,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13LstmStepLayer6state_E">
......@@ -3321,7 +3321,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
<dt id="_CPPv2N6paddle11LstmComputeE">
<span id="paddle::LstmCompute"></span><span class="target" id="paddleclasspaddle_1_1LstmCompute"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">LstmCompute</code><a class="headerlink" href="#_CPPv2N6paddle11LstmComputeE" title="Permalink to this definition">¶</a></dt>
<dd><p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1LstmLayer"><span class="std std-ref">paddle::LstmLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1LstmStepLayer"><span class="std std-ref">paddle::LstmStepLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11LstmCompute4initER11LayerConfig">
......@@ -3415,7 +3415,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle11LstmCompute11activeNode_E">
......@@ -3445,7 +3445,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
<dt id="_CPPv2N6paddle11MDLstmLayerE">
<span id="paddle::MDLstmLayer"></span><span class="target" id="paddleclasspaddle_1_1MDLstmLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">MDLstmLayer</code><a class="headerlink" href="#_CPPv2N6paddle11MDLstmLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1LstmLayer"><span class="std std-ref">paddle::LstmLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11MDLstmLayer11MDLstmLayerERK11LayerConfig">
......@@ -3471,7 +3471,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11MDLstmLayer18forwardOneSequenceEiR13CoordIterator">
......@@ -3494,7 +3494,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle11MDLstmLayer15frameInputGate_E">
......@@ -3580,7 +3580,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
<dl class="class">
<dt id="_CPPv2N6paddle13CoordIteratorE">
<span id="paddle::CoordIterator"></span><span class="target" id="paddleclasspaddle_1_1CoordIterator"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">CoordIterator</code><a class="headerlink" href="#_CPPv2N6paddle13CoordIteratorE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13CoordIterator4stepE6size_tb">
......@@ -3643,7 +3643,7 @@ The weight ([size, 4*size]) contains <span class="math">\(W_{hi}, W_{hf}, W_{hc}
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle13CoordIterator5dims_E">
......@@ -3699,7 +3699,7 @@ The config file is grumemory. <dl class="docutils">
</dl>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GruCompute"><span class="std std-ref">paddle::GruCompute</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle19GatedRecurrentLayer19GatedRecurrentLayerERK11LayerConfig">
......@@ -3748,7 +3748,7 @@ The config file is grumemory. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle19GatedRecurrentLayer15forwardSequenceEi6size_tPKi9MatrixPtr">
......@@ -3771,7 +3771,7 @@ The config file is grumemory. <dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle19GatedRecurrentLayer7weight_E">
......@@ -3870,7 +3870,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dl>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GruCompute"><span class="std std-ref">paddle::GruCompute</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12GruStepLayer12GruStepLayerERK11LayerConfig">
......@@ -3901,7 +3901,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle12GruStepLayer5gate_E">
......@@ -3933,7 +3933,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dt id="_CPPv2N6paddle10GruComputeE">
<span id="paddle::GruCompute"></span><span class="target" id="paddleclasspaddle_1_1GruCompute"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">GruCompute</code><a class="headerlink" href="#_CPPv2N6paddle10GruComputeE" title="Permalink to this definition">¶</a></dt>
<dd><p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1GatedRecurrentLayer"><span class="std std-ref">paddle::GatedRecurrentLayer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GruStepLayer"><span class="std std-ref">paddle::GruStepLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10GruCompute4initER11LayerConfig">
......@@ -3983,7 +3983,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle10GruCompute11activeNode_E">
......@@ -4011,7 +4011,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd><p><a class="reference internal" href="#paddleclasspaddle_1_1AgentLayer"><span class="std std-ref">AgentLayer</span></a> use as a virtual input of another layer in config, before execute forward/backward, setRealLayer() should be called to set one and only one real layer </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1SequenceAgentLayer"><span class="std std-ref">paddle::SequenceAgentLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10AgentLayer10AgentLayerERK11LayerConfig">
......@@ -4047,7 +4047,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle10AgentLayer10realLayer_E">
......@@ -4070,7 +4070,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<span id="paddle::SequenceAgentLayer"></span><span class="target" id="paddleclasspaddle_1_1SequenceAgentLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SequenceAgentLayer</code><a class="headerlink" href="#_CPPv2N6paddle18SequenceAgentLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>like <a class="reference internal" href="#paddleclasspaddle_1_1AgentLayer"><span class="std std-ref">AgentLayer</span></a>, but use first <em>numSamples</em> sequences </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1AgentLayer"><span class="std std-ref">paddle::AgentLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18SequenceAgentLayer18SequenceAgentLayerERK11LayerConfig">
......@@ -4106,7 +4106,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd><p>Like <a class="reference internal" href="#paddleclasspaddle_1_1AgentLayer"><span class="std std-ref">AgentLayer</span></a>, but it can gather many real layers. Each real layer give a few rows of a sequence, after gather all real layers, <a class="reference internal" href="#paddleclasspaddle_1_1GatherAgentLayer"><span class="std std-ref">GatherAgentLayer</span></a> collect a complete sequence. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1SequenceGatherAgentLayer"><span class="std std-ref">paddle::SequenceGatherAgentLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16GatherAgentLayer16GatherAgentLayerERK11LayerConfig">
......@@ -4147,7 +4147,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16GatherAgentLayer11realLayers_E">
......@@ -4180,7 +4180,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<span id="paddle::SequenceGatherAgentLayer"></span><span class="target" id="paddleclasspaddle_1_1SequenceGatherAgentLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SequenceGatherAgentLayer</code><a class="headerlink" href="#_CPPv2N6paddle24SequenceGatherAgentLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>Like <a class="reference internal" href="#paddleclasspaddle_1_1GatherAgentLayer"><span class="std std-ref">GatherAgentLayer</span></a>, but select a few sequence in real layer. <em>ids</em> in addRealLayer() are the ids of selected sequence. It&#8217;s used to reorder sequence output. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1GatherAgentLayer"><span class="std std-ref">paddle::GatherAgentLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24SequenceGatherAgentLayer24SequenceGatherAgentLayerERK11LayerConfig">
......@@ -4216,7 +4216,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd><p>Like <a class="reference internal" href="#paddleclasspaddle_1_1AgentLayer"><span class="std std-ref">AgentLayer</span></a>, but only select a few rows in real layer. [idIndex, idIndex + idSize) of <em>ids</em> in setRealLayerAndOutput() are the selected row ids. It&#8217;s used to scatter one layer&#8217;s output to many small submodels. <a class="reference internal" href="#paddleclasspaddle_1_1ScatterAgentLayer"><span class="std std-ref">ScatterAgentLayer</span></a> can support ids real layer, if it is, the agent will select a few ids in real layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1SequenceScatterAgentLayer"><span class="std std-ref">paddle::SequenceScatterAgentLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17ScatterAgentLayer17ScatterAgentLayerERK11LayerConfig">
......@@ -4273,7 +4273,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle17ScatterAgentLayer10realLayer_E">
......@@ -4326,7 +4326,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<span id="paddle::SequenceScatterAgentLayer"></span><span class="target" id="paddleclasspaddle_1_1SequenceScatterAgentLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SequenceScatterAgentLayer</code><a class="headerlink" href="#_CPPv2N6paddle25SequenceScatterAgentLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>Like <a class="reference internal" href="#paddleclasspaddle_1_1ScatterAgentLayer"><span class="std std-ref">ScatterAgentLayer</span></a>, but select a few sequence in real layer. <em>ids</em> in <a class="reference internal" href="#paddleclasspaddle_1_1ScatterAgentLayer_1abc1b52a1a9b0fa738300450626e24b80"><span class="std std-ref">setRealLayer()</span></a> or setRealLayerAndOutput() are the ids of selected sequence. It&#8217;s used to reorder sequence input. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ScatterAgentLayer"><span class="std std-ref">paddle::ScatterAgentLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle25SequenceScatterAgentLayer25SequenceScatterAgentLayerERK11LayerConfig">
......@@ -4351,7 +4351,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle25SequenceScatterAgentLayer14inputStartPos_E">
......@@ -4368,7 +4368,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dt id="_CPPv2N6paddle14GetOutputLayerE">
<span id="paddle::GetOutputLayer"></span><span class="target" id="paddleclasspaddle_1_1GetOutputLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">GetOutputLayer</code><a class="headerlink" href="#_CPPv2N6paddle14GetOutputLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14GetOutputLayer14GetOutputLayerERK11LayerConfig">
......@@ -4411,7 +4411,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd><p>A mixed layer has multiple input layers. Each input layer was processed by a <a class="reference internal" href="#paddleclasspaddle_1_1Projection"><span class="std std-ref">Projection</span></a> or <a class="reference internal" href="#paddleclasspaddle_1_1Operator"><span class="std std-ref">Operator</span></a>. The results of all projections or Operators are summed together with bias (if configured), and then go through an activation function and dropout (if configured).</p>
<p>The config file api is mixed_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10MixedLayer10MixedLayerERK11LayerConfig">
......@@ -4467,7 +4467,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle10MixedLayer12projections_E">
......@@ -4508,7 +4508,7 @@ The config file api if gru_step_layer. <dl class="docutils">
where <span class="math">\(.*\)</span> means element-wise multiplication.</p>
<p>The config file api is dotmul_projection. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Projection"><span class="std std-ref">paddle::Projection</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16DotMulProjection16DotMulProjectionERK16ProjectionConfigRK12ParameterPtrb">
......@@ -4526,7 +4526,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16DotMulProjection7weight_E">
......@@ -4548,7 +4548,7 @@ The config file api if gru_step_layer. <dl class="docutils">
where <span class="math">\(.*\)</span> means element-wise multiplication, and scale is a config scalar, its default value is one.</p>
<p>The config file api is dotmul_operator. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Operator"><span class="std std-ref">paddle::Operator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14DotMulOperator14DotMulOperatorERK14OperatorConfigb">
......@@ -4579,7 +4579,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</p>
<p>The config file api is full_matrix_projection. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Projection"><span class="std std-ref">paddle::Projection</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle20FullMatrixProjection20FullMatrixProjectionERK16ProjectionConfigRK12ParameterPtrb">
......@@ -4597,7 +4597,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle20FullMatrixProjection7weight_E">
......@@ -4618,7 +4618,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</p>
<p>The config file api is identity_projection. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Projection"><span class="std std-ref">paddle::Projection</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18IdentityProjection18IdentityProjectionERK16ProjectionConfigRK12ParameterPtrb">
......@@ -4654,7 +4654,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</p>
<p>The config file api is identity_projection. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Projection"><span class="std std-ref">paddle::Projection</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24IdentityOffsetProjection24IdentityOffsetProjectionERK16ProjectionConfigRK12ParameterPtrb">
......@@ -4695,7 +4695,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dl>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Projection"><span class="std std-ref">paddle::Projection</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15TableProjection15TableProjectionERK16ProjectionConfigRK12ParameterPtrb">
......@@ -4719,7 +4719,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle15TableProjection6table_E">
......@@ -4738,7 +4738,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd><p><a class="reference internal" href="#paddleclasspaddle_1_1TransposedFullMatrixProjection"><span class="std std-ref">TransposedFullMatrixProjection</span></a> performs full matrix multiplication: out.row[i] += in.row[i] * weight.transpose. </p>
<p>The config file api is trans_full_matrix_projection. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Projection"><span class="std std-ref">paddle::Projection</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle30TransposedFullMatrixProjection30TransposedFullMatrixProjectionERK16ProjectionConfig12ParameterPtrb">
......@@ -4756,7 +4756,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle30TransposedFullMatrixProjection7weight_E">
......@@ -4780,7 +4780,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd><p>A layer for &#8220;internal average&#8221; for sequence input. Input: one or more sequences. Each sequence contains some instances. If SequenceLevel = kNonSeq: Output: output size is the number of input sequences (NOT input instances) output[i] = average_{for each instance in this sequence}{input[i]} If SequenceLevel = kSeq: Check input sequence must has sub-sequence Output: output size is the number of input sub-sequences output[i] = average_{for each instance in this sub-sequence}{input[i]}</p>
<p>The config file api is pooling_layer. </p>
<p>Inherits from paddle::SequencePoolLayer</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle12AverageLayer15AverageStrategyE">
......@@ -4804,7 +4804,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12AverageLayer12AverageLayerERK11LayerConfig">
......@@ -4835,7 +4835,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle12AverageLayer7outMtx_E">
......@@ -4864,7 +4864,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd><p>A layer for &#8220;internal max&#8221; for sequence input. Input: one or more sequences. Each sequence contains some instances. If SequenceLevel = kNonSeq: Output: output size is the number of input sequences (NOT input instances) output[i] = max_{for each instance in this sequence}{input[i]} If SequenceLevel = kSeq: Check input sequence must has sub-sequence Output: output size is the number of input sub-sequences output[i] = max_{for each instance in this sub-sequence}{input[i]}</p>
<p>The config file api is pooling_layer. </p>
<p>Inherits from paddle::SequencePoolLayer</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle8MaxLayer8MaxLayerERK11LayerConfig">
......@@ -4895,7 +4895,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle8MaxLayer9maxIndex_E">
......@@ -4914,7 +4914,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd><p>A layer for extracting the last instance of the input sequence. Input: a sequence If SequenceLevel = kNonseq: Output: a sequence containing only the last instance of the input sequence If SequenceLevel = kSeq: Check input sequence must has sub-sequence Output: a sequence containing only the last instance of each sub-sequence of the input sequence</p>
<p>The config file api is last_seq and first_seq. </p>
<p>Inherits from paddle::SequencePoolLayer</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle25SequenceLastInstanceLayer25SequenceLastInstanceLayerERK11LayerConfig">
......@@ -4945,7 +4945,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle25SequenceLastInstanceLayer7tmpSrc_E">
......@@ -4971,7 +4971,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<span id="paddle::ConcatenateLayer"></span><span class="target" id="paddleclasspaddle_1_1ConcatenateLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">ConcatenateLayer</code><a class="headerlink" href="#_CPPv2N6paddle16ConcatenateLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>A concatenate layer has multiple input layers. It concatenates rows of each input as one row for the output of this layer and apply activation. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16ConcatenateLayer16ConcatenateLayerERK11LayerConfig">
......@@ -5012,7 +5012,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<span id="paddle::ConcatenateLayer2"></span><span class="target" id="paddleclasspaddle_1_1ConcatenateLayer2"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">ConcatenateLayer2</code><a class="headerlink" href="#_CPPv2N6paddle17ConcatenateLayer2E" title="Permalink to this definition">¶</a></dt>
<dd><p>concat2 layer is like concat layer, but each input layer was processed by a <a class="reference internal" href="#paddleclasspaddle_1_1Projection"><span class="std std-ref">Projection</span></a>. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17ConcatenateLayer217ConcatenateLayer2ERK11LayerConfig">
......@@ -5043,7 +5043,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle17ConcatenateLayer212projections_E">
......@@ -5081,7 +5081,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<span id="paddle::SequenceConcatLayer"></span><span class="target" id="paddleclasspaddle_1_1SequenceConcatLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SequenceConcatLayer</code><a class="headerlink" href="#_CPPv2N6paddle19SequenceConcatLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>A layer for concatenating the first sequence with the second sequence following the first Input: two sequences each containing some instances Output: a concatenated sequence of the two input sequences </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle19SequenceConcatLayer19SequenceConcatLayerERK11LayerConfig">
......@@ -5112,7 +5112,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle19SequenceConcatLayer7biases_E">
......@@ -5133,7 +5133,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<span id="paddle::SubSequenceLayer"></span><span class="target" id="paddleclasspaddle_1_1SubSequenceLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SubSequenceLayer</code><a class="headerlink" href="#_CPPv2N6paddle16SubSequenceLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>A layer for taking the subsequence according to given offset and size Input: original sequence, offset, size Output: subsequence </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16SubSequenceLayer16SubSequenceLayerERK11LayerConfig">
......@@ -5164,7 +5164,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16SubSequenceLayer7biases_E">
......@@ -5208,7 +5208,7 @@ The config file api if gru_step_layer. <dl class="docutils">
<p>The expand method is the same with <a class="reference internal" href="#paddleclasspaddle_1_1ExpandConvLayer"><span class="std std-ref">ExpandConvLayer</span></a>, but saved the transposed value. After expanding, output_.sequenceStartPositions will store timeline. The number of time steps are outputH_ * outputW_ and the dimension of each time step is blockH_ * blockW_ * channels_. This layer can be used after convolution neural network, and before recurrent neural network.</p>
<p>The config file api is block_expand_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16BlockExpandLayer16BlockExpandLayerERK11LayerConfig">
......@@ -5239,7 +5239,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16BlockExpandLayer11getBlockNumEv">
......@@ -5253,7 +5253,7 @@ The config file api if gru_step_layer. <dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16BlockExpandLayer7blockH_E">
......@@ -5342,7 +5342,7 @@ sequence is one) to sequence data.&#8221;</p>
<p>And the output size is the batch size(not instances) of second input.</p>
<p>The config file api is expand_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11ExpandLayer11ExpandLayerERK11LayerConfig">
......@@ -5373,7 +5373,7 @@ sequence is one) to sequence data.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle11ExpandLayer11ExpandLevelE">
......@@ -5393,7 +5393,7 @@ sequence is one) to sequence data.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle11ExpandLayer7biases_E">
......@@ -5436,7 +5436,7 @@ sequence is one) to sequence data.&#8221;</p>
</ul>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle21FeatureMapExpandLayer21FeatureMapExpandLayerERK11LayerConfig">
......@@ -5482,7 +5482,7 @@ sequence is one) to sequence data.&#8221;</p>
</dl>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11ResizeLayer11ResizeLayerERK11LayerConfig">
......@@ -5518,7 +5518,7 @@ sequence is one) to sequence data.&#8221;</p>
<span id="paddle::SequenceReshapeLayer"></span><span class="target" id="paddleclasspaddle_1_1SequenceReshapeLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SequenceReshapeLayer</code><a class="headerlink" href="#_CPPv2N6paddle20SequenceReshapeLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>A layer for reshaping the sequence Input: a sequence Output: a sequence </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle20SequenceReshapeLayer20SequenceReshapeLayerERK11LayerConfig">
......@@ -5549,7 +5549,7 @@ sequence is one) to sequence data.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle20SequenceReshapeLayer7biases_E">
......@@ -5578,7 +5578,7 @@ sequence is one) to sequence data.&#8221;</p>
where <span class="math">\(y\)</span> is output, <span class="math">\(x\)</span> is input, <span class="math">\(b\)</span> is bias, and <span class="math">\(f\)</span> is activation function.</p>
<p>The config file api is addto_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10AddtoLayer10AddtoLayerERK11LayerConfig">
......@@ -5613,7 +5613,7 @@ sequence is one) to sequence data.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle10AddtoLayer7biases_E">
......@@ -5639,7 +5639,7 @@ sequence is one) to sequence data.&#8221;</p>
</p>
<p>The config file api is linear_comb_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle22ConvexCombinationLayer22ConvexCombinationLayerERK11LayerConfig">
......@@ -5670,7 +5670,7 @@ sequence is one) to sequence data.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle22ConvexCombinationLayer7tmpMtx0E">
......@@ -5704,7 +5704,7 @@ sequence is one) to sequence data.&#8221;</p>
where <span class="math">\(x_1\)</span> and <span class="math">\(x_2\)</span> are two (batchSize x dataDim) inputs, <span class="math">\(w\)</span> is (batchSize x 1) weight vector, and <span class="math">\(y\)</span> is (batchSize x dataDim) output.</p>
<p>The config file api is interpolation_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18InterpolationLayer18InterpolationLayerERK11LayerConfig">
......@@ -5735,7 +5735,7 @@ sequence is one) to sequence data.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle18InterpolationLayer11weightLast_E">
......@@ -5768,7 +5768,7 @@ sequence is one) to sequence data.&#8221;</p>
\[ y[i][j] = x_{x_{0}[i] + 1}[i][j], j = 0,1, ... , (x_{1}.width - 1) \]</div>
where, y is output. <span class="math">\(x_{k}\)</span> is the k-th input layer and <span class="math">\(k = x_{0}[i] + 1\)</span>. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14MultiplexLayer14MultiplexLayerERK11LayerConfig">
......@@ -5799,7 +5799,7 @@ sequence is one) to sequence data.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle14MultiplexLayer13copySchedule_E">
......@@ -5824,7 +5824,7 @@ sequence is one) to sequence data.&#8221;</p>
<dt id="_CPPv2N6paddle14MultiplexLayer8CopyInfoE">
<span id="paddle::MultiplexLayer::CopyInfo"></span><span class="target" id="paddlestructpaddle_1_1MultiplexLayer_1_1CopyInfo"></span><em class="property">struct </em><code class="descname">CopyInfo</code><a class="headerlink" href="#_CPPv2N6paddle14MultiplexLayer8CopyInfoE" title="Permalink to this definition">¶</a></dt>
<dd><p>A struct is used to save the copy information, includes input layer index and copy size. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14MultiplexLayer8CopyInfo8CopyInfoEiii">
......@@ -5832,7 +5832,7 @@ sequence is one) to sequence data.&#8221;</p>
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle14MultiplexLayer8CopyInfo8startIdxE">
......@@ -5870,7 +5870,7 @@ sequence is one) to sequence data.&#8221;</p>
</dl>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14OuterProdLayer14OuterProdLayerERK11LayerConfig">
......@@ -5901,7 +5901,7 @@ sequence is one) to sequence data.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle14OuterProdLayer7tmpMtx0E">
......@@ -5932,7 +5932,7 @@ sequence is one) to sequence data.&#8221;</p>
where <span class="math">\(x\)</span> is a input vector, <span class="math">\(w\)</span> is scalar weight, and output <span class="math">\(y\)</span> is a vector.</p>
<p>The config file api is power_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10PowerLayer10PowerLayerERK11LayerConfig">
......@@ -5963,7 +5963,7 @@ sequence is one) to sequence data.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle10PowerLayer6tmpMtxE">
......@@ -5984,7 +5984,7 @@ sequence is one) to sequence data.&#8221;</p>
where <span class="math">\(x\)</span> is (batchSize x dataDim) input, <span class="math">\(w\)</span> is (batchSize x 1) weight vector, and <span class="math">\(y\)</span> is (batchSize x dataDim) output.</p>
<p>The config file api is scaling_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12ScalingLayer12ScalingLayerERK11LayerConfig">
......@@ -6034,7 +6034,7 @@ sequence is one) to sequence data.&#8221;</p>
<p>Here, a is scale and b is offset, which are provided as attributes of the layer.</p>
<p>The config file api is slope_intercept_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle19SlopeInterceptLayer19SlopeInterceptLayerERK11LayerConfig">
......@@ -6087,7 +6087,7 @@ sequence is one) to sequence data.&#8221;</p>
</p>
<p>The config file api is tensor_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11TensorLayer11TensorLayerERK11LayerConfig">
......@@ -6123,7 +6123,7 @@ sequence is one) to sequence data.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle11TensorLayer8weights_E">
......@@ -6149,7 +6149,7 @@ sequence is one) to sequence data.&#8221;</p>
where <span class="math">\(x\)</span> is (M x N) input, and <span class="math">\(y\)</span> is (N x M) output.</p>
<p>The config file api is trans_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10TransLayer10TransLayerERK11LayerConfig">
......@@ -6193,7 +6193,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
<dd>: prob does not have to be unnormalized.</dd>
</dl>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18MultinomialSampler18MultinomialSamplerEPK4reali">
......@@ -6219,7 +6219,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt>
......@@ -6240,7 +6240,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle18MultinomialSampler10intervals_E">
......@@ -6257,7 +6257,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
<dl class="class">
<dt id="_CPPv2N6paddle18MultinomialSampler8IntervalE">
<span id="paddle::MultinomialSampler::Interval"></span><span class="target" id="paddlestructpaddle_1_1MultinomialSampler_1_1Interval"></span><em class="property">struct </em><code class="descname">Interval</code><a class="headerlink" href="#_CPPv2N6paddle18MultinomialSampler8IntervalE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle18MultinomialSampler8Interval7otherIdE">
......@@ -6283,7 +6283,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
<dd><p>A layer for finding the id which has the maximal value for each sample. The result is stored in output_.ids.</p>
<p>The config file api is maxid_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10MaxIdLayer10MaxIdLayerERK11LayerConfig">
......@@ -6320,7 +6320,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
<dd><p>A layer for sampling id from multinomial distribution from the input layer. Sampling one id for one sample. The result is stored in output_.ids. </p>
<p>The config file api is sampling_id_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15SamplingIdLayer15SamplingIdLayerERK11LayerConfig">
......@@ -6365,7 +6365,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
<dd><p>Base class for a particular type of cost layer. This type of cost should have one data layer, one label layer and an optional weight layer as input. The derived class should implemnt forwardImp() and backwardImp() which calculate the cost for data and label. The weight is automatically handled by the base class. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1HuberTwoClass"><span class="std std-ref">paddle::HuberTwoClass</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1MultiBinaryLabelCrossEntropy"><span class="std std-ref">paddle::MultiBinaryLabelCrossEntropy</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1MultiClassCrossEntropy"><span class="std std-ref">paddle::MultiClassCrossEntropy</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1MultiClassCrossEntropyWithSelfNorm"><span class="std std-ref">paddle::MultiClassCrossEntropyWithSelfNorm</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SoftBinaryClassCrossEntropy"><span class="std std-ref">paddle::SoftBinaryClassCrossEntropy</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SumOfSquaresCostLayer"><span class="std std-ref">paddle::SumOfSquaresCostLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9CostLayer9CostLayerERK11LayerConfig">
......@@ -6411,7 +6411,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle9CostLayer12weightLayer_E">
......@@ -6436,7 +6436,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
\[\begin{split} Loss = \left\{\begin{matrix} 4 * y * f &amp; \textit{if} \ \ y* f &lt; -1 \\ (1 - y * f)^2 &amp; \textit{if} \ \ -1 &lt; y * f &lt; 1 \\ 0 &amp; \textit{otherwise} \end{matrix}\right. \end{split}\]</div>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1CostLayer"><span class="std std-ref">paddle::CostLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13HuberTwoClass13HuberTwoClassERK11LayerConfig">
......@@ -6484,7 +6484,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
</p>
<p>[1] Christopher J.C. Burges, Robert Ragno, Quoc Viet Le. Learning to Rank with Nonsmooth Cost Functions. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10LambdaCost10LambdaCostERK11LayerConfig">
......@@ -6548,7 +6548,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
\[ cost[i] = -sum(label[i][j]*log(output[i][j]) + (1-label[i][j])*log(1-output[i][j])) \]</div>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1CostLayer"><span class="std std-ref">paddle::CostLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle28MultiBinaryLabelCrossEntropy28MultiBinaryLabelCrossEntropyERK11LayerConfig">
......@@ -6572,7 +6572,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle28MultiBinaryLabelCrossEntropy13targetPerDim_E">
......@@ -6593,7 +6593,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
\[ L = - \sum_{i}{t_{k} * log(P(y=k))} \]</div>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1CostLayer"><span class="std std-ref">paddle::CostLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle22MultiClassCrossEntropy22MultiClassCrossEntropyERK11LayerConfig">
......@@ -6632,7 +6632,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
<p>The <span class="math">\(Z(x)\)</span> is the softmax normalizer.</p>
<p>[1] Jacob Devlin, Rabih Zbib, Zhongqiang Huang, Thomas Lamar, Richard Schwartz, and John Makhoul. Fast and robust neural network joint models for statistical machine translation. In Proceedings of the ACL 2014 Conference. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1CostLayer"><span class="std std-ref">paddle::CostLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle34MultiClassCrossEntropyWithSelfNorm34MultiClassCrossEntropyWithSelfNormERK11LayerConfig">
......@@ -6656,7 +6656,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle34MultiClassCrossEntropyWithSelfNorm10sftMaxSum_E">
......@@ -6682,7 +6682,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
</p>
<p>[1]. Chris Burges, Tal Shaked, Erin Renshaw, et al. Learning to Rank useing Gradient Descent. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11RankingCost11RankingCostERK11LayerConfig">
......@@ -6746,7 +6746,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
\[ L = \sum_i (\sum_j -y_j(i)*log(x_j(i))-(1-y_j(i))*log(1-x_j(i))) \]</div>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1CostLayer"><span class="std std-ref">paddle::CostLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle27SoftBinaryClassCrossEntropy27SoftBinaryClassCrossEntropyERK11LayerConfig">
......@@ -6770,7 +6770,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle27SoftBinaryClassCrossEntropy13targetPerDim_E">
......@@ -6790,7 +6790,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
\[ L = \sum_{i=1}^N {|| \hat{y}_i - y_i||_2^2} \]</div>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1CostLayer"><span class="std std-ref">paddle::CostLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle21SumOfSquaresCostLayer21SumOfSquaresCostLayerERK11LayerConfig">
......@@ -6826,7 +6826,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
\[ o(i) = \sum_{j=1}^D y_{ij} \]</div>
</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12SumCostLayer12SumCostLayerERK11LayerConfig">
......@@ -6872,7 +6872,7 @@ The space requirement is O(N)=O(N * sizeof(Interval)). The computational complex
</p>
<p>The config file api is cos_sim. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11CosSimLayer11CosSimLayerERK11LayerConfig">
......@@ -6921,7 +6921,7 @@ Input1: a vector (batchSize * dataDim)<dl class="docutils">
<p>Input2: a matrix in vector form (batchSize * (weightDim*dataDim))</p>
<p>Output: a vector (batchSize * weightDim) </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17CosSimVecMatLayer17CosSimVecMatLayerERK11LayerConfig">
......@@ -6952,7 +6952,7 @@ Input1: a vector (batchSize * dataDim)<dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle17CosSimVecMatLayer7tmpMtx0E">
......@@ -6995,7 +6995,7 @@ Input1: a vector (batchSize * dataDim)<dl class="docutils">
<span id="paddle::CRFDecodingLayer"></span><span class="target" id="paddleclasspaddle_1_1CRFDecodingLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">CRFDecodingLayer</code><a class="headerlink" href="#_CPPv2N6paddle16CRFDecodingLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>A layer for calculating the decoding sequence of sequential conditional random field model. The decoding sequence is stored in output_.ids It also calculate error, output_.value[i] is 1 for incorrect decoding or 0 for correct decoding) See LinearChainCRF.h for the detail of the CRF formulation. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1CRFLayer"><span class="std std-ref">paddle::CRFLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16CRFDecodingLayer16CRFDecodingLayerERK11LayerConfig">
......@@ -7021,7 +7021,7 @@ Input1: a vector (batchSize * dataDim)<dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16CRFDecodingLayer4crf_E">
......@@ -7040,7 +7040,7 @@ Input1: a vector (batchSize * dataDim)<dl class="docutils">
<dd><p>A layer for calculating the cost of sequential conditional random field model. See class <a class="reference internal" href="#paddleclasspaddle_1_1LinearChainCRF"><span class="std std-ref">LinearChainCRF</span></a> for the detail of the CRF formulation. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1CRFDecodingLayer"><span class="std std-ref">paddle::CRFDecodingLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle8CRFLayer8CRFLayerERK11LayerConfig">
......@@ -7066,7 +7066,7 @@ Input1: a vector (batchSize * dataDim)<dl class="docutils">
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle8CRFLayer11numClasses_E">
......@@ -7103,7 +7103,7 @@ Input1: a vector (batchSize * dataDim)<dl class="docutils">
<dt id="_CPPv2N6paddle8CTCLayerE">
<span id="paddle::CTCLayer"></span><span class="target" id="paddleclasspaddle_1_1CTCLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">CTCLayer</code><a class="headerlink" href="#_CPPv2N6paddle8CTCLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle8CTCLayer8CTCLayerERK11LayerConfig">
......@@ -7139,7 +7139,7 @@ Input1: a vector (batchSize * dataDim)<dl class="docutils">
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle8CTCLayer11numClasses_E">
......@@ -7204,7 +7204,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
</p>
<p>The config file api is hsigmod_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24HierarchicalSigmoidLayer24HierarchicalSigmoidLayerERK11LayerConfig">
......@@ -7230,7 +7230,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24HierarchicalSigmoidLayer13getLabelLayerEv">
......@@ -7239,7 +7239,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle24HierarchicalSigmoidLayer8weights_E">
......@@ -7278,7 +7278,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
<dl class="class">
<dt id="_CPPv2N6paddle14LinearChainCRFE">
<span id="paddle::LinearChainCRF"></span><span class="target" id="paddleclasspaddle_1_1LinearChainCRF"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">LinearChainCRF</code><a class="headerlink" href="#_CPPv2N6paddle14LinearChainCRFE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14LinearChainCRF14LinearChainCRFEiP4realP4real">
......@@ -7310,7 +7310,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle14LinearChainCRF11numClasses_E">
......@@ -7391,7 +7391,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
<dl class="class">
<dt id="_CPPv2N6paddle14LinearChainCTCE">
<span id="paddle::LinearChainCTC"></span><span class="target" id="paddleclasspaddle_1_1LinearChainCTC"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">LinearChainCTC</code><a class="headerlink" href="#_CPPv2N6paddle14LinearChainCTCE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14LinearChainCTC14LinearChainCTCEib">
......@@ -7409,7 +7409,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14LinearChainCTC12segmentRangeERiRii">
......@@ -7417,7 +7417,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle14LinearChainCTC11numClasses_E">
......@@ -7486,7 +7486,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
<dd><p>Noise-contrastive estimation. Implements the method in the following paper: A fast and simple algorithm for training neural probabilistic language models.</p>
<p>The config file api is nce_layer. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle8NCELayer8NCELayerERK11LayerConfig">
......@@ -7565,7 +7565,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
<span id="paddle::ValidationLayer"></span><span class="target" id="paddleclasspaddle_1_1ValidationLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">ValidationLayer</code><a class="headerlink" href="#_CPPv2N6paddle15ValidationLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1AucValidation"><span class="std std-ref">paddle::AucValidation</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1PnpairValidation"><span class="std std-ref">paddle::PnpairValidation</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15ValidationLayer15ValidationLayerERK11LayerConfig">
......@@ -7626,7 +7626,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
<dt id="_CPPv2N6paddle13AucValidationE">
<span id="paddle::AucValidation"></span><span class="target" id="paddleclasspaddle_1_1AucValidation"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">AucValidation</code><a class="headerlink" href="#_CPPv2N6paddle13AucValidationE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ValidationLayer"><span class="std std-ref">paddle::ValidationLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13AucValidation13AucValidationERK11LayerConfig">
......@@ -7651,7 +7651,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle13AucValidation13predictArray_E">
......@@ -7662,7 +7662,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
<dl class="class">
<dt id="_CPPv2N6paddle13AucValidation16PredictionResultE">
<span id="paddle::AucValidation::PredictionResult"></span><span class="target" id="paddlestructpaddle_1_1AucValidation_1_1PredictionResult"></span><em class="property">struct </em><code class="descname">PredictionResult</code><a class="headerlink" href="#_CPPv2N6paddle13AucValidation16PredictionResultE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13AucValidation16PredictionResult16PredictionResultE4reali">
......@@ -7670,7 +7670,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle13AucValidation16PredictionResult3outE">
......@@ -7694,7 +7694,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
<dt id="_CPPv2N6paddle16PnpairValidationE">
<span id="paddle::PnpairValidation"></span><span class="target" id="paddleclasspaddle_1_1PnpairValidation"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">PnpairValidation</code><a class="headerlink" href="#_CPPv2N6paddle16PnpairValidationE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ValidationLayer"><span class="std std-ref">paddle::ValidationLayer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16PnpairValidation16PnpairValidationERK11LayerConfig">
......@@ -7737,7 +7737,7 @@ Hierarchical Probabilistic Neural Network Language Model.&#8221;</p>
</p>
<p>The result is stored in output_.ids. It is used by recurrent layer group. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15EosIdCheckLayer15EosIdCheckLayerERK11LayerConfig">
......
......@@ -74,7 +74,7 @@ var _hmt = _hmt || [];
<h1>Matrix<a class="headerlink" href="#matrix" title="Permalink to this headline">¶</a></h1>
<div class="section" id="base">
<h2>Base<a class="headerlink" href="#base" title="Permalink to this headline">¶</a></h2>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Defines</p>
<dl class="macro">
<dt id="c.CAL_MATRIX_START_ADDRESS">
......@@ -87,7 +87,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt id="_CPPv26paddle">
<span id="paddle"></span><span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code><a class="headerlink" href="#_CPPv26paddle" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv2N6paddle10false_typeE">
......@@ -115,7 +115,7 @@ var _hmt = _hmt || [];
<span class="target" id="paddlestructpaddle_1_1bool__constant"></span><em class="property">template </em>&lt;<em class="property">class</em> T, T <em>v</em>&gt;</dt>
<dt id="_CPPv2N6paddle13bool_constantE">
<span id="paddle::bool_constant"></span><em class="property">struct </em><code class="descname">bool_constant</code><a class="headerlink" href="#_CPPv2N6paddle13bool_constantE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13bool_constant5valueE">
......@@ -128,7 +128,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle12MatrixOffsetE">
<span id="paddle::MatrixOffset"></span><span class="target" id="paddleclasspaddle_1_1MatrixOffset"></span><em class="property">class </em><code class="descname">MatrixOffset</code><a class="headerlink" href="#_CPPv2N6paddle12MatrixOffsetE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12MatrixOffset12MatrixOffsetE6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">
......@@ -136,7 +136,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle12MatrixOffset5aCol_E">
......@@ -187,7 +187,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle11BaseMatrixTE">
<span id="paddle::BaseMatrixT"></span><em class="property">class </em><code class="descname">BaseMatrixT</code><a class="headerlink" href="#_CPPv2N6paddle11BaseMatrixTE" title="Permalink to this definition">¶</a></dt>
<dd><p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1BaseVector"><span class="std std-ref">paddle::BaseVector&lt; T &gt;</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1Matrix"><span class="std std-ref">paddle::Matrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11BaseMatrixTD0Ev">
......@@ -1499,7 +1499,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle11BaseMatrixT7height_E">
......@@ -1542,7 +1542,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt id="_CPPv26paddle">
<span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code><a class="headerlink" href="#_CPPv26paddle" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv2N6paddle9MatrixPtrE">
......@@ -1570,7 +1570,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Enums</p>
<dl class="type">
<dt id="_CPPv2N6paddle15SparseValueTypeE">
......@@ -1621,7 +1621,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddlelsERNSt7ostreamERK6Matrix">
......@@ -1635,7 +1635,7 @@ var _hmt = _hmt || [];
<dd><em>#include &lt;Matrix.h&gt;</em><p>Copy or assignemnt constructor will share the data as opposed to making a copy of the original data. To make a copy of the orinal data, use copyFrom() instead. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1BaseMatrixT"><span class="std std-ref">paddle::BaseMatrixT&lt; real &gt;</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1CpuMatrix"><span class="std std-ref">paddle::CpuMatrix</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1CpuSparseMatrix"><span class="std std-ref">paddle::CpuSparseMatrix</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GpuMatrix"><span class="std std-ref">paddle::GpuMatrix</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GpuSparseMatrix"><span class="std std-ref">paddle::GpuSparseMatrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle6MatrixD0Ev">
......@@ -2466,7 +2466,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle6Matrix11elementCnt_E">
......@@ -2479,7 +2479,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6Matrix6createE15MemoryHandlePtr6size_t6size_tb">
......@@ -2527,7 +2527,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6Matrix6MatrixE15MemoryHandlePtr6size_t6size_tbb">
......@@ -2545,7 +2545,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle6Matrix7tmpMat_E">
......@@ -2559,7 +2559,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dt id="_CPPv2N6paddle9GpuMatrixE">
<span id="paddle::GpuMatrix"></span><span class="target" id="paddleclasspaddle_1_1GpuMatrix"></span><em class="property">class </em><code class="descname">GpuMatrix</code><a class="headerlink" href="#_CPPv2N6paddle9GpuMatrixE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Matrix"><span class="std std-ref">paddle::Matrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9GpuMatrix9GpuMatrixEv">
......@@ -3162,7 +3162,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<span id="paddle::CpuMatrix"></span><span class="target" id="paddleclasspaddle_1_1CpuMatrix"></span><em class="property">class </em><code class="descname">CpuMatrix</code><a class="headerlink" href="#_CPPv2N6paddle9CpuMatrixE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Matrix"><span class="std std-ref">paddle::Matrix</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1SharedCpuMatrix"><span class="std std-ref">paddle::SharedCpuMatrix</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SparseRowCpuMatrix"><span class="std std-ref">paddle::SparseRowCpuMatrix</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SparseRowIdsCpuMatrix"><span class="std std-ref">paddle::SparseRowIdsCpuMatrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9CpuMatrix9CpuMatrixE6size_t6size_tb">
......@@ -3900,7 +3900,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9CpuMatrix3mulEP9CpuMatrixP9CpuMatrixP15CpuSparseMatrix4real4real">
......@@ -3923,7 +3923,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dt id="_CPPv2N6paddle15SharedCpuMatrixE">
<span id="paddle::SharedCpuMatrix"></span><span class="target" id="paddleclasspaddle_1_1SharedCpuMatrix"></span><em class="property">class </em><code class="descname">SharedCpuMatrix</code><a class="headerlink" href="#_CPPv2N6paddle15SharedCpuMatrixE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1CpuMatrix"><span class="std std-ref">paddle::CpuMatrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15SharedCpuMatrix15SharedCpuMatrixEi6size_t6size_tb">
......@@ -3966,7 +3966,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15SharedCpuMatrix10initSharedEi">
......@@ -3979,7 +3979,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle15SharedCpuMatrix9blockNum_E">
......@@ -4012,7 +4012,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dl class="class">
<dt id="_CPPv2N6paddle18sparse_non_value_tE">
<span id="paddle::sparse_non_value_t"></span><span class="target" id="paddlestructpaddle_1_1sparse__non__value__t"></span><em class="property">struct </em><code class="descname">sparse_non_value_t</code><a class="headerlink" href="#_CPPv2N6paddle18sparse_non_value_tE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle18sparse_non_value_t3colE">
......@@ -4025,7 +4025,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dl class="class">
<dt id="_CPPv2N6paddle20sparse_float_value_tE">
<span id="paddle::sparse_float_value_t"></span><span class="target" id="paddlestructpaddle_1_1sparse__float__value__t"></span><em class="property">struct </em><code class="descname">sparse_float_value_t</code><a class="headerlink" href="#_CPPv2N6paddle20sparse_float_value_tE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle20sparse_float_value_t3colE">
......@@ -4045,7 +4045,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dl class="type">
<dt>
<span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv2N6paddle6VectorE">
......@@ -4128,7 +4128,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......@@ -4144,7 +4144,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dt id="_CPPv2N6paddle10GpuVectorTE">
<span id="paddle::GpuVectorT"></span><em class="property">class </em><code class="descname">GpuVectorT</code><a class="headerlink" href="#_CPPv2N6paddle10GpuVectorTE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1VectorT"><span class="std std-ref">paddle::VectorT&lt; T &gt;</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10GpuVectorT10GpuVectorTE6size_t">
......@@ -4318,7 +4318,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2NK6paddle10GpuVectorT6copyToEP10CpuVectorTI1TE">
......@@ -4340,7 +4340,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<span id="paddle::CpuVectorT"></span><em class="property">class </em><code class="descname">CpuVectorT</code><a class="headerlink" href="#_CPPv2N6paddle10CpuVectorTE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1VectorT"><span class="std std-ref">paddle::VectorT&lt; T &gt;</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1ParallelCpuVectorT"><span class="std std-ref">paddle::ParallelCpuVectorT&lt; T &gt;</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10CpuVectorT10CpuVectorTE6size_t">
......@@ -4540,7 +4540,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<span id="paddle::BaseVector"></span><em class="property">class </em><code class="descname">BaseVector</code><a class="headerlink" href="#_CPPv2N6paddle10BaseVectorE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1BaseMatrixT"><span class="std std-ref">paddle::BaseMatrixT&lt; T &gt;</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1VectorT"><span class="std std-ref">paddle::VectorT&lt; T &gt;</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10BaseVector10BaseVectorE6size_tP1Tb">
......@@ -4553,7 +4553,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle10BaseVector5size_E">
......@@ -4571,7 +4571,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd><em>#include &lt;Vector.h&gt;</em><p>Copy or assignemnt constructor will share the data as opposed to making a copy of the original data. To make a copy of the orinal data, use <a class="reference internal" href="#paddleclasspaddle_1_1VectorT_1ad2afa0a39de13b7e43ee3f52ee96a188"><span class="std std-ref">copyFrom()</span></a> instead. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1BaseVector"><span class="std std-ref">paddle::BaseVector&lt; T &gt;</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1CpuVectorT"><span class="std std-ref">paddle::CpuVectorT&lt; T &gt;</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GpuVectorT"><span class="std std-ref">paddle::GpuVectorT&lt; T &gt;</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle13HistogramTypeE">
......@@ -4585,7 +4585,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle7VectorTD0Ev">
......@@ -4810,7 +4810,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle7VectorT6createE6size_tb">
......@@ -4838,7 +4838,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle7VectorT7VectorTE6size_t15MemoryHandlePtr6size_tb">
......@@ -4861,7 +4861,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle7VectorT13memoryHandle_E">
......@@ -4869,7 +4869,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -4890,7 +4890,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dt id="_CPPv2N6paddle18ParallelCpuVectorTE">
<span id="paddle::ParallelCpuVectorT"></span><em class="property">class </em><code class="descname">ParallelCpuVectorT</code><a class="headerlink" href="#_CPPv2N6paddle18ParallelCpuVectorTE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1CpuVectorT"><span class="std std-ref">paddle::CpuVectorT&lt; T &gt;</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18ParallelCpuVectorT18ParallelCpuVectorTE6size_tP14SyncThreadPool">
......@@ -4921,7 +4921,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle18ParallelCpuVectorT8ExecFuncE">
......@@ -4929,7 +4929,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18ParallelCpuVectorT12parallelExecE8ExecFunc">
......@@ -4937,7 +4937,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle18ParallelCpuVectorT5pool_E">
......@@ -4953,7 +4953,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dt id="_CPPv2N6paddle13CpuGpuVectorTE">
<span id="paddle::CpuGpuVectorT"></span><em class="property">class </em><code class="descname">CpuGpuVectorT</code><a class="headerlink" href="#_CPPv2N6paddle13CpuGpuVectorTE" title="Permalink to this definition">¶</a></dt>
<dd><em>#include &lt;Vector.h&gt;</em><p>A class to do conversion between CpuVector and GpuVector automatically. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle10SyncedFlagE">
......@@ -4981,7 +4981,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13CpuGpuVectorT13CpuGpuVectorTE6size_tb">
......@@ -5189,7 +5189,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13CpuGpuVectorT6createE6size_tb">
......@@ -5203,7 +5203,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13CpuGpuVectorT14resizeOrCreateE6size_tb">
......@@ -5227,7 +5227,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13CpuGpuVectorT11cpuVectorT_E">
......@@ -5260,7 +5260,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dl class="type">
<dt>
<span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv2N6paddle22hl_sparse_matrix_s_ptrE">
......@@ -5272,7 +5272,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dt id="_CPPv2N6paddle15GpuSparseMatrixE">
<span id="paddle::GpuSparseMatrix"></span><span class="target" id="paddleclasspaddle_1_1GpuSparseMatrix"></span><em class="property">class </em><code class="descname">GpuSparseMatrix</code><a class="headerlink" href="#_CPPv2N6paddle15GpuSparseMatrixE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Matrix"><span class="std std-ref">paddle::Matrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15GpuSparseMatrix15GpuSparseMatrixE6size_t6size_t6size_t15SparseValueType12SparseFormatb">
......@@ -5564,7 +5564,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle15GpuSparseMatrix14sMemoryHandle_E">
......@@ -5607,7 +5607,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15GpuSparseMatrix12sparseResizeEv">
......@@ -5628,7 +5628,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dl class="class">
<dt id="_CPPv2N6paddle15GpuSparseMatrix7ElementE">
<span id="paddle::GpuSparseMatrix::Element"></span><span class="target" id="paddlestructpaddle_1_1GpuSparseMatrix_1_1Element"></span><em class="property">struct </em><code class="descname">Element</code><a class="headerlink" href="#_CPPv2N6paddle15GpuSparseMatrix7ElementE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15GpuSparseMatrix7Element7ElementEii4real">
......@@ -5636,7 +5636,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle15GpuSparseMatrix7Element3rowE">
......@@ -5660,7 +5660,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt id="_CPPv214P_DECLARE_bool31allow_inefficient_sparse_update">
......@@ -5677,7 +5677,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd><em>#include &lt;SparseRowMatrix.h&gt;</em><p>Sparse Row </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1CpuMatrix"><span class="std std-ref">paddle::CpuMatrix</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1SparseAutoGrowRowCpuMatrix"><span class="std std-ref">paddle::SparseAutoGrowRowCpuMatrix</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SparsePrefetchRowCpuMatrix"><span class="std std-ref">paddle::SparsePrefetchRowCpuMatrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle18SparseRowCpuMatrix12IndexDictPtrE">
......@@ -5685,7 +5685,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18SparseRowCpuMatrix18SparseRowCpuMatrixE15CpuMemHandlePtr6size_t6size_t12IndexDictPtrb">
......@@ -5819,7 +5819,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt>
......@@ -5845,7 +5845,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle18SparseRowCpuMatrix9storeMat_E">
......@@ -5873,7 +5873,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle18SparseRowCpuMatrix10kUnusedId_E">
......@@ -5884,7 +5884,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dl class="class">
<dt id="_CPPv2N6paddle18SparseRowCpuMatrix9IndexDictE">
<span id="paddle::SparseRowCpuMatrix::IndexDict"></span><span class="target" id="paddlestructpaddle_1_1SparseRowCpuMatrix_1_1IndexDict"></span><em class="property">struct </em><code class="descname">IndexDict</code><a class="headerlink" href="#_CPPv2N6paddle18SparseRowCpuMatrix9IndexDictE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle18SparseRowCpuMatrix9IndexDict12localIndicesE">
......@@ -5906,7 +5906,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<span id="paddle::SparsePrefetchRowCpuMatrix"></span><span class="target" id="paddleclasspaddle_1_1SparsePrefetchRowCpuMatrix"></span><em class="property">class </em><code class="descname">SparsePrefetchRowCpuMatrix</code><a class="headerlink" href="#_CPPv2N6paddle26SparsePrefetchRowCpuMatrixE" title="Permalink to this definition">¶</a></dt>
<dd><em>#include &lt;SparseRowMatrix.h&gt;</em><p>For prefetching parameters from remote <a class="reference internal" href="../../parameter/parameter/parameter.html#paddleclasspaddle_1_1Parameter"><span class="std std-ref">Parameter</span></a> server. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1SparseRowCpuMatrix"><span class="std std-ref">paddle::SparseRowCpuMatrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle26SparsePrefetchRowCpuMatrix26SparsePrefetchRowCpuMatrixE15CpuMemHandlePtr6size_t6size_t12IndexDictPtrP14SyncThreadPoolb">
......@@ -5933,7 +5933,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle26SparsePrefetchRowCpuMatrix7addRowsEPKj6size_t">
......@@ -5941,7 +5941,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle26SparsePrefetchRowCpuMatrix5pool_E">
......@@ -5956,7 +5956,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<span id="paddle::SparseAutoGrowRowCpuMatrix"></span><span class="target" id="paddleclasspaddle_1_1SparseAutoGrowRowCpuMatrix"></span><em class="property">class </em><code class="descname">SparseAutoGrowRowCpuMatrix</code><a class="headerlink" href="#_CPPv2N6paddle26SparseAutoGrowRowCpuMatrixE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1SparseRowCpuMatrix"><span class="std std-ref">paddle::SparseRowCpuMatrix</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1CacheRowCpuMatrix"><span class="std std-ref">paddle::CacheRowCpuMatrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle26SparseAutoGrowRowCpuMatrix26SparseAutoGrowRowCpuMatrixE6size_t6size_t12IndexDictPtrb">
......@@ -5985,7 +5985,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dt id="_CPPv2N6paddle17CacheRowCpuMatrixE">
<span id="paddle::CacheRowCpuMatrix"></span><span class="target" id="paddleclasspaddle_1_1CacheRowCpuMatrix"></span><em class="property">class </em><code class="descname">CacheRowCpuMatrix</code><a class="headerlink" href="#_CPPv2N6paddle17CacheRowCpuMatrixE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1SparseAutoGrowRowCpuMatrix"><span class="std std-ref">paddle::SparseAutoGrowRowCpuMatrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17CacheRowCpuMatrix17CacheRowCpuMatrixE6size_t6size_t12IndexDictPtrb">
......@@ -6013,7 +6013,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle17CacheRowCpuMatrix14sourceDataVec_E">
......@@ -6034,7 +6034,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd><em>#include &lt;SparseRowMatrix.h&gt;</em><p>Sparse Row Ids <a class="reference internal" href="#paddleclasspaddle_1_1Matrix"><span class="std std-ref">Matrix</span></a>.</p>
<p>mostly same as <a class="reference internal" href="#paddleclasspaddle_1_1CpuMatrix"><span class="std std-ref">CpuMatrix</span></a>, but maintain sparse row ids occured, ids are hashed by worker thread id. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1CpuMatrix"><span class="std std-ref">paddle::CpuMatrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle21SparseRowIdsCpuMatrix21SparseRowIdsCpuMatrixE15CpuMemHandlePtr6size_t6size_tb">
......@@ -6052,7 +6052,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle21SparseRowIdsCpuMatrix9idsArray_E">
......@@ -6071,7 +6071,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dt id="_CPPv2N6paddle15CpuSparseMatrixE">
<span id="paddle::CpuSparseMatrix"></span><span class="target" id="paddleclasspaddle_1_1CpuSparseMatrix"></span><em class="property">class </em><code class="descname">CpuSparseMatrix</code><a class="headerlink" href="#_CPPv2N6paddle15CpuSparseMatrixE" title="Permalink to this definition">¶</a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Matrix"><span class="std std-ref">paddle::Matrix</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15CpuSparseMatrix15CpuSparseMatrixE6size_t6size_t6size_t15SparseValueType12SparseFormatb">
......@@ -6401,7 +6401,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15CpuSparseMatrix12sparseResizeEv">
......@@ -6409,7 +6409,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle15CpuSparseMatrix5rows_E">
......@@ -6437,7 +6437,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle15CpuSparseMatrix17DEFAULT_AVG_WIDTHE">
......@@ -6450,7 +6450,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15CpuSparseMatrix5cloneE6size_t6size_tb">
......@@ -6470,7 +6470,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dl class="type">
<dt>
<span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......@@ -6516,7 +6516,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dd><dl class="type">
<dt id="_CPPv2N6paddle4simdE">
<span id="paddle::simd"></span><span class="target" id="paddlenamespacepaddle_1_1simd"></span><em class="property">namespace </em><code class="descname">simd</code><a class="headerlink" href="#_CPPv2N6paddle4simdE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......@@ -6604,7 +6604,7 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
<dl class="type">
<dt id="_CPPv2N6paddle4simd5naiveE">
<span id="paddle::simd::naive"></span><span class="target" id="paddlenamespacepaddle_1_1simd_1_1naive"></span><em class="property">namespace </em><code class="descname">naive</code><a class="headerlink" href="#_CPPv2N6paddle4simd5naiveE" title="Permalink to this definition">¶</a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Functions</p>
<dl class="function">
<dt>
......
......@@ -77,7 +77,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt id="_CPPv26paddle">
<span id="paddle"></span><span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code><a class="headerlink" href="#_CPPv26paddle" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv2N6paddle15MemoryHandlePtrE">
......@@ -99,7 +99,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle12MemoryHandleE">
<span id="paddle::MemoryHandle"></span><span class="target" id="paddleclasspaddle_1_1MemoryHandle"></span><em class="property">class </em><code class="descname">MemoryHandle</code><a class="headerlink" href="#_CPPv2N6paddle12MemoryHandleE" title="Permalink to this definition"></a></dt>
<dd><p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1CpuMemoryHandle"><span class="std std-ref">paddle::CpuMemoryHandle</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GpuMemoryHandle"><span class="std std-ref">paddle::GpuMemoryHandle</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2NK6paddle12MemoryHandle6getBufEv">
......@@ -117,7 +117,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12MemoryHandle12MemoryHandleE6size_t">
......@@ -131,7 +131,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle12MemoryHandle10allocator_E">
......@@ -167,7 +167,7 @@ var _hmt = _hmt || [];
<dd><em>#include &lt;MemoryHandle.h&gt;</em><p>Wrapper class for raw gpu memory handle.</p>
<p>The raw handle will be released at destructor </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1MemoryHandle"><span class="std std-ref">paddle::MemoryHandle</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15GpuMemoryHandle15GpuMemoryHandleE6size_t">
......@@ -188,7 +188,7 @@ var _hmt = _hmt || [];
<dd><em>#include &lt;MemoryHandle.h&gt;</em><p>Wrapper class for raw cpu memory handle.</p>
<p>The raw handle will be released at destructor </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1MemoryHandle"><span class="std std-ref">paddle::MemoryHandle</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15CpuMemoryHandle15CpuMemoryHandleE6size_t">
......@@ -214,7 +214,7 @@ var _hmt = _hmt || [];
<dd><em>#include &lt;Allocator.h&gt;</em><p><a class="reference internal" href="#paddleclasspaddle_1_1Allocator"><span class="std std-ref">Allocator</span></a> base class. </p>
<p>This is the base class of all <a class="reference internal" href="#paddleclasspaddle_1_1Allocator"><span class="std std-ref">Allocator</span></a> class. </p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1CpuAllocator"><span class="std std-ref">paddle::CpuAllocator</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1CudaHostAllocator"><span class="std std-ref">paddle::CudaHostAllocator</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1GpuAllocator"><span class="std std-ref">paddle::GpuAllocator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9AllocatorD0Ev">
......@@ -244,7 +244,7 @@ var _hmt = _hmt || [];
<span id="paddle::CpuAllocator"></span><span class="target" id="paddleclasspaddle_1_1CpuAllocator"></span><em class="property">class </em><code class="descname">CpuAllocator</code><a class="headerlink" href="#_CPPv2N6paddle12CpuAllocatorE" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;Allocator.h&gt;</em><p>CPU allocator implementation. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Allocator"><span class="std std-ref">paddle::Allocator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12CpuAllocatorD0Ev">
......@@ -294,7 +294,7 @@ var _hmt = _hmt || [];
<span id="paddle::GpuAllocator"></span><span class="target" id="paddleclasspaddle_1_1GpuAllocator"></span><em class="property">class </em><code class="descname">GpuAllocator</code><a class="headerlink" href="#_CPPv2N6paddle12GpuAllocatorE" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;Allocator.h&gt;</em><p>GPU allocator implementation. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Allocator"><span class="std std-ref">paddle::Allocator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12GpuAllocatorD0Ev">
......@@ -344,7 +344,7 @@ var _hmt = _hmt || [];
<span id="paddle::CudaHostAllocator"></span><span class="target" id="paddleclasspaddle_1_1CudaHostAllocator"></span><em class="property">class </em><code class="descname">CudaHostAllocator</code><a class="headerlink" href="#_CPPv2N6paddle17CudaHostAllocatorE" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;Allocator.h&gt;</em><p>CPU pinned memory allocator implementation. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Allocator"><span class="std std-ref">paddle::Allocator</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17CudaHostAllocatorD0Ev">
......@@ -398,7 +398,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle13PoolAllocatorE">
<span id="paddle::PoolAllocator"></span><span class="target" id="paddleclasspaddle_1_1PoolAllocator"></span><em class="property">class </em><code class="descname">PoolAllocator</code><a class="headerlink" href="#_CPPv2N6paddle13PoolAllocatorE" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;PoolAllocator.h&gt;</em><p>Memory pool allocator implementation. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13PoolAllocator13PoolAllocatorEP9Allocator6size_tRKNSt6stringE">
......@@ -437,7 +437,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13PoolAllocator7freeAllEv">
......@@ -450,7 +450,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle13PoolAllocator10allocator_E">
......@@ -494,7 +494,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle13StorageEngineE">
<span id="paddle::StorageEngine"></span><span class="target" id="paddleclasspaddle_1_1StorageEngine"></span><em class="property">class </em><code class="descname">StorageEngine</code><a class="headerlink" href="#_CPPv2N6paddle13StorageEngineE" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;Storage.h&gt;</em><p>Storage manager for multiple devices. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13StorageEngine15getGpuAllocatorEi">
......@@ -517,7 +517,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13StorageEngine9singletonEv">
......@@ -530,7 +530,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13StorageEngine13StorageEngineEv">
......@@ -543,7 +543,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13StorageEngine5lock_E">
......
......@@ -79,7 +79,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle12SgdOptimizerE">
<span id="paddle::SgdOptimizer"></span><span class="target" id="paddleclasspaddle_1_1SgdOptimizer"></span><em class="property">class </em><code class="descname">SgdOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle12SgdOptimizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12SgdOptimizer12SgdOptimizerERK18OptimizationConfig">
......@@ -111,7 +111,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle32SparseMomentumParameterOptimizerE">
<span id="paddle::SparseMomentumParameterOptimizer"></span><span class="target" id="paddleclasspaddle_1_1SparseMomentumParameterOptimizer"></span><em class="property">class </em><code class="descname">SparseMomentumParameterOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle32SparseMomentumParameterOptimizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle32SparseMomentumParameterOptimizer32SparseMomentumParameterOptimizerERK18OptimizationConfig">
......@@ -173,7 +173,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle32SparseMomentumParameterOptimizer6timer_E">
......@@ -191,7 +191,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle32SparseMomentumParameterOptimizer6alpha_E">
......@@ -235,7 +235,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle25AdagradParameterOptimizerE">
<span id="paddle::AdagradParameterOptimizer"></span><span class="target" id="paddleclasspaddle_1_1AdagradParameterOptimizer"></span><em class="property">class </em><code class="descname">AdagradParameterOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle25AdagradParameterOptimizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle25AdagradParameterOptimizer25AdagradParameterOptimizerERK18OptimizationConfig">
......@@ -285,7 +285,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle25AdagradParameterOptimizer11numUpdates_E">
......@@ -293,7 +293,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle25AdagradParameterOptimizer18kMaxNumAccumulatesE">
......@@ -307,7 +307,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle26AdaDeltaParameterOptimizerE">
<span id="paddle::AdaDeltaParameterOptimizer"></span><span class="target" id="paddleclasspaddle_1_1AdaDeltaParameterOptimizer"></span><em class="property">class </em><code class="descname">AdaDeltaParameterOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle26AdaDeltaParameterOptimizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle26AdaDeltaParameterOptimizer26AdaDeltaParameterOptimizerERK18OptimizationConfig">
......@@ -327,7 +327,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle26AdaDeltaParameterOptimizer4rou_E">
......@@ -346,7 +346,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle25RMSPropParameterOptimizerE">
<span id="paddle::RMSPropParameterOptimizer"></span><span class="target" id="paddleclasspaddle_1_1RMSPropParameterOptimizer"></span><em class="property">class </em><code class="descname">RMSPropParameterOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle25RMSPropParameterOptimizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle25RMSPropParameterOptimizer25RMSPropParameterOptimizerERK18OptimizationConfig">
......@@ -378,7 +378,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle25RMSPropParameterOptimizer4rou_E">
......@@ -408,7 +408,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle32DecayedAdagradParameterOptimizerE">
<span id="paddle::DecayedAdagradParameterOptimizer"></span><span class="target" id="paddleclasspaddle_1_1DecayedAdagradParameterOptimizer"></span><em class="property">class </em><code class="descname">DecayedAdagradParameterOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle32DecayedAdagradParameterOptimizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle32DecayedAdagradParameterOptimizer32DecayedAdagradParameterOptimizerERK18OptimizationConfig">
......@@ -440,7 +440,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle32DecayedAdagradParameterOptimizer4rou_E">
......@@ -471,7 +471,7 @@ var _hmt = _hmt || [];
<span id="paddle::AdamParameterOptimizer"></span><span class="target" id="paddleclasspaddle_1_1AdamParameterOptimizer"></span><em class="property">class </em><code class="descname">AdamParameterOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle22AdamParameterOptimizerE" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;FirstOrderOptimizer.h&gt;</em><p>Adam Optimizer. Reference Paper: <a class="reference external" href="http://arxiv.org/abs/1412.6980">http://arxiv.org/abs/1412.6980</a> Algorithm 1 </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle22AdamParameterOptimizer22AdamParameterOptimizerERK18OptimizationConfig">
......@@ -491,7 +491,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle22AdamParameterOptimizer6beta1_E">
......@@ -526,7 +526,7 @@ var _hmt = _hmt || [];
<span id="paddle::AdamaxParameterOptimizer"></span><span class="target" id="paddleclasspaddle_1_1AdamaxParameterOptimizer"></span><em class="property">class </em><code class="descname">AdamaxParameterOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle24AdamaxParameterOptimizerE" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;FirstOrderOptimizer.h&gt;</em><p>AdaMax Optimizer. Reference Paper: <a class="reference external" href="http://arxiv.org/abs/1412.6980">http://arxiv.org/abs/1412.6980</a> Algorithm 2 </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24AdamaxParameterOptimizer24AdamaxParameterOptimizerERK18OptimizationConfig">
......@@ -546,7 +546,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle24AdamaxParameterOptimizer6beta1_E">
......@@ -575,7 +575,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle12AddOptimizerE">
<span id="paddle::AddOptimizer"></span><span class="target" id="paddleclasspaddle_1_1AddOptimizer"></span><em class="property">class </em><code class="descname">AddOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle12AddOptimizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12AddOptimizer12AddOptimizerERK18OptimizationConfig">
......@@ -601,7 +601,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle14DummyOptimizerE">
<span id="paddle::DummyOptimizer"></span><span class="target" id="paddleclasspaddle_1_1DummyOptimizer"></span><em class="property">class </em><code class="descname">DummyOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle14DummyOptimizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14DummyOptimizer14DummyOptimizerERK18OptimizationConfig">
......@@ -621,7 +621,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle29OptimizerWithGradientClippingE">
<span id="paddle::OptimizerWithGradientClipping"></span><span class="target" id="paddleclasspaddle_1_1OptimizerWithGradientClipping"></span><em class="property">class </em><code class="descname">OptimizerWithGradientClipping</code><a class="headerlink" href="#_CPPv2N6paddle29OptimizerWithGradientClippingE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle29OptimizerWithGradientClipping29OptimizerWithGradientClippingERK18OptimizationConfigP18ParameterOptimizer">
......@@ -698,7 +698,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle29OptimizerWithGradientClipping10optimizer_E">
......@@ -718,7 +718,7 @@ var _hmt = _hmt || [];
<span id="paddle::AverageOptimizer"></span><span class="target" id="paddleclasspaddle_1_1AverageOptimizer"></span><em class="property">class </em><code class="descname">AverageOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle16AverageOptimizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1AverageSparseOptimizer"><span class="std std-ref">paddle::AverageSparseOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16AverageOptimizer16AverageOptimizerERK18OptimizationConfigP18ParameterOptimizerb">
......@@ -838,7 +838,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16AverageOptimizer6createERK18OptimizationConfigP18ParameterOptimizerbb">
......@@ -846,7 +846,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16AverageOptimizer24updateAverageWindowLimitEv">
......@@ -859,7 +859,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16AverageOptimizer10optimizer_E">
......@@ -902,7 +902,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16AverageOptimizer18kMaxNumAccumulatesE">
......@@ -916,7 +916,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle22AverageSparseOptimizerE">
<span id="paddle::AverageSparseOptimizer"></span><span class="target" id="paddleclasspaddle_1_1AverageSparseOptimizer"></span><em class="property">class </em><code class="descname">AverageSparseOptimizer</code><a class="headerlink" href="#_CPPv2N6paddle22AverageSparseOptimizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1AverageOptimizer"><span class="std std-ref">paddle::AverageOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle22AverageSparseOptimizer22AverageSparseOptimizerERK18OptimizationConfigP18ParameterOptimizerb">
......@@ -977,7 +977,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle22AverageSparseOptimizer6timer_E">
......@@ -1008,7 +1008,7 @@ var _hmt = _hmt || [];
</ol>
</p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1AdaDeltaParameterOptimizer"><span class="std std-ref">paddle::AdaDeltaParameterOptimizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1AdagradParameterOptimizer"><span class="std std-ref">paddle::AdagradParameterOptimizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1AdamaxParameterOptimizer"><span class="std std-ref">paddle::AdamaxParameterOptimizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1AdamParameterOptimizer"><span class="std std-ref">paddle::AdamParameterOptimizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1AddOptimizer"><span class="std std-ref">paddle::AddOptimizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1AverageOptimizer"><span class="std std-ref">paddle::AverageOptimizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1DecayedAdagradParameterOptimizer"><span class="std std-ref">paddle::DecayedAdagradParameterOptimizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1DummyOptimizer"><span class="std std-ref">paddle::DummyOptimizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1OptimizerWithGradientClipping"><span class="std std-ref">paddle::OptimizerWithGradientClipping</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1OptimizerWithRegularizer"><span class="std std-ref">paddle::OptimizerWithRegularizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1RMSPropParameterOptimizer"><span class="std std-ref">paddle::RMSPropParameterOptimizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SgdOptimizer"><span class="std std-ref">paddle::SgdOptimizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SparseMomentumParameterOptimizer"><span class="std std-ref">paddle::SparseMomentumParameterOptimizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle18ParameterOptimizer16TraverseCallbackE">
......@@ -1016,7 +1016,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18ParameterOptimizer18ParameterOptimizerERK18OptimizationConfig">
......@@ -1162,7 +1162,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N18ParameterOptimizer6createERK18OptimizationConfigb">
......@@ -1170,7 +1170,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle18ParameterOptimizer19TraverseCallbackVecE">
......@@ -1178,7 +1178,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle18ParameterOptimizer11applyDecay_E">
......@@ -1217,7 +1217,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle18ParameterOptimizer16composeCallbacksERK19TraverseCallbackVec">
......@@ -1237,7 +1237,7 @@ var _hmt = _hmt || [];
<span id="paddle::OptimizerWithRegularizer"></span><span class="target" id="paddleclasspaddle_1_1OptimizerWithRegularizer"></span><em class="property">class </em><code class="descname">OptimizerWithRegularizer</code><a class="headerlink" href="#_CPPv2N6paddle24OptimizerWithRegularizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterOptimizer"><span class="std std-ref">paddle::ParameterOptimizer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1OptimizerWithRegularizerEveryNumBatches"><span class="std std-ref">paddle::OptimizerWithRegularizerEveryNumBatches</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1OptimizerWithRegularizerSparse"><span class="std std-ref">paddle::OptimizerWithRegularizerSparse</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24OptimizerWithRegularizer24OptimizerWithRegularizerERK18OptimizationConfigP18ParameterOptimizerP11Regularizer">
......@@ -1309,7 +1309,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle24OptimizerWithRegularizer6createERK18OptimizationConfigRK15ParameterConfigbb">
......@@ -1317,7 +1317,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle24OptimizerWithRegularizer10optimizer_E">
......@@ -1342,7 +1342,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle39OptimizerWithRegularizerEveryNumBatchesE">
<span id="paddle::OptimizerWithRegularizerEveryNumBatches"></span><span class="target" id="paddleclasspaddle_1_1OptimizerWithRegularizerEveryNumBatches"></span><em class="property">class </em><code class="descname">OptimizerWithRegularizerEveryNumBatches</code><a class="headerlink" href="#_CPPv2N6paddle39OptimizerWithRegularizerEveryNumBatchesE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1OptimizerWithRegularizer"><span class="std std-ref">paddle::OptimizerWithRegularizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle39OptimizerWithRegularizerEveryNumBatches39OptimizerWithRegularizerEveryNumBatchesERK18OptimizationConfigP18ParameterOptimizerP11Regularizer">
......@@ -1431,7 +1431,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2NK6paddle39OptimizerWithRegularizerEveryNumBatches21isRegularizationBatchERK15ParameterConfig">
......@@ -1439,7 +1439,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle39OptimizerWithRegularizerEveryNumBatches10baseTimer_E">
......@@ -1454,7 +1454,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle30OptimizerWithRegularizerSparseE">
<span id="paddle::OptimizerWithRegularizerSparse"></span><span class="target" id="paddleclasspaddle_1_1OptimizerWithRegularizerSparse"></span><em class="property">class </em><code class="descname">OptimizerWithRegularizerSparse</code><a class="headerlink" href="#_CPPv2N6paddle30OptimizerWithRegularizerSparseE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1OptimizerWithRegularizer"><span class="std std-ref">paddle::OptimizerWithRegularizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle30OptimizerWithRegularizerSparse30OptimizerWithRegularizerSparseERK18OptimizationConfigP18ParameterOptimizerP11Regularizer">
......@@ -1509,7 +1509,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle30OptimizerWithRegularizerSparse6t0Vec_E">
......
......@@ -77,7 +77,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt id="_CPPv26paddle">
<span id="paddle"></span><span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code><a class="headerlink" href="#_CPPv26paddle" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv2N6paddle10WeightListE">
......@@ -88,7 +88,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle6WeightE">
<span id="paddle::Weight"></span><span class="target" id="paddleclasspaddle_1_1Weight"></span><em class="property">class </em><code class="descname">Weight</code><a class="headerlink" href="#_CPPv2N6paddle6WeightE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle6Weight6WeightE6size_t6size_t12ParameterPtr">
......@@ -126,7 +126,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle6Weight7weight_E">
......@@ -158,7 +158,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle11RegularizerE">
<span id="paddle::Regularizer"></span><span class="target" id="paddleclasspaddle_1_1Regularizer"></span><em class="property">class </em><code class="descname">Regularizer</code><a class="headerlink" href="#_CPPv2N6paddle11RegularizerE" title="Permalink to this definition"></a></dt>
<dd><p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1L1L2LrRegularizer"><span class="std std-ref">paddle::L1L2LrRegularizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1L1L2Regularizer"><span class="std std-ref">paddle::L1L2Regularizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1L1LrRegularizer"><span class="std std-ref">paddle::L1LrRegularizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1L1Regularizer"><span class="std std-ref">paddle::L1Regularizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1L2LrRegularizer"><span class="std std-ref">paddle::L2LrRegularizer</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1L2Regularizer"><span class="std std-ref">paddle::L2Regularizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2NK6paddle11Regularizer6updateEA_K9VectorPtrRK15ParameterConfig4realii">
......@@ -171,7 +171,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11Regularizer3getERKNSt6vectorI13ParameterTypeEERK15ParameterConfig">
......@@ -185,7 +185,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle13L1RegularizerE">
<span id="paddle::L1Regularizer"></span><span class="target" id="paddleclasspaddle_1_1L1Regularizer"></span><em class="property">class </em><code class="descname">L1Regularizer</code><a class="headerlink" href="#_CPPv2N6paddle13L1RegularizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Regularizer"><span class="std std-ref">paddle::Regularizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2NK6paddle13L1Regularizer6updateEA_K9VectorPtrRK15ParameterConfig4realii">
......@@ -199,7 +199,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle15L1LrRegularizerE">
<span id="paddle::L1LrRegularizer"></span><span class="target" id="paddleclasspaddle_1_1L1LrRegularizer"></span><em class="property">class </em><code class="descname">L1LrRegularizer</code><a class="headerlink" href="#_CPPv2N6paddle15L1LrRegularizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Regularizer"><span class="std std-ref">paddle::Regularizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2NK6paddle15L1LrRegularizer6updateEA_K9VectorPtrRK15ParameterConfig4realii">
......@@ -213,7 +213,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle13L2RegularizerE">
<span id="paddle::L2Regularizer"></span><span class="target" id="paddleclasspaddle_1_1L2Regularizer"></span><em class="property">class </em><code class="descname">L2Regularizer</code><a class="headerlink" href="#_CPPv2N6paddle13L2RegularizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Regularizer"><span class="std std-ref">paddle::Regularizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2NK6paddle13L2Regularizer6updateEA_K9VectorPtrRK15ParameterConfig4realii">
......@@ -227,7 +227,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle15L2LrRegularizerE">
<span id="paddle::L2LrRegularizer"></span><span class="target" id="paddleclasspaddle_1_1L2LrRegularizer"></span><em class="property">class </em><code class="descname">L2LrRegularizer</code><a class="headerlink" href="#_CPPv2N6paddle15L2LrRegularizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Regularizer"><span class="std std-ref">paddle::Regularizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2NK6paddle15L2LrRegularizer6updateEA_K9VectorPtrRK15ParameterConfig4realii">
......@@ -241,7 +241,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle15L1L2RegularizerE">
<span id="paddle::L1L2Regularizer"></span><span class="target" id="paddleclasspaddle_1_1L1L2Regularizer"></span><em class="property">class </em><code class="descname">L1L2Regularizer</code><a class="headerlink" href="#_CPPv2N6paddle15L1L2RegularizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Regularizer"><span class="std std-ref">paddle::Regularizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2NK6paddle15L1L2Regularizer6updateEA_K9VectorPtrRK15ParameterConfig4realii">
......@@ -255,7 +255,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle17L1L2LrRegularizerE">
<span id="paddle::L1L2LrRegularizer"></span><span class="target" id="paddleclasspaddle_1_1L1L2LrRegularizer"></span><em class="property">class </em><code class="descname">L1L2LrRegularizer</code><a class="headerlink" href="#_CPPv2N6paddle17L1L2LrRegularizerE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Regularizer"><span class="std std-ref">paddle::Regularizer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2NK6paddle17L1L2LrRegularizer6updateEA_K9VectorPtrRK15ParameterConfig4realii">
......@@ -273,7 +273,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt>
<span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv2N6paddle20UserDefinedVectorPtrE">
......@@ -289,7 +289,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle8ArgumentE">
<span id="paddle::Argument"></span><span class="target" id="paddlestructpaddle_1_1Argument"></span><em class="property">struct </em><code class="descname">Argument</code><a class="headerlink" href="#_CPPv2N6paddle8ArgumentE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle8Argument8ArgumentEv">
......@@ -454,7 +454,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle8Argument2inE">
......@@ -547,7 +547,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle8Argument8sumCostsERKNSt6vectorI8ArgumentEE">
......@@ -563,7 +563,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle8Argument7SeqInfoE">
<span id="paddle::Argument::SeqInfo"></span><span class="target" id="paddlestructpaddle_1_1Argument_1_1SeqInfo"></span><em class="property">struct </em><code class="descname">SeqInfo</code><a class="headerlink" href="#_CPPv2N6paddle8Argument7SeqInfoE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle8Argument7SeqInfo14topLevelLengthE">
......@@ -600,7 +600,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt>
<span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv2N6paddle14UpdateCallbackE">
......@@ -626,7 +626,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle7SegmentE">
<span id="paddle::Segment"></span><span class="target" id="paddlestructpaddle_1_1Segment"></span><em class="property">struct </em><code class="descname">Segment</code><a class="headerlink" href="#_CPPv2N6paddle7SegmentE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle7Segment8beginDimE">
......@@ -649,7 +649,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle9ParameterE">
<span id="paddle::Parameter"></span><span class="target" id="paddleclasspaddle_1_1Parameter"></span><em class="property">class </em><code class="descname">Parameter</code><a class="headerlink" href="#_CPPv2N6paddle9ParameterE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle7MatTypeE">
......@@ -715,7 +715,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N9Parameter9ParameterERK15ParameterConfigbb">
......@@ -1026,7 +1026,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N9Parameter9randomizeERK9VectorPtrRK15ParameterConfig">
......@@ -1039,7 +1039,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle9Parameter14kFormatVersionE">
......@@ -1062,7 +1062,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N9Parameter6setMatE13ParameterTypei">
......@@ -1087,7 +1087,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle9Parameter7config_E">
......@@ -1155,7 +1155,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N9Parameter12tlsTempBufs_E">
......@@ -1167,7 +1167,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle9Parameter6HeaderE">
<span id="paddle::Parameter::Header"></span><span class="target" id="paddlestructpaddle_1_1Parameter_1_1Header"></span><em class="property">struct </em><code class="descname">Header</code><a class="headerlink" href="#_CPPv2N6paddle9Parameter6HeaderE" title="Permalink to this definition"></a></dt>
<dd><em>#include &lt;Parameter.h&gt;</em><p>file header structure </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle9Parameter6Header7versionE">
......@@ -1194,7 +1194,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt>
<span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Typedefs</p>
<dl class="type">
<dt id="_CPPv2N6paddle20ParallelParameterPtrE">
......@@ -1212,7 +1212,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Enums</p>
<dl class="type">
<dt id="_CPPv2N6paddle11TrainerRoleE">
......@@ -1264,7 +1264,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Variables</p>
<dl class="member">
<dt id="_CPPv2N6paddle15UPDATE_TYPE_NUME">
......@@ -1276,7 +1276,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle17ParallelParameterE">
<span id="paddle::ParallelParameter"></span><span class="target" id="paddleclasspaddle_1_1ParallelParameter"></span><em class="property">class </em><code class="descname">ParallelParameter</code><a class="headerlink" href="#_CPPv2N6paddle17ParallelParameterE" title="Permalink to this definition"></a></dt>
<dd><p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1AsyncParameter"><span class="std std-ref">paddle::AsyncParameter</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1SyncParameter"><span class="std std-ref">paddle::SyncParameter</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17ParallelParameter17ParallelParameterE11TrainerRole12ParameterPtr">
......@@ -1346,7 +1346,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17ParallelParameter6createE11TrainerRole12ParameterPtri">
......@@ -1354,7 +1354,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle17ParallelParameter5role_E">
......@@ -1386,7 +1386,7 @@ var _hmt = _hmt || [];
<dd><em>#include &lt;ParallelParameter.h&gt;</em><p>this class is designed for multi-threading training.</p>
<p>&#8220;Synchronous&#8221; means multiple GPUs calculate 1/4 mini-Batch, but will get only one gradient </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParallelParameter"><span class="std std-ref">paddle::ParallelParameter</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13SyncParameter13SyncParameterE11TrainerRole12ParameterPtr">
......@@ -1455,7 +1455,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle13SyncParameter13partnerParam_E">
......@@ -1489,7 +1489,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle14AsyncParameterE">
<span id="paddle::AsyncParameter"></span><span class="target" id="paddleclasspaddle_1_1AsyncParameter"></span><em class="property">class </em><code class="descname">AsyncParameter</code><a class="headerlink" href="#_CPPv2N6paddle14AsyncParameterE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParallelParameter"><span class="std std-ref">paddle::ParallelParameter</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14AsyncParameter14AsyncParameterE11TrainerRolei12ParameterPtr">
......@@ -1526,7 +1526,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle14AsyncParameter14gradientAccum_E">
......
......@@ -79,7 +79,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle16ParameterUpdaterE">
<span id="paddle::ParameterUpdater"></span><span class="target" id="paddleclasspaddle_1_1ParameterUpdater"></span><em class="property">class </em><code class="descname">ParameterUpdater</code><a class="headerlink" href="#_CPPv2N6paddle16ParameterUpdaterE" title="Permalink to this definition"></a></dt>
<dd><p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1ParameterUpdaterComposite"><span class="std std-ref">paddle::ParameterUpdaterComposite</span></a>, <a class="reference internal" href="../../trainer/trainer.html#paddleclasspaddle_1_1RemoteParameterUpdater"><span class="std std-ref">paddle::RemoteParameterUpdater</span></a>, paddle::SgdLocalUpdater, paddle::SgdThreadUpdater, <a class="reference internal" href="../../trainer/trainer.html#paddleclasspaddle_1_1SparseRemoteParameterUpdater"><span class="std std-ref">paddle::SparseRemoteParameterUpdater</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16ParameterUpdater16ParameterUpdaterEv">
......@@ -172,7 +172,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16ParameterUpdater10updateImplEP9Parameter">
......@@ -180,7 +180,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16ParameterUpdater15parameterTypes_E">
......@@ -205,7 +205,7 @@ var _hmt = _hmt || [];
<span id="paddle::ParameterUpdaterComposite"></span><span class="target" id="paddleclasspaddle_1_1ParameterUpdaterComposite"></span><em class="property">class </em><code class="descname">ParameterUpdaterComposite</code><a class="headerlink" href="#_CPPv2N6paddle25ParameterUpdaterCompositeE" title="Permalink to this definition"></a></dt>
<dd><p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ParameterUpdater"><span class="std std-ref">paddle::ParameterUpdater</span></a></p>
<p>Subclassed by <a class="reference internal" href="../../trainer/trainer.html#paddleclasspaddle_1_1SparseRemoteParameterUpdaterComposite"><span class="std std-ref">paddle::SparseRemoteParameterUpdaterComposite</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle25ParameterUpdaterComposite25ParameterUpdaterCompositeEv">
......@@ -283,7 +283,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle25ParameterUpdaterComposite10updateImplEP9Parameter">
......@@ -291,7 +291,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle25ParameterUpdaterComposite9updaters_E">
......@@ -311,7 +311,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt id="_CPPv26paddle">
<span class="target" id="paddlenamespacepaddle"></span><em class="property">namespace </em><code class="descname">paddle</code><a class="headerlink" href="#_CPPv26paddle" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Variables</p>
<dl class="member">
<dt id="_CPPv2N6paddle13__attribute__E">
......@@ -325,7 +325,7 @@ var _hmt = _hmt || [];
<dd><em>#include &lt;ParameterUpdaterHook.h&gt;</em><p>The parameter updater hook interface.</p>
<p>The <a class="reference internal" href="../parameter/parameter.html#paddleclasspaddle_1_1Parameter"><span class="std std-ref">Parameter</span></a> Updater hooks is a group of methods invoke before ParameterUpdater::updateImpl. It can modify gradient/momentum/etc before parameter optimization. </p>
<p>Subclassed by paddle::StaticPruningHook</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle21IParameterUpdaterHookD0Ev">
......@@ -345,7 +345,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle21IParameterUpdaterHook6createERK15ParameterConfigi">
......@@ -364,7 +364,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle21IParameterUpdaterHook21IParameterUpdaterHookEv">
......
......@@ -77,7 +77,7 @@ var _hmt = _hmt || [];
<span id="paddle::BaseClient"></span><span class="target" id="paddleclasspaddle_1_1BaseClient"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">BaseClient</code><a class="headerlink" href="#_CPPv2N6paddle10BaseClientE" title="Permalink to this definition"></a></dt>
<dd><p>it manages all connections to pservers. it exists two modes to manage connections to all pservers. Firstly, one connection owns two threads that separately manage to send and receive data. Secondly, each thread uses one connection for all activation in it. the first solution arms with sendThreads_/recvThreads_ and sendJobQueue_/ recvJobQueue_. the second solution use some shared thread pool to manage connections. In addition to pserver, metric learning also uses network to exchange features within multi-machines, so this class just abstracts some basic threads and queue buffer creation for them </p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1ParameterClient2"><span class="std std-ref">paddle::ParameterClient2</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle10BaseClient10SendJobPtrE">
......@@ -90,7 +90,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10BaseClient10BaseClientEbi">
......@@ -139,7 +139,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle10BaseClient9ThreadPtrE">
......@@ -162,7 +162,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10BaseClient12calcClientIdEii">
......@@ -254,7 +254,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle10BaseClient9stopping_E">
......@@ -332,7 +332,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle10BaseClient5divupEii">
......@@ -344,7 +344,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle10BaseClient7SendJobE">
<span id="paddle::BaseClient::SendJob"></span><span class="target" id="paddlestructpaddle_1_1BaseClient_1_1SendJob"></span><em class="property">struct </em><code class="descname">SendJob</code><a class="headerlink" href="#_CPPv2N6paddle10BaseClient7SendJobE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle10BaseClient7SendJob17parallelInputIovsE">
......@@ -374,7 +374,7 @@ var _hmt = _hmt || [];
<span id="paddle::ParameterClient2"></span><span class="target" id="paddleclasspaddle_1_1ParameterClient2"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">ParameterClient2</code><a class="headerlink" href="#_CPPv2N6paddle16ParameterClient2E" title="Permalink to this definition"></a></dt>
<dd><p>The client interface for parameter server. <a class="reference internal" href="#paddleclasspaddle_1_1ParameterClient2"><span class="std std-ref">ParameterClient2</span></a> supports 2 modes for managing connections to parameter servers, in the 1st mode one connection is shared by 2 threads that are separately responsible for sending and recieving activities, in the 2nd mode one connection is owned by only one thread, and all the sending and recieving activities run in that single thread. TODO(yanfei): Additional core idea to further optimizate pserver performance is to do sync-sgd based parameter level instead of pserver level. full-parallelization based parameter level for sync-sgd also can sense forwardbackward computation layer-by-layer for more deeper layer model. Firstly, pserver can do full-parallelization on all computation based parameter level instead of waiting for all gradients are finished and start to send back parameters value immediately if parameter is ready instead of waiting for all parameters value are ready Secondly, parameter client can write back parameters to GPU instead of waiting until all parameters are received to CPU host end. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1BaseClient"><span class="std std-ref">paddle::BaseClient</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16ParameterClient216ParameterClient2Ebii">
......@@ -685,7 +685,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16ParameterClient222calcParameterBlockSizeERKNSt6vectorI12ParameterPtrEE6size_t">
......@@ -693,7 +693,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt>
......@@ -703,7 +703,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16ParameterClient25port_E">
......@@ -752,7 +752,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16ParameterClient27destroyEv">
......
......@@ -85,7 +85,7 @@ var _hmt = _hmt || [];
</p>
<p>Inherits from <a class="reference internal" href="../../utils/lock.html#paddleclasspaddle_1_1Thread"><span class="std std-ref">paddle::Thread</span></a></p>
<p>Subclassed by <a class="reference internal" href="../server/server.html#paddleclasspaddle_1_1ProtoServer"><span class="std std-ref">paddle::ProtoServer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle12SocketServer16ResponseCallbackE">
......@@ -93,7 +93,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12SocketServer12SocketServerERKNSt6stringEii">
......@@ -130,7 +130,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12SocketServer13handleRequestENSt10unique_ptrI9MsgReaderEE16ResponseCallback">
......@@ -148,7 +148,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle12SocketServer8tcpRdma_E">
......@@ -196,7 +196,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12SocketServer10rdmaServerEv">
......@@ -226,7 +226,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Friends</p>
<dl class="function">
<dt>
......@@ -249,7 +249,7 @@ var _hmt = _hmt || [];
</dl>
</p>
<p>Inherits from <a class="reference internal" href="../../utils/lock.html#paddleclasspaddle_1_1Thread"><span class="std std-ref">paddle::Thread</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12SocketWorker12SocketWorkerERRNSt10unique_ptrI13SocketChannelEEP12SocketServer">
......@@ -273,7 +273,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle12SocketWorker8channel_E">
......@@ -306,7 +306,7 @@ var _hmt = _hmt || [];
</dl>
</p>
<p>Subclassed by paddle::ProtoClient</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12SocketClient12SocketClientERKNSt6stringEi11ChannelType">
......@@ -332,7 +332,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle12SocketClient8channel_E">
......@@ -350,7 +350,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12SocketClient10RdmaClientERKNSt6stringEi">
......@@ -396,7 +396,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle13SocketChannelE">
<span id="paddle::SocketChannel"></span><span class="target" id="paddleclasspaddle_1_1SocketChannel"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SocketChannel</code><a class="headerlink" href="#_CPPv2N6paddle13SocketChannelE" title="Permalink to this definition"></a></dt>
<dd><p>APIs for reading and writing byte stream data or naive iov data from the APIs both RDMA and TCP exhibits byte stream style </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13SocketChannel13SocketChannelEiRKNSt6stringE">
......@@ -481,7 +481,7 @@ rdma::readv and rdma::writev can take advantage of RDMA blocking offload transfe
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13SocketChannel10tcpSocket_E">
......@@ -507,7 +507,7 @@ rdma::readv and rdma::writev can take advantage of RDMA blocking offload transfe
<dl class="class">
<dt id="_CPPv2N6paddle13SocketChannel13MessageHeaderE">
<span id="paddle::SocketChannel::MessageHeader"></span><span class="target" id="paddlestructpaddle_1_1SocketChannel_1_1MessageHeader"></span><em class="property">struct </em><code class="descname">MessageHeader</code><a class="headerlink" href="#_CPPv2N6paddle13SocketChannel13MessageHeaderE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle13SocketChannel13MessageHeader11totalLengthE">
......@@ -537,7 +537,7 @@ rdma::readv and rdma::writev can take advantage of RDMA blocking offload transfe
<dt id="_CPPv2N6paddle9MsgReaderE">
<span id="paddle::MsgReader"></span><span class="target" id="paddleclasspaddle_1_1MsgReader"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">MsgReader</code><a class="headerlink" href="#_CPPv2N6paddle9MsgReaderE" title="Permalink to this definition"></a></dt>
<dd><p>reading a set of blocks of data from <a class="reference internal" href="#paddleclasspaddle_1_1SocketChannel"><span class="std std-ref">SocketChannel</span></a>. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9MsgReader9MsgReaderEP13SocketChannel6size_t">
......@@ -585,7 +585,7 @@ rdma::readv and rdma::writev can take advantage of RDMA blocking offload transfe
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle9MsgReader8channel_E">
......
......@@ -78,7 +78,7 @@ var _hmt = _hmt || [];
<dd><p>It implements the rpc framework, which launchs one thread for each connection. Here define one parameter server as single TCP server binding on single port. All connections share single tcp <a class="reference internal" href="#paddleclasspaddle_1_1ProtoServer"><span class="std std-ref">ProtoServer</span></a> object, each connection handles all requests from specified trainer within single worker thread. to accelerate bandwidth efficiency and harness multicore for pserver optimization to reduce pserver latency, you could launch more port for single NIC hardward with port=N(N&gt;1) for small cluster job. </p>
<p>Inherits from <a class="reference internal" href="../network/network.html#paddleclasspaddle_1_1SocketServer"><span class="std std-ref">paddle::SocketServer</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1ParameterServer2"><span class="std std-ref">paddle::ParameterServer2</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle11ProtoServer23ProtoResponseCallbackExE">
......@@ -91,7 +91,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11ProtoServer11ProtoServerERKNSt6stringEii">
......@@ -126,7 +126,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle11ProtoServer15ServiceFunctionE">
......@@ -134,7 +134,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle11ProtoServer13handleRequestENSt10unique_ptrI9MsgReaderEE16ResponseCallback">
......@@ -169,7 +169,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle11ProtoServer19handleRequestBegin_E">
......@@ -192,7 +192,7 @@ var _hmt = _hmt || [];
<dd><p>Client interface for the parameter server</p>
<p>it implements several rpc API for remote parameter client usage. for sync-sgd, client needs one controller thread to build connections to all pservers, these controller connections do barriers synchronization with these connections used for transfering data. each data connection uses block based fine grained synchronization to gain better scalability. Merging gradients from different trainers are concurrently executed with block units, so that some network overhead will be hidden in merging gradient. for async-sgd, the difference is that pserver will do optimization immediately if the gradients are ready, so that pserver needs to prepare separate buffer to store value for sending back to trainer to prevent from being polluted. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1ProtoServer"><span class="std std-ref">paddle::ProtoServer</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle16ParameterServer216OperatorFunctionE">
......@@ -200,7 +200,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16ParameterServer216ParameterServer2ERKNSt6stringEii">
......@@ -558,7 +558,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16ParameterServer226kRetMsgInvalidMatrixHandleE">
......@@ -582,7 +582,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle16ParameterServer28BlockKeyE">
......@@ -607,7 +607,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16ParameterServer230asyncGrdientCommitCheckAndStatERK20SendParameterRequest">
......@@ -723,7 +723,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16ParameterServer215parameterMutex_E">
......@@ -946,7 +946,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle16ParameterServer29BlockInfoE">
<span id="paddle::ParameterServer2::BlockInfo"></span><span class="target" id="paddlestructpaddle_1_1ParameterServer2_1_1BlockInfo"></span><em class="property">struct </em><code class="descname">BlockInfo</code><a class="headerlink" href="#_CPPv2N6paddle16ParameterServer29BlockInfoE" title="Permalink to this definition"></a></dt>
<dd><p>to parallelize the multi-thread and multi-connnection computation at pserver, it use block unit to reduce the contention for computation, even further use block level optimizater control for each block for some special reason annotated below. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle16ParameterServer29BlockInfo6configE">
......@@ -976,7 +976,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle16ParameterServer212BlockKeyHashE">
<span id="paddle::ParameterServer2::BlockKeyHash"></span><span class="target" id="paddlestructpaddle_1_1ParameterServer2_1_1BlockKeyHash"></span><em class="property">struct </em><code class="descname">BlockKeyHash</code><a class="headerlink" href="#_CPPv2N6paddle16ParameterServer212BlockKeyHashE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2NK6paddle16ParameterServer212BlockKeyHashclERK8BlockKey">
......@@ -989,7 +989,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle16ParameterServer26BufferE">
<span id="paddle::ParameterServer2::Buffer"></span><span class="target" id="paddlestructpaddle_1_1ParameterServer2_1_1Buffer"></span><em class="property">struct </em><code class="descname">Buffer</code><a class="headerlink" href="#_CPPv2N6paddle16ParameterServer26BufferE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle16ParameterServer26Buffer4baseE">
......@@ -1020,7 +1020,7 @@ var _hmt = _hmt || [];
</dl>
</p>
<p>Inherits from std::vector&lt; T, AlignedAllocator&lt; T, AlignBytes &gt; &gt;</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16ParameterServer215ReadWriteBuffer20resizeWithAlignHintsE6size_t6size_t">
......@@ -1060,7 +1060,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle16ParameterServer215ReadWriteBuffer18IsTLargerThanAlignE">
......@@ -1075,7 +1075,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Private Members</p>
<dl class="member">
<dt id="_CPPv2N6paddle16ParameterServer215ReadWriteBuffer10curOffset_E">
......
......@@ -78,7 +78,7 @@ var _hmt = _hmt || [];
<span id="paddle::TrainerStats"></span><span class="target" id="paddleclasspaddle_1_1TrainerStats"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">TrainerStats</code><a class="headerlink" href="#_CPPv2N6paddle12TrainerStatsE" title="Permalink to this definition"></a></dt>
<dd><p><a class="reference internal" href="#paddleclasspaddle_1_1TrainerStats"><span class="std std-ref">TrainerStats</span></a> object will statistics sample processed and total cost. </p>
<p>There are two stats in it, the &#8216;AvgCost&#8217; and &#8216;CurrentAvgCost&#8217;. &#8216;AvgCost&#8217; means cost through one pass(all mini-batches). &#8216;CurrentAvgCost&#8217; means cost through one mini-batch. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12TrainerStats5resetEv">
......@@ -217,7 +217,7 @@ var _hmt = _hmt || [];
<p>This remote parameter updater does not use pipeline mechanism to hide copy latency from gpu to cpu buffer. In addition the overlapped between backward and communication is not supported. </p>
<p>Inherits from <a class="reference internal" href="../parameter/update/update.html#paddleclasspaddle_1_1ParameterUpdater"><span class="std std-ref">paddle::ParameterUpdater</span></a></p>
<p>Subclassed by <a class="reference internal" href="#paddleclasspaddle_1_1ConcurrentRemoteParameterUpdater"><span class="std std-ref">paddle::ConcurrentRemoteParameterUpdater</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle22RemoteParameterUpdater22RemoteParameterUpdaterERK18OptimizationConfigiRRNSt10unique_ptrI16ParameterUpdaterEE">
......@@ -278,7 +278,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle22RemoteParameterUpdater10controllerEv">
......@@ -320,7 +320,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle22RemoteParameterUpdater7config_E">
......@@ -400,7 +400,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Static Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle22RemoteParameterUpdater8kAverageE">
......@@ -424,7 +424,7 @@ var _hmt = _hmt || [];
<dd><p>This updater add additional optimization for overlapping synchronization from pservers with backward computation.</p>
<p><a class="reference internal" href="../parameter/parameter/parameter.html#paddleclasspaddle_1_1Parameter"><span class="std std-ref">Parameter</span></a> can be sent to pservers when related backward stage is finished. This concurrent udpater does data copy from acceleration device to host memory aynchronously. In addition internal parameter client reads data in host memory and send them to all pservers in next stage. So this class help to pipeline device-to-host copy and host-to-network to hide network latency in backward stage. It contains separate send and recv thread for pipeline usage. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1RemoteParameterUpdater"><span class="std std-ref">paddle::RemoteParameterUpdater</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle32ConcurrentRemoteParameterUpdater32ConcurrentRemoteParameterUpdaterE18OptimizationConfigiRRNSt10unique_ptrI16ParameterUpdaterEE">
......@@ -448,7 +448,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle32ConcurrentRemoteParameterUpdater10updateImplEP9Parameter">
......@@ -521,7 +521,7 @@ var _hmt = _hmt || [];
<p>For updating sparse parameters, all latest parameters are stored in pservers instead of keeping full copy at train end, so need to prefetch parameters weight value which can be changed in next-batch before doing next forwardbackward. Also, with above fact that the parameters can be stored in pserver instead of trainer, we can fetch specified parmeters if necessary, and can support huge parameters which is larger enough than the RAM size in single node.</p>
<p>Internally, this updater will direct internal parameter client to encapsulate sparse specified message for all pservers. </p>
<p>Inherits from <a class="reference internal" href="../parameter/update/update.html#paddleclasspaddle_1_1ParameterUpdater"><span class="std std-ref">paddle::ParameterUpdater</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle28SparseRemoteParameterUpdater28SparseRemoteParameterUpdaterERK18OptimizationConfigib">
......@@ -605,7 +605,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle28SparseRemoteParameterUpdater10updateImplEP9Parameter">
......@@ -626,7 +626,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle28SparseRemoteParameterUpdater7config_E">
......@@ -683,7 +683,7 @@ var _hmt = _hmt || [];
<p>Not all parts of one model are sparse, so it exists dense updater for normal layers while sparse updater is for sparse layers.</p>
<p>it directly call internal dense and sparse udpater individually. </p>
<p>Inherits from <a class="reference internal" href="../parameter/update/update.html#paddleclasspaddle_1_1ParameterUpdaterComposite"><span class="std std-ref">paddle::ParameterUpdaterComposite</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle37SparseRemoteParameterUpdaterComposite12__anonymous4E">
......@@ -707,7 +707,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle37SparseRemoteParameterUpdaterComposite37SparseRemoteParameterUpdaterCompositeERK18OptimizationConfigibRRNSt10unique_ptrI16ParameterUpdaterEE">
......
......@@ -95,7 +95,7 @@ var _hmt = _hmt || [];
</pre></div>
</div>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle16CustomStackTrace12DumpCallbackE">
......@@ -105,7 +105,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle16CustomStackTrace3popERK1T">
......
......@@ -76,7 +76,7 @@ var _hmt = _hmt || [];
<dl class="type">
<dt id="_CPPv2N6paddle19enumeration_wrapperE">
<span id="paddle::enumeration_wrapper"></span><span class="target" id="paddlenamespacepaddle_1_1enumeration__wrapper"></span><em class="property">namespace </em><code class="descclassname">paddle::</code><code class="descname">enumeration_wrapper</code><a class="headerlink" href="#_CPPv2N6paddle19enumeration_wrapperE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Enums</p>
<dl class="type">
<dt id="_CPPv2N6paddle19enumeration_wrapper8PassTypeE">
......
......@@ -78,7 +78,7 @@ var _hmt = _hmt || [];
<span id="paddle::Thread"></span><span class="target" id="paddleclasspaddle_1_1Thread"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">Thread</code><a class="headerlink" href="#_CPPv2N6paddle6ThreadE" title="Permalink to this definition"></a></dt>
<dd><p>A simple wrapper for std::thread </p>
<p>Subclassed by <a class="reference internal" href="../pserver/network/network.html#paddleclasspaddle_1_1SocketServer"><span class="std std-ref">paddle::SocketServer</span></a>, <a class="reference internal" href="../pserver/network/network.html#paddleclasspaddle_1_1SocketWorker"><span class="std std-ref">paddle::SocketWorker</span></a>, <a class="reference internal" href="#paddleclasspaddle_1_1ThreadWorker"><span class="std std-ref">paddle::ThreadWorker</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle6Thread6ThreadEv">
......@@ -116,7 +116,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle6Thread7thread_E">
......@@ -135,7 +135,7 @@ var _hmt = _hmt || [];
<dd><p><a class="reference internal" href="#paddleclasspaddle_1_1ThreadWorker"><span class="std std-ref">ThreadWorker</span></a> maintains a job queue. It executes the jobs in the job queue sequentianlly in a separate thread.</p>
<p>Use <a class="reference internal" href="#paddleclasspaddle_1_1ThreadWorker_1ac45663002b966b417524ccac3dd95b38"><span class="std std-ref">addJob()</span></a> to add a new job to the job queue. </p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Thread"><span class="std std-ref">paddle::Thread</span></a></p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle12ThreadWorker7JobFuncE">
......@@ -143,7 +143,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12ThreadWorker12ThreadWorkerEv">
......@@ -176,7 +176,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle12ThreadWorker3runEv">
......@@ -190,7 +190,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle12ThreadWorker5jobs_E">
......@@ -224,7 +224,7 @@ var _hmt = _hmt || [];
<dd><p><a class="reference internal" href="#paddleclasspaddle_1_1SyncThreadPool"><span class="std std-ref">SyncThreadPool</span></a> maintains a pool of threads. It executes the job use all workers in the pool.</p>
<p>Use <a class="reference internal" href="#paddleclasspaddle_1_1SyncThreadPool_1aa477a8f126ba9433b7b7fe7e7fcd52e5"><span class="std std-ref">exec()</span></a> to run a new job, job complete when exec returned. Only one job can exec simultaneously.</p>
<p>Each worker has an tid whose range is [0, <a class="reference internal" href="#paddleclasspaddle_1_1SyncThreadPool_1a137196ab4b87c59ba001b127ca197ed3"><span class="std std-ref">getNumThreads()</span></a>). JobFunc can use tid to divide input data. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle14SyncThreadPool7JobFuncE">
......@@ -232,7 +232,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14SyncThreadPool14SyncThreadPoolEv">
......@@ -300,7 +300,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14SyncThreadPool10execHelperEP14SyncThreadPool7JobFunc">
......@@ -318,7 +318,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle14SyncThreadPool5startEv">
......@@ -339,7 +339,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle14SyncThreadPool14ownerThreadId_E">
......@@ -395,7 +395,7 @@ var _hmt = _hmt || [];
<p>Use <a class="reference internal" href="#paddleclasspaddle_1_1MultiThreadWorker_1a9bee7e6b08a88a8e9596703796b384d2"><span class="std std-ref">waitResult()</span></a> to get the results until nullptr is returned. Use <a class="reference internal" href="#paddleclasspaddle_1_1MultiThreadWorker_1a2a428608cfaf40492996951e6bf3ce15"><span class="std std-ref">stop()</span></a> to exit normally (<a class="reference internal" href="#paddleclasspaddle_1_1MultiThreadWorker_1ac0993f26d31fc8b36494aa8dd18d3fb5"><span class="std std-ref">stopAddJob()</span></a> should be called first).</p>
<p>Force stop:</p>
<p>Use <a class="reference internal" href="#paddleclasspaddle_1_1MultiThreadWorker_1a9eeba6482826c48450a5694c64164ac4"><span class="std std-ref">forceStop()</span></a> to exit forcibly even though there are remaining jobs in the job queue. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle17MultiThreadWorker10ResultTypeE">
......@@ -413,7 +413,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17MultiThreadWorker17MultiThreadWorkerE6size_t6size_t">
......@@ -503,7 +503,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle17MultiThreadWorker3runEv">
......@@ -517,7 +517,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle17MultiThreadWorker9stopping_E">
......@@ -564,7 +564,7 @@ var _hmt = _hmt || [];
<p>Use <a class="reference internal" href="#paddleclasspaddle_1_1AsyncThreadPool_1a4848df09be835a672e9351ef5a544c81"><span class="std std-ref">addBatchJobs()</span></a> to add a batch of jobs. Unlike <a class="reference internal" href="#paddleclasspaddle_1_1AsyncThreadPool_1a7389d5d38028ca8cd9cc07071f5d98b7"><span class="std std-ref">addJob()</span></a>&#8216;s asynchronization, addBatchJobs will block caller&#8217;s thread until all jobs in the batch are finished.</p>
<p>Stop: Use <a class="reference internal" href="#paddleclasspaddle_1_1AsyncThreadPool_1a7b5bbc8fd15e5f7ed52272a346f3f0d9"><span class="std std-ref">stop()</span></a> to stop the thread pool. Job can be added once stopped.</p>
<p>Process-wide Singleton: Use AsyncThreadPool::ProcessChannel(N) first to create N threads. Then call <a class="reference internal" href="#paddleclasspaddle_1_1AsyncThreadPool_1a95be04dd6f37d66b4199cf2b1700444d"><span class="std std-ref">AsyncThreadPool::ProcessChannel()</span></a> to get the process-wide global thread pool. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Types</p>
<dl class="type">
<dt id="_CPPv2N6paddle15AsyncThreadPool7JobFuncE">
......@@ -572,7 +572,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15AsyncThreadPool15AsyncThreadPoolEv">
......@@ -663,7 +663,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15AsyncThreadPool14ProcessChannelE6size_t">
......@@ -672,7 +672,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle15AsyncThreadPool3runEv">
......
......@@ -103,7 +103,7 @@ var _hmt = _hmt || [];
</pre></div>
</div>
</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle5Queue5QueueEv">
......@@ -215,7 +215,7 @@ var _hmt = _hmt || [];
<span class="target" id="paddleclasspaddle_1_1BlockingQueue"></span><em class="property">template </em>&lt;typename <em>T</em>&gt;</dt>
<dt id="_CPPv2N6paddle13BlockingQueueE">
<span id="paddle::BlockingQueue"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">BlockingQueue</code><a class="headerlink" href="#_CPPv2N6paddle13BlockingQueueE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13BlockingQueue13BlockingQueueE6size_t">
......
......@@ -82,7 +82,7 @@ var _hmt = _hmt || [];
<p>Use <a class="reference internal" href="#paddleclasspaddle_1_1RWLock_1acd26f9a9bb834456b0a92c63c7193d07"><span class="std std-ref">lock_shared()</span></a> to lock on read mode, other thread can get it by using the same method <a class="reference internal" href="#paddleclasspaddle_1_1RWLock_1acd26f9a9bb834456b0a92c63c7193d07"><span class="std std-ref">lock_shared()</span></a>.</p>
<p>Unlock:</p>
<p>Use unlock() to unlock the lock. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle6RWLock6RWLockEv">
......@@ -132,7 +132,7 @@ var _hmt = _hmt || [];
<dd></dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle6RWLock7rwlock_E">
......@@ -149,7 +149,7 @@ var _hmt = _hmt || [];
<dt id="_CPPv2N6paddle13ReadLockGuardE">
<span id="paddle::ReadLockGuard"></span><span class="target" id="paddleclasspaddle_1_1ReadLockGuard"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">ReadLockGuard</code><a class="headerlink" href="#_CPPv2N6paddle13ReadLockGuardE" title="Permalink to this definition"></a></dt>
<dd><p>The <a class="reference internal" href="#paddleclasspaddle_1_1ReadLockGuard"><span class="std std-ref">ReadLockGuard</span></a> is a read mode <a class="reference internal" href="#paddleclasspaddle_1_1RWLock"><span class="std std-ref">RWLock</span></a> using RAII management mechanism. </p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13ReadLockGuard13ReadLockGuardER6RWLock">
......@@ -169,7 +169,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle13ReadLockGuard7rwlock_E">
......@@ -185,7 +185,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle8SpinLockE">
<span id="paddle::SpinLock"></span><span class="target" id="paddleclasspaddle_1_1SpinLock"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SpinLock</code><a class="headerlink" href="#_CPPv2N6paddle8SpinLockE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle8SpinLock12DISABLE_COPYE8SpinLock">
......@@ -221,7 +221,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle9SemaphoreE">
<span id="paddle::Semaphore"></span><span class="target" id="paddleclasspaddle_1_1Semaphore"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">Semaphore</code><a class="headerlink" href="#_CPPv2N6paddle9SemaphoreE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle9Semaphore9SemaphoreERK9Semaphore">
......@@ -296,7 +296,7 @@ var _hmt = _hmt || [];
<dl class="class">
<dt id="_CPPv2N6paddle13ThreadBarrierE">
<span id="paddle::ThreadBarrier"></span><span class="target" id="paddleclasspaddle_1_1ThreadBarrier"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">ThreadBarrier</code><a class="headerlink" href="#_CPPv2N6paddle13ThreadBarrierE" title="Permalink to this definition"></a></dt>
<dd><div class="breathe-sectiondef container">
<dd><div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt id="_CPPv2N6paddle13ThreadBarrier12DISABLE_COPYE13ThreadBarrier">
......@@ -331,7 +331,7 @@ var _hmt = _hmt || [];
<span id="paddle::LockedCondition"></span><span class="target" id="paddleclasspaddle_1_1LockedCondition"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">LockedCondition</code><a class="headerlink" href="#_CPPv2N6paddle15LockedConditionE" title="Permalink to this definition"></a></dt>
<dd><p>A wrapper for condition variable with mutex. </p>
<p>Inherits from condition_variable</p>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Public Functions</p>
<dl class="function">
<dt>
......@@ -390,7 +390,7 @@ var _hmt = _hmt || [];
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<div class="breathe-sectiondef docutils container">
<p class="breathe-sectiondef-title rubric">Protected Attributes</p>
<dl class="member">
<dt id="_CPPv2N6paddle15LockedCondition6mutex_E">
......
......@@ -60,7 +60,8 @@ var _hmt = _hmt || [];
<a href="layers.html" title="Layers"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
</ul>
</div>
......@@ -331,7 +332,8 @@ supported by hppl.</li>
<a href="layers.html" title="Layers"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" >Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" >Model Config Interface</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
......
......@@ -30,7 +30,7 @@
<link rel="search" title="Search" href="../../../search.html" />
<link rel="top" title="PaddlePaddle documentation" href="../../../index.html" />
<link rel="up" title="Model Config Interface" href="index.html" />
<link rel="next" title="Examples and demos" href="../../../demo/index.html" />
<link rel="next" title="Use Case" href="../../cmd_argument/use_case.html" />
<link rel="prev" title="Evaluators" href="evaluators.html" />
<script>
var _hmt = _hmt || [];
......@@ -54,13 +54,14 @@ var _hmt = _hmt || [];
<a href="../../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../../../demo/index.html" title="Examples and demos"
<a href="../../cmd_argument/use_case.html" title="Use Case"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="evaluators.html" title="Evaluators"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
</ul>
</div>
......@@ -170,8 +171,8 @@ The details allocation in parallel_nn please refer to <a class="reference extern
<p class="topless"><a href="evaluators.html"
title="previous chapter">Evaluators</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="../../../demo/index.html"
title="next chapter">Examples and demos</a></p>
<p class="topless"><a href="../../cmd_argument/use_case.html"
title="next chapter">Use Case</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
......@@ -203,13 +204,14 @@ The details allocation in parallel_nn please refer to <a class="reference extern
<a href="../../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../../../demo/index.html" title="Examples and demos"
<a href="../../cmd_argument/use_case.html" title="Use Case"
>next</a> |</li>
<li class="right" >
<a href="evaluators.html" title="Evaluators"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" >Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" >Model Config Interface</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
......
......@@ -60,7 +60,8 @@ var _hmt = _hmt || [];
<a href="optimizers.html" title="Optimizers"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
</ul>
</div>
......@@ -169,7 +170,8 @@ or list to this argument.</li>
<a href="optimizers.html" title="Optimizers"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" >Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" >Model Config Interface</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
......
......@@ -60,7 +60,8 @@ var _hmt = _hmt || [];
<a href="networks.html" title="Networks"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
</ul>
</div>
......@@ -680,7 +681,8 @@ one or more input layers.</p>
<a href="networks.html" title="Networks"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" >Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" >Model Config Interface</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
......
......@@ -29,8 +29,9 @@
<link rel="index" title="Index" href="../../../genindex.html" />
<link rel="search" title="Search" href="../../../search.html" />
<link rel="top" title="PaddlePaddle documentation" href="../../../index.html" />
<link rel="up" title="User Interface" href="../../index.html" />
<link rel="next" title="Optimizers" href="optimizers.html" />
<link rel="prev" title="Python Prediction API" href="../../predict/swig_py_paddle_en.html" />
<link rel="prev" title="How to use PyDataProvider2" href="../../data_provider/pydataprovider2.html" />
<script>
var _hmt = _hmt || [];
(function() {
......@@ -56,9 +57,10 @@ var _hmt = _hmt || [];
<a href="optimizers.html" title="Optimizers"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="../../predict/swig_py_paddle_en.html" title="Python Prediction API"
<a href="../../data_provider/pydataprovider2.html" title="How to use PyDataProvider2"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" accesskey="U">User Interface</a> &#187;</li>
</ul>
</div>
......@@ -90,8 +92,8 @@ var _hmt = _hmt || [];
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="../../predict/swig_py_paddle_en.html"
title="previous chapter">Python Prediction API</a></p>
<p class="topless"><a href="../../data_provider/pydataprovider2.html"
title="previous chapter">How to use PyDataProvider2</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="optimizers.html"
title="next chapter">Optimizers</a></p>
......@@ -129,9 +131,10 @@ var _hmt = _hmt || [];
<a href="optimizers.html" title="Optimizers"
>next</a> |</li>
<li class="right" >
<a href="../../predict/swig_py_paddle_en.html" title="Python Prediction API"
<a href="../../data_provider/pydataprovider2.html" title="How to use PyDataProvider2"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
......
......@@ -60,7 +60,8 @@ var _hmt = _hmt || [];
<a href="data_sources.html" title="DataSources"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
</ul>
</div>
......@@ -1975,15 +1976,13 @@ bias.</li>
<code class="descclassname">paddle.trainer_config_helpers.layers.</code><code class="descname">linear_comb_layer</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span></dt>
<dd><dl class="docutils">
<dt>A layer for weighted sum of vectors takes two inputs.</dt>
<dd><ul class="first last">
<dd><ul class="first last simple">
<li><dl class="first docutils">
<dt>Input: size of weights is M</dt>
<dd><p class="first last">size of vectors is M*N</p>
</dd>
<dd>size of vectors is M*N</dd>
</dl>
</li>
<li><p class="first">Output: a vector of size=N</p>
</li>
<li>Output: a vector of size=N</li>
</ul>
</dd>
</dl>
......@@ -3110,7 +3109,8 @@ It is used by recurrent layer group.</p>
<a href="data_sources.html" title="DataSources"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" >Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" >Model Config Interface</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
......
......@@ -60,7 +60,8 @@ var _hmt = _hmt || [];
<a href="poolings.html" title="Poolings"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
</ul>
</div>
......@@ -874,7 +875,8 @@ network, this method will calculate the input order by dfs travel.</p>
<a href="poolings.html" title="Poolings"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" >Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" >Model Config Interface</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
......
......@@ -60,7 +60,8 @@ var _hmt = _hmt || [];
<a href="index.html" title="Model Config Interface"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
</ul>
</div>
......@@ -374,7 +375,8 @@ clipped.</li>
<a href="index.html" title="Model Config Interface"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" >Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" >Model Config Interface</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
......
......@@ -60,7 +60,8 @@ var _hmt = _hmt || [];
<a href="activations.html" title="Activations"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" accesskey="U">Model Config Interface</a> &#187;</li>
</ul>
</div>
......@@ -210,7 +211,8 @@ value. None means use default value in proto.</td>
<a href="activations.html" title="Activations"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="index.html" >Model Config Interface</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../../index.html" >User Interface</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="index.html" >Model Config Interface</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
......
......@@ -31,7 +31,7 @@
<link rel="top" title="PaddlePaddle documentation" href="../../index.html" />
<link rel="up" title="User Interface" href="../index.html" />
<link rel="next" title="Argument Outline" href="argument_outline.html" />
<link rel="prev" title="How to use PyDataProvider2" href="../data_provider/pydataprovider2.html" />
<link rel="prev" title="Parameter and Extra Layer Attribute" href="../api/trainer_config_helpers/attrs.html" />
<script>
var _hmt = _hmt || [];
(function() {
......@@ -57,7 +57,7 @@ var _hmt = _hmt || [];
<a href="argument_outline.html" title="Argument Outline"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="../data_provider/pydataprovider2.html" title="How to use PyDataProvider2"
<a href="../api/trainer_config_helpers/attrs.html" title="Parameter and Extra Layer Attribute"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../index.html" accesskey="U">User Interface</a> &#187;</li>
......@@ -281,8 +281,8 @@ var _hmt = _hmt || [];
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="../data_provider/pydataprovider2.html"
title="previous chapter">How to use PyDataProvider2</a></p>
<p class="topless"><a href="../api/trainer_config_helpers/attrs.html"
title="previous chapter">Parameter and Extra Layer Attribute</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="argument_outline.html"
title="next chapter">Argument Outline</a></p>
......@@ -320,7 +320,7 @@ var _hmt = _hmt || [];
<a href="argument_outline.html" title="Argument Outline"
>next</a> |</li>
<li class="right" >
<a href="../data_provider/pydataprovider2.html" title="How to use PyDataProvider2"
<a href="../api/trainer_config_helpers/attrs.html" title="Parameter and Extra Layer Attribute"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">PaddlePaddle documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../index.html" >User Interface</a> &#187;</li>
......
......@@ -30,7 +30,7 @@
<link rel="search" title="Search" href="../../search.html" />
<link rel="top" title="PaddlePaddle documentation" href="../../index.html" />
<link rel="up" title="DataProvider Introduction" href="index.html" />
<link rel="next" title="Use Case" href="../cmd_argument/use_case.html" />
<link rel="next" title="Model Config Interface" href="../api/trainer_config_helpers/index.html" />
<link rel="prev" title="DataProvider Introduction" href="index.html" />
<script>
var _hmt = _hmt || [];
......@@ -54,7 +54,7 @@ var _hmt = _hmt || [];
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../cmd_argument/use_case.html" title="Use Case"
<a href="../api/trainer_config_helpers/index.html" title="Model Config Interface"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="index.html" title="DataProvider Introduction"
......@@ -430,7 +430,7 @@ The four data types are:</p>
<li><code class="code docutils literal"><span class="pre">dense_vector</span></code>: dense float vector.</li>
<li><code class="code docutils literal"><span class="pre">sparse_binary_vector</span></code>: sparse binary vector, most of the value is 0, and
the non zero elements are fixed to 1.</li>
<li><code class="code docutils literal"><span class="pre">sparse_float_vector</span></code>: sparse float vector, most of the value is 0, and some
<li><code class="code docutils literal"><span class="pre">sparse_vector</span></code>: sparse float vector, most of the value is 0, and some
non zero elements can be any float value. They are given by the user.</li>
<li><code class="code docutils literal"><span class="pre">integer</span></code>: an integer scalar, that is especially used for label or word index.</li>
</ul>
......@@ -468,7 +468,7 @@ in the above table.</p>
<td>[[i, ...], [i, ...], ...]</td>
<td>[[[i, ...], ...], [[i, ...], ...],...]</td>
</tr>
<tr class="row-even"><td>sparse_float_vector</td>
<tr class="row-even"><td>sparse_vector</td>
<td>[(i,f), (i,f), ...]</td>
<td>[[(i,f), ...], [(i,f), ...], ...]</td>
<td>[[[(i,f), ...], ...], [[(i,f), ...], ...],...]</td>
......@@ -549,8 +549,8 @@ memory.</li>
<p class="topless"><a href="index.html"
title="previous chapter">DataProvider Introduction</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="../cmd_argument/use_case.html"
title="next chapter">Use Case</a></p>
<p class="topless"><a href="../api/trainer_config_helpers/index.html"
title="next chapter">Model Config Interface</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
......@@ -582,7 +582,7 @@ memory.</li>
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../cmd_argument/use_case.html" title="Use Case"
<a href="../api/trainer_config_helpers/index.html" title="Model Config Interface"
>next</a> |</li>
<li class="right" >
<a href="index.html" title="DataProvider Introduction"
......
......@@ -81,6 +81,9 @@ var _hmt = _hmt || [];
<div class="section" id="api-reference">
<span id="api-reference"></span><h2>API Reference<a class="headerlink" href="#api-reference" title="Permalink to this headline"></a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="api/trainer_config_helpers/index.html">Model Config Interface</a></li>
</ul>
</div>
</div>
<div class="section" id="command-line-argument">
......
......@@ -30,7 +30,7 @@
<link rel="search" title="Search" href="../../search.html" />
<link rel="top" title="PaddlePaddle documentation" href="../../index.html" />
<link rel="up" title="User Interface" href="../index.html" />
<link rel="next" title="Model Config Interface" href="../api/trainer_config_helpers/index.html" />
<link rel="next" title="Examples and demos" href="../../demo/index.html" />
<link rel="prev" title="Detail Description" href="../cmd_argument/detail_introduction.html" />
<script>
var _hmt = _hmt || [];
......@@ -54,7 +54,7 @@ var _hmt = _hmt || [];
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../api/trainer_config_helpers/index.html" title="Model Config Interface"
<a href="../../demo/index.html" title="Examples and demos"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="../cmd_argument/detail_introduction.html" title="Detail Description"
......@@ -106,24 +106,21 @@ MNIST classification problem. A complete sample code could be found at
<p>The module that does the most of the job is py_paddle.swig_paddle, it&#8217;s
generated by SWIG and has complete documents, for more details you can use
python&#8217;s <code class="code docutils literal"><span class="pre">help()</span></code> function. Let&#8217;s walk through the above python script:</p>
<ul>
<li><p class="first">At the beginning, use <code class="code docutils literal"><span class="pre">swig_paddle.initPaddle()</span></code> to initialize
<ul class="simple">
<li>At the beginning, use <code class="code docutils literal"><span class="pre">swig_paddle.initPaddle()</span></code> to initialize
PaddlePaddle with command line arguments, for more about command line arguments
see <a class="reference external" href="../cmd_argument/detail_introduction.html">Command Line Arguments</a>.</p>
</li>
<li><p class="first">Parse the configuration file that is used in training with <code class="code docutils literal"><span class="pre">parse_config()</span></code>.
see <a class="reference external" href="../cmd_argument/detail_introduction.html">Command Line Arguments</a>.</li>
<li>Parse the configuration file that is used in training with <code class="code docutils literal"><span class="pre">parse_config()</span></code>.
Because data to predict with always have no label, and output of prediction work
normally is the output layer rather than the cost layer, so you should modify
the configuration file accordingly before using it in the prediction work.</p>
</li>
<li><p class="first">Create a neural network with
the configuration file accordingly before using it in the prediction work.</li>
<li>Create a neural network with
<code class="code docutils literal"><span class="pre">swig_paddle.GradientMachine.createFromConfigproto()</span></code>, which takes the
parsed configuration <code class="code docutils literal"><span class="pre">conf.model_config</span></code> as argument. Then load the
trained parameters from the model with <code class="code docutils literal"><span class="pre">network.loadParameters()</span></code>.</p>
</li>
trained parameters from the model with <code class="code docutils literal"><span class="pre">network.loadParameters()</span></code>.</li>
<li><dl class="first docutils">
<dt>Create a data converter object of utility class <code class="code docutils literal"><span class="pre">DataProviderConverter</span></code>.</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>Note: As swig_paddle can only accept C++ matrices, we offer a utility
class DataProviderConverter that can accept the same input data with
PyDataProvider2, for more information please refer to document
......@@ -132,9 +129,8 @@ of <a class="reference external" href="../data_provider/pydataprovider2.html">Py
</dd>
</dl>
</li>
<li><p class="first">Do the prediction with <code class="code docutils literal"><span class="pre">forwardTest()</span></code>, which takes the converted
input data and outputs the activations of the output layer.</p>
</li>
<li>Do the prediction with <code class="code docutils literal"><span class="pre">forwardTest()</span></code>, which takes the converted
input data and outputs the activations of the output layer.</li>
</ul>
<p>Here is a typical output:</p>
<div class="highlight-text"><div class="highlight"><pre><span></span>[{&#39;id&#39;: None, &#39;value&#39;: array([[ 5.53018653e-09, 1.12194102e-05, 1.96644767e-09,
......@@ -162,8 +158,8 @@ the corresponding neuron in the output layer.</p>
<p class="topless"><a href="../cmd_argument/detail_introduction.html"
title="previous chapter">Detail Description</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="../api/trainer_config_helpers/index.html"
title="next chapter">Model Config Interface</a></p>
<p class="topless"><a href="../../demo/index.html"
title="next chapter">Examples and demos</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
......@@ -195,7 +191,7 @@ the corresponding neuron in the output layer.</p>
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../api/trainer_config_helpers/index.html" title="Model Config Interface"
<a href="../../demo/index.html" title="Examples and demos"
>next</a> |</li>
<li class="right" >
<a href="../cmd_argument/detail_introduction.html" title="Detail Description"
......
......@@ -152,7 +152,7 @@ PaddlePaddle的数据包括四种主要类型,和三种序列模式。其中
* dense_vector 表示稠密的浮点数向量。
* sparse_binary_vector 表示稀疏的零一向量,即大部分值为0,有值的位置只能取1
* sparse_float_vector 表示稀疏的向量,即大部分值为0,有值的部分可以是任何浮点数
* sparse_vector 表示稀疏的向量,即大部分值为0,有值的部分可以是任何浮点数
* integer 表示整数标签。
而三种序列模式为
......@@ -170,7 +170,7 @@ PaddlePaddle的数据包括四种主要类型,和三种序列模式。其中
+----------------------+---------------------+-----------------------------------+------------------------------------------------+
| sparse_binary_vector | [i, i, ...] | [[i, ...], [i, ...], ...] | [[[i, ...], ...], [[i, ...], ...],...] |
+----------------------+---------------------+-----------------------------------+------------------------------------------------+
| sparse_float_vector | [(i,f), (i,f), ...] | [[(i,f), ...], [(i,f), ...], ...] | [[[(i,f), ...], ...], [[(i,f), ...], ...],...] |
| sparse_vector | [(i,f), (i,f), ...] | [[(i,f), ...], [(i,f), ...], ...] | [[[(i,f), ...], ...], [[(i,f), ...], ...],...] |
+----------------------+---------------------+-----------------------------------+------------------------------------------------+
| integer_value | i | [i, i, ...] | [[i, ...], [i, ...], ...] |
+----------------------+---------------------+-----------------------------------+------------------------------------------------+
......
......@@ -69,7 +69,7 @@ cmake可以将cmake项目文件,生成各个平台的makefile。详细的cmake
<h3>bool型的编译选项<a class="headerlink" href="#bool" title="Permalink to this headline"></a></h3>
<p>设置下列编译选项时,可以在cmake的命令行设置。使用 -D命令即可。例如
<code class="code docutils literal"><span class="pre">cmake</span> <span class="pre">-D</span> <span class="pre">WITH_GPU=OFF</span></code></p>
<table border="1" class="docutils" id="id2">
<table border="1" class="colwidths-given docutils" id="id2">
<caption><span class="caption-text">PaddlePaddle的bool型编译选项</span><a class="headerlink" href="#id2" title="Permalink to this table"></a></caption>
<colgroup>
<col width="10%" />
......@@ -149,7 +149,7 @@ cmake可以将cmake项目文件,生成各个平台的makefile。详细的cmake
通过编译时指定路径来实现引用各种blas。</p>
<p>cmake编译时会首先在系统路径(/usr/lib:/usr/local/lib)中寻找这些blas的实现。同时
也会读取相关路径变量来进行搜索。路径变量为:</p>
<table border="1" class="docutils" id="id3">
<table border="1" class="colwidths-given docutils" id="id3">
<caption><span class="caption-text">PaddlePaddle的cblas编译选项</span><a class="headerlink" href="#id3" title="Permalink to this table"></a></caption>
<colgroup>
<col width="10%" />
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -348,7 +348,7 @@ check是false的话,没有作用。</li>
<ul class="simple">
<li>dense_vector 表示稠密的浮点数向量。</li>
<li>sparse_binary_vector 表示稀疏的零一向量,即大部分值为0,有值的位置只能取1</li>
<li>sparse_float_vector 表示稀疏的向量,即大部分值为0,有值的部分可以是任何浮点数</li>
<li>sparse_vector 表示稀疏的向量,即大部分值为0,有值的部分可以是任何浮点数</li>
<li>integer 表示整数标签。</li>
</ul>
<p>而三种序列模式为</p>
......@@ -383,7 +383,7 @@ check是false的话,没有作用。</li>
<td>[[i, ...], [i, ...], ...]</td>
<td>[[[i, ...], ...], [[i, ...], ...],...]</td>
</tr>
<tr class="row-even"><td>sparse_float_vector</td>
<tr class="row-even"><td>sparse_vector</td>
<td>[(i,f), (i,f), ...]</td>
<td>[[(i,f), ...], [(i,f), ...], ...]</td>
<td>[[[(i,f), ...], ...], [[(i,f), ...], ...],...]</td>
......@@ -400,10 +400,10 @@ check是false的话,没有作用。</li>
<div class="section" id="init-hook">
<h3>init_hook<a class="headerlink" href="#init-hook" title="Permalink to this headline"></a></h3>
<p>init_hook可以传入一个函数。这个函数在初始化的时候会被调用。这个函数的参数是:</p>
<ul>
<ul class="simple">
<li><dl class="first docutils">
<dt>第一个参数是 settings 对象。这个对象和process的第一个参数一致。具有的属性有</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>settings.input_types 设置输入类型。参考 <a class="reference internal" href="#input-types">input_types</a></li>
<li>settings.logger 一个logging对象</li>
</ul>
......@@ -415,7 +415,7 @@ check是false的话,没有作用。</li>
<dd><ul class="first last">
<li><dl class="first docutils">
<dt>Paddle定义的参数包括:</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>is_train bool参数,表示这个DataProvider是训练用的DataProvider或者测试用的
DataProvider</li>
<li>file_list 所有文件列表。</li>
......@@ -423,8 +423,7 @@ DataProvider</li>
</dd>
</dl>
</li>
<li><p class="first">用户定义的参数使用args在训练配置中设置。</p>
</li>
<li>用户定义的参数使用args在训练配置中设置。</li>
</ul>
</dd>
</dl>
......
......@@ -91,21 +91,18 @@ var _hmt = _hmt || [];
</div>
<p>主要的软件包为py_paddle.swig_paddle,这个软件包文档相对完善。可以使用python的
<code class="code docutils literal"><span class="pre">help()</span></code> 函数查询文档。主要步骤为:</p>
<ul>
<li><p class="first">在程序开始阶段,使用 <code class="code docutils literal"><span class="pre">swig_paddle.initPaddle()</span></code> 传入命令行参数初始化
<ul class="simple">
<li>在程序开始阶段,使用 <code class="code docutils literal"><span class="pre">swig_paddle.initPaddle()</span></code> 传入命令行参数初始化
PaddlePaddle。详细的命令行参数请参考
<a class="reference external" href="../cmd_argument/detail_introduction.html">命令行参数</a></p>
</li>
<li><p class="first">接下来使用 <code class="code docutils literal"><span class="pre">parse_config()</span></code> 解析训练时的配置文件。这里要注意预测数据通常
<a class="reference external" href="../cmd_argument/detail_introduction.html">命令行参数</a></li>
<li>接下来使用 <code class="code docutils literal"><span class="pre">parse_config()</span></code> 解析训练时的配置文件。这里要注意预测数据通常
不包含label, 而且预测网络通常直接输出最后一层的结果而不是像训练时一样以cost
layer作为输出,所以用于预测的配置文件要做相应的修改。</p>
</li>
<li><p class="first">使用 <code class="code docutils literal"><span class="pre">swig_paddle.GradientMachine.createFromConfigproto()</span></code> 根据上一步解
析好的配置创建神经网络。</p>
</li>
layer作为输出,所以用于预测的配置文件要做相应的修改。</li>
<li>使用 <code class="code docutils literal"><span class="pre">swig_paddle.GradientMachine.createFromConfigproto()</span></code> 根据上一步解
析好的配置创建神经网络。</li>
<li><dl class="first docutils">
<dt>创建一个 <code class="code docutils literal"><span class="pre">DataProviderConverter</span></code> 对象converter。</dt>
<dd><ul class="first last simple">
<dd><ul class="first last">
<li>swig_paddle接受的原始数据是C++的Matrix,也就是直接写内存的float数组。
这个接口并不用户友好。所以,我们提供了一个工具类DataProviderConverter。
这个工具类接收和PyDataProvider2一样的输入数据,详情请参考
......@@ -114,8 +111,7 @@ layer作为输出,所以用于预测的配置文件要做相应的修改。</p
</dd>
</dl>
</li>
<li><p class="first">最后使用 <code class="code docutils literal"><span class="pre">forwardTest()</span></code> 直接提取出神经网络Output层的输出结果。典型的输出结果为:</p>
</li>
<li>最后使用 <code class="code docutils literal"><span class="pre">forwardTest()</span></code> 直接提取出神经网络Output层的输出结果。典型的输出结果为:</li>
</ul>
<div class="highlight-text"><div class="highlight"><pre><span></span>[{&#39;id&#39;: None, &#39;value&#39;: array([[ 5.53018653e-09, 1.12194102e-05, 1.96644767e-09,
1.43630644e-02, 1.51111044e-13, 9.85625684e-01,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册