@@ -5042,8 +5042,9 @@ The config file api if gru_step_layer. <dl class="docutils">
...
@@ -5042,8 +5042,9 @@ The config file api if gru_step_layer. <dl class="docutils">
<dl class="class">
<dl class="class">
<dt id="_CPPv2N6paddle12AverageLayerE">
<dt id="_CPPv2N6paddle12AverageLayerE">
<span id="paddle::AverageLayer"></span><span class="target" id="paddleclasspaddle_1_1AverageLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">AverageLayer</code><a class="headerlink" href="#_CPPv2N6paddle12AverageLayerE" title="Permalink to this definition">¶</a></dt>
<span id="paddle::AverageLayer"></span><span class="target" id="paddleclasspaddle_1_1AverageLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">AverageLayer</code><a class="headerlink" href="#_CPPv2N6paddle12AverageLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>A layer for “internal average” for sequence input. Input: one or more sequences. Each sequence contains some instances. If AverageLevel = kNonSeq: Output: output size is the number of input sequences (NOT input instances) output[i] = average_{for each instance in this sequence}{input[i]} If AverageLevel = kSeq: Check input sequence must has sub-sequence Output: output size is the number of input sub-sequences output[i] = average_{for each instance in this sub-sequence}{input[i]} </p>
<dd><p>A layer for “internal average” for sequence input. Input: one or more sequences. Each sequence contains some instances. If SequenceLevel = kNonSeq: Output: output size is the number of input sequences (NOT input instances) output[i] = average_{for each instance in this sequence}{input[i]} If SequenceLevel = kSeq: Check input sequence must has sub-sequence Output: output size is the number of input sub-sequences output[i] = average_{for each instance in this sub-sequence}{input[i]}</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<span id="paddle::AverageLayer::biases___std::unique_ptr:Weight:"></span><span class="target" id="paddleclasspaddle_1_1AverageLayer_1aae3e30cd0eed37e369356175dd110926"></span>std::unique_ptr<<a class="reference internal" href="../../parameter/parameter/parameter.html#_CPPv2N6paddle6WeightE" title="paddle::Weight">Weight</a>> <code class="descname">biases_</code><a class="headerlink" href="#_CPPv2N6paddle12AverageLayer7biases_E" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="member">
<dl class="member">
<dt id="_CPPv2N6paddle12AverageLayer7outMtx_E">
<dt id="_CPPv2N6paddle12AverageLayer7outMtx_E">
<span id="paddle::AverageLayer::outMtx___MatrixPtr"></span><span class="target" id="paddleclasspaddle_1_1AverageLayer_1a2c4e23c7f31232e8cf37500f15f99501"></span><a class="reference internal" href="../../math/matrix/matrix.html#_CPPv2N6paddle9MatrixPtrE" title="paddle::MatrixPtr">MatrixPtr</a> <code class="descname">outMtx_</code><a class="headerlink" href="#_CPPv2N6paddle12AverageLayer7outMtx_E" title="Permalink to this definition">¶</a></dt>
<span id="paddle::AverageLayer::outMtx___MatrixPtr"></span><span class="target" id="paddleclasspaddle_1_1AverageLayer_1a2c4e23c7f31232e8cf37500f15f99501"></span><a class="reference internal" href="../../math/matrix/matrix.html#_CPPv2N6paddle9MatrixPtrE" title="paddle::MatrixPtr">MatrixPtr</a> <code class="descname">outMtx_</code><a class="headerlink" href="#_CPPv2N6paddle12AverageLayer7outMtx_E" title="Permalink to this definition">¶</a></dt>
...
@@ -5137,11 +5117,6 @@ The config file api if gru_step_layer. <dl class="docutils">
...
@@ -5137,11 +5117,6 @@ The config file api if gru_step_layer. <dl class="docutils">
<span id="paddle::AverageLayer::mode___i"></span><span class="target" id="paddleclasspaddle_1_1AverageLayer_1a42e68dd62e779c9d528313569f695d9c"></span>int <code class="descname">mode_</code><a class="headerlink" href="#_CPPv2N6paddle12AverageLayer5mode_E" title="Permalink to this definition">¶</a></dt>
<span id="paddle::AverageLayer::mode___i"></span><span class="target" id="paddleclasspaddle_1_1AverageLayer_1a42e68dd62e779c9d528313569f695d9c"></span>int <code class="descname">mode_</code><a class="headerlink" href="#_CPPv2N6paddle12AverageLayer5mode_E" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dd></dd></dl>
<dl class="member">
<dt id="_CPPv2N6paddle12AverageLayer5type_E">
<span id="paddle::AverageLayer::type___i"></span><span class="target" id="paddleclasspaddle_1_1AverageLayer_1aa5a9764a2ea29cc3c75977b179922c61"></span>int <code class="descname">type_</code><a class="headerlink" href="#_CPPv2N6paddle12AverageLayer5type_E" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</div>
</div>
</dd></dl>
</dd></dl>
...
@@ -5151,27 +5126,9 @@ The config file api if gru_step_layer. <dl class="docutils">
...
@@ -5151,27 +5126,9 @@ The config file api if gru_step_layer. <dl class="docutils">
<dl class="class">
<dl class="class">
<dt id="_CPPv2N6paddle8MaxLayerE">
<dt id="_CPPv2N6paddle8MaxLayerE">
<span id="paddle::MaxLayer"></span><span class="target" id="paddleclasspaddle_1_1MaxLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">MaxLayer</code><a class="headerlink" href="#_CPPv2N6paddle8MaxLayerE" title="Permalink to this definition">¶</a></dt>
<span id="paddle::MaxLayer"></span><span class="target" id="paddleclasspaddle_1_1MaxLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">MaxLayer</code><a class="headerlink" href="#_CPPv2N6paddle8MaxLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>A layer for “internal max” for sequence input. Input: one or more sequences. Each sequence contains some instances. If MaxLevel = kNonSeq: Output: output size is the number of input sequences (NOT input instances) output[i] = max_{for each instance in this sequence}{input[i]} If MaxLevel = kSeq: Check input sequence must has sub-sequence Output: output size is the number of input sub-sequences output[i] = max_{for each instance in this sub-sequence}{input[i]} </p>
<dd><p>A layer for “internal max” for sequence input. Input: one or more sequences. Each sequence contains some instances. If SequenceLevel = kNonSeq: Output: output size is the number of input sequences (NOT input instances) output[i] = max_{for each instance in this sequence}{input[i]} If SequenceLevel = kSeq: Check input sequence must has sub-sequence Output: output size is the number of input sub-sequences output[i] = max_{for each instance in this sub-sequence}{input[i]}</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<span id="paddle::SequenceLastInstanceLayer"></span><span class="target" id="paddleclasspaddle_1_1SequenceLastInstanceLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SequenceLastInstanceLayer</code><a class="headerlink" href="#_CPPv2N6paddle25SequenceLastInstanceLayerE" title="Permalink to this definition">¶</a></dt>
<span id="paddle::SequenceLastInstanceLayer"></span><span class="target" id="paddleclasspaddle_1_1SequenceLastInstanceLayer"></span><em class="property">class </em><code class="descclassname">paddle::</code><code class="descname">SequenceLastInstanceLayer</code><a class="headerlink" href="#_CPPv2N6paddle25SequenceLastInstanceLayerE" title="Permalink to this definition">¶</a></dt>
<dd><p>A layer for extracting the last instance of the input sequence. Input: a sequence If SequenceLevel = kNonseq: Output: a sequence containing only the last instance of the input sequence If SequenceLevel = kSeq: Check input sequence must has sub-sequence Output: a sequence containing only the last instance of each sub-sequence of the input sequence </p>
<dd><p>A layer for extracting the last instance of the input sequence. Input: a sequence If SequenceLevel = kNonseq: Output: a sequence containing only the last instance of the input sequence If SequenceLevel = kSeq: Check input sequence must has sub-sequence Output: a sequence containing only the last instance of each sub-sequence of the input sequence</p>
<p>Inherits from <a class="reference internal" href="#paddleclasspaddle_1_1Layer"><span class="std std-ref">paddle::Layer</span></a></p>
<p>The config file api is last_seq and first_seq. </p>
@@ -5261,33 +5209,9 @@ The config file api if gru_step_layer. <dl class="docutils">
...
@@ -5261,33 +5209,9 @@ The config file api if gru_step_layer. <dl class="docutils">
<dd><p>Backward propagation. Should only be called after <a class="reference internal" href="#paddleclasspaddle_1_1Layer_1a12386b3f20dd731e7ceaa2c61667cbe1"><span class="std std-ref">Layer::forward()</span></a> function. </p>
<dd><p>Backward propagation. Should only be called after <a class="reference internal" href="#paddleclasspaddle_1_1Layer_1a12386b3f20dd731e7ceaa2c61667cbe1"><span class="std std-ref">Layer::forward()</span></a> function. </p>