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

Deploy to GitHub Pages: ab86711a

上级 f5e5baf7
......@@ -174,12 +174,12 @@ input_types
+++++++++++
PaddlePaddle has four data types, and three sequence types.
The four data types are:
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, ...], ...] |
+----------------------+---------------------+-----------------------------------+------------------------------------------------+
......@@ -227,7 +227,7 @@ Its parameters lists as follows:
* :code:`is_train` is a bool parameter that indicates the DataProvider is used in
training or testing.
* :code:`file_list` is the list of all files.
* User-defined parameters args can be set in training configuration.
Note, PaddlePaddle reserves the right to add pre-defined parameter, so please
......
......@@ -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>
......
此差异已折叠。
此差异已折叠。
......@@ -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">
......
此差异已折叠。
......@@ -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="_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">
......
此差异已折叠。
......@@ -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">
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册