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

Deploy to GitHub Pages: 191fafe3

上级 fdd3568a
......@@ -993,11 +993,11 @@ var _hmt = _hmt || [];
</dt>
<dt><a href="source/cuda/rnn/rnn.html#_CPPv219hl_avgpool_backwardiPK4realiiiiiiiiP4real4real4real">hl_avgpool_backward (C++ function)</a>
<dt><a href="source/cuda/rnn/rnn.html#_CPPv219hl_avgpool_backwardKiPK4realKiKiKiKiKiKiKiKiKiii4real4realP4real">hl_avgpool_backward (C++ function)</a>
</dt>
<dt><a href="source/cuda/rnn/rnn.html#_CPPv218hl_avgpool_forwardiPK4realiiiiiiiiP4real">hl_avgpool_forward (C++ function)</a>
<dt><a href="source/cuda/rnn/rnn.html#_CPPv218hl_avgpool_forwardKiPK4realKiKiKiKiKiKiKiKiKiKiKiP4real">hl_avgpool_forward (C++ function)</a>
</dt>
......@@ -1691,11 +1691,11 @@ var _hmt = _hmt || [];
</dt>
<dt><a href="source/cuda/rnn/rnn.html#_CPPv219hl_maxpool_backwardiPK4realPK4realPK4realiiiiiiiiP4real4real4real">hl_maxpool_backward (C++ function)</a>
<dt><a href="source/cuda/rnn/rnn.html#_CPPv219hl_maxpool_backwardKiPK4realPK4realPK4realKiKiKiKiKiKiKiKiKiKiKi4real4realP4real">hl_maxpool_backward (C++ function)</a>
</dt>
<dt><a href="source/cuda/rnn/rnn.html#_CPPv218hl_maxpool_forwardiPK4realiiiiiiiiP4real">hl_maxpool_forward (C++ function)</a>
<dt><a href="source/cuda/rnn/rnn.html#_CPPv218hl_maxpool_forwardKiPK4realKiKiKiKiKiKiKiKiKiKiKiP4real">hl_maxpool_forward (C++ function)</a>
</dt>
......@@ -5187,11 +5187,11 @@ var _hmt = _hmt || [];
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9CpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_ti6size_t6size_t6size_t4real4real">paddle::CpuMatrix::avgPoolBackward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9CpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">paddle::CpuMatrix::avgPoolBackward (C++ function)</a>
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9CpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">paddle::CpuMatrix::avgPoolForward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9CpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">paddle::CpuMatrix::avgPoolForward (C++ function)</a>
</dt>
......@@ -5311,11 +5311,11 @@ var _hmt = _hmt || [];
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9CpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_ti6size_t6size_t6size_t4real4real">paddle::CpuMatrix::maxPoolBackward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9CpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">paddle::CpuMatrix::maxPoolBackward (C++ function)</a>
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9CpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">paddle::CpuMatrix::maxPoolForward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9CpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">paddle::CpuMatrix::maxPoolForward (C++ function)</a>
</dt>
......@@ -6215,10 +6215,6 @@ var _hmt = _hmt || [];
</dt>
<dt><a href="source/gserver/layers/layer.html#_CPPv2N6paddle14CudnnPoolLayer10outputSizeEiiii">paddle::CudnnPoolLayer::outputSize (C++ function)</a>
</dt>
<dt><a href="source/gserver/layers/layer.html#_CPPv2N6paddle14CudnnPoolLayer8outputW_E">paddle::CudnnPoolLayer::outputW_ (C++ member)</a>
</dt>
......@@ -7311,11 +7307,11 @@ var _hmt = _hmt || [];
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9GpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_ti6size_t6size_t6size_t4real4real">paddle::GpuMatrix::avgPoolBackward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9GpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">paddle::GpuMatrix::avgPoolBackward (C++ function)</a>
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9GpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">paddle::GpuMatrix::avgPoolForward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9GpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">paddle::GpuMatrix::avgPoolForward (C++ function)</a>
</dt>
......@@ -7419,11 +7415,11 @@ var _hmt = _hmt || [];
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9GpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_ti6size_t6size_t6size_t4real4real">paddle::GpuMatrix::maxPoolBackward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9GpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">paddle::GpuMatrix::maxPoolBackward (C++ function)</a>
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9GpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">paddle::GpuMatrix::maxPoolForward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle9GpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">paddle::GpuMatrix::maxPoolForward (C++ function)</a>
</dt>
......@@ -9271,11 +9267,11 @@ var _hmt = _hmt || [];
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle6Matrix15avgPoolBackwardER6Matrix6size_t6size_t6size_ti6size_t6size_t6size_t4real4real">paddle::Matrix::avgPoolBackward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle6Matrix15avgPoolBackwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">paddle::Matrix::avgPoolBackward (C++ function)</a>
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle6Matrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">paddle::Matrix::avgPoolForward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle6Matrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">paddle::Matrix::avgPoolForward (C++ function)</a>
</dt>
......@@ -9451,11 +9447,11 @@ var _hmt = _hmt || [];
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle6Matrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_ti6size_t6size_t6size_t4real4real">paddle::Matrix::maxPoolBackward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle6Matrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">paddle::Matrix::maxPoolBackward (C++ function)</a>
</dt>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle6Matrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">paddle::Matrix::maxPoolForward (C++ function)</a>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle6Matrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">paddle::Matrix::maxPoolForward (C++ function)</a>
</dt>
......@@ -9682,12 +9678,12 @@ var _hmt = _hmt || [];
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle12MatrixOffset5bCol_E">paddle::MatrixOffset::bCol_ (C++ member)</a>
</dt>
</dl></td>
<td style="width: 33%" valign="top"><dl>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle12MatrixOffset5bRow_E">paddle::MatrixOffset::bRow_ (C++ member)</a>
</dt>
</dl></td>
<td style="width: 33%" valign="top"><dl>
<dt><a href="source/math/matrix/matrix.html#_CPPv2N6paddle12MatrixOffset5cCol_E">paddle::MatrixOffset::cCol_ (C++ member)</a>
</dt>
......@@ -12725,6 +12721,10 @@ var _hmt = _hmt || [];
</dt>
<dt><a href="source/gserver/layers/layer.html#_CPPv2N6paddle9PoolLayer10outputSizeEiiii">paddle::PoolLayer::outputSize (C++ function)</a>
</dt>
<dt><a href="source/gserver/layers/layer.html#_CPPv2N6paddle9PoolLayer8outputX_E">paddle::PoolLayer::outputX_ (C++ member)</a>
</dt>
......@@ -12749,10 +12749,6 @@ var _hmt = _hmt || [];
</dt>
<dt><a href="source/gserver/layers/layer.html#_CPPv2N6paddle9PoolLayer6start_E">paddle::PoolLayer::start_ (C++ member)</a>
</dt>
<dt><a href="source/gserver/layers/layer.html#_CPPv2N6paddle9PoolLayer7stride_E">paddle::PoolLayer::stride_ (C++ member)</a>
</dt>
......
无法预览此类型文件
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -159,8 +159,8 @@ var _hmt = _hmt || [];
</dd></dl>
<dl class="function">
<dt id="_CPPv218hl_maxpool_forwardiPK4realiiiiiiiiP4real">
<span id="hl_maxpool_forward__i.realCP.i.i.i.i.i.i.i.i.realP"></span><span class="target" id="paddlehl__cnn_8h_1a61a9d289929ea007f91afe838044f38d"></span>void <code class="descname">hl_maxpool_forward</code><span class="sig-paren">(</span>int <em>frameCnt</em>, <em class="property">const</em> real *<em>inputData</em>, int <em>channels</em>, int <em>height</em>, int <em>width</em>, int <em>pooledH</em>, int <em>pooledW</em>, int <em>sizeX</em>, int <em>stride</em>, int <em>start</em>, real *<em>tgtData</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv218hl_maxpool_forwardiPK4realiiiiiiiiP4real" title="Permalink to this definition"></a></dt>
<dt id="_CPPv218hl_maxpool_forwardKiPK4realKiKiKiKiKiKiKiKiKiKiKiP4real">
<span id="hl_maxpool_forward__iC.realCP.iC.iC.iC.iC.iC.iC.iC.iC.iC.iC.iC.realP"></span><span class="target" id="paddlehl__cnn_8h_1a8059e00019ba687c3e1b51b2fe6abfdf"></span>void <code class="descname">hl_maxpool_forward</code><span class="sig-paren">(</span><em class="property">const</em> int <em>frameCnt</em>, <em class="property">const</em> real *<em>inputData</em>, <em class="property">const</em> int <em>channels</em>, <em class="property">const</em> int <em>height</em>, <em class="property">const</em> int <em>width</em>, <em class="property">const</em> int <em>pooledH</em>, <em class="property">const</em> int <em>pooledW</em>, <em class="property">const</em> int <em>sizeX</em>, <em class="property">const</em> int <em>sizeY</em>, <em class="property">const</em> int <em>strideH</em>, <em class="property">const</em> int <em>strideW</em>, <em class="property">const</em> int <em>paddingH</em>, <em class="property">const</em> int <em>paddingW</em>, real *<em>tgtData</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv218hl_maxpool_forwardKiPK4realKiKiKiKiKiKiKiKiKiKiKiP4real" title="Permalink to this definition"></a></dt>
<dd><p>Maximum pool forward. </p>
<p><dl class="docutils">
<dt><strong>Parameters</strong></dt>
......@@ -179,11 +179,17 @@ var _hmt = _hmt || [];
</li>
<li><code class="first docutils literal"><span class="pre">pooledW</span></code> - <p>output image width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">sizeX</span></code> - <p>size of pooling window. </p>
<li><code class="first docutils literal"><span class="pre">sizeX</span></code> - <p>width of pooling window. </p>
</li>
<li><code class="first docutils literal"><span class="pre">stride</span></code> - <p>pooling stride. </p>
<li><code class="first docutils literal"><span class="pre">sizeY</span></code> - <p>height of pooling window. </p>
</li>
<li><code class="first docutils literal"><span class="pre">start</span></code> - <p>pooling start. </p>
<li><code class="first docutils literal"><span class="pre">strideH</span></code> - <p>pooling stride height. </p>
</li>
<li><code class="first docutils literal"><span class="pre">strideW</span></code> - <p>pooling stride width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">paddingH</span></code> - <p>padding height. </p>
</li>
<li><code class="first docutils literal"><span class="pre">paddingW</span></code> - <p>padding width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">tgtData</span></code> - <p>output data. </p>
</li>
......@@ -194,8 +200,8 @@ var _hmt = _hmt || [];
</dd></dl>
<dl class="function">
<dt id="_CPPv219hl_maxpool_backwardiPK4realPK4realPK4realiiiiiiiiP4real4real4real">
<span id="hl_maxpool_backward__i.realCP.realCP.realCP.i.i.i.i.i.i.i.i.realP.real.real"></span><span class="target" id="paddlehl__cnn_8h_1a7642be21b22025cfeebaad3d54b89b65"></span>void <code class="descname">hl_maxpool_backward</code><span class="sig-paren">(</span>int <em>frameCnt</em>, <em class="property">const</em> real *<em>inputData</em>, <em class="property">const</em> real *<em>outData</em>, <em class="property">const</em> real *<em>outGrad</em>, int <em>channels</em>, int <em>height</em>, int <em>width</em>, int <em>pooledH</em>, int <em>pooledW</em>, int <em>sizeX</em>, int <em>stride</em>, int <em>start</em>, real *<em>targetGrad</em>, real <em>scaleA</em>, real <em>scaleB</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv219hl_maxpool_backwardiPK4realPK4realPK4realiiiiiiiiP4real4real4real" title="Permalink to this definition"></a></dt>
<dt id="_CPPv219hl_maxpool_backwardKiPK4realPK4realPK4realKiKiKiKiKiKiKiKiKiKiKi4real4realP4real">
<span id="hl_maxpool_backward__iC.realCP.realCP.realCP.iC.iC.iC.iC.iC.iC.iC.iC.iC.iC.iC.real.real.realP"></span><span class="target" id="paddlehl__cnn_8h_1a5a5671e0aadc4d58addb2f6c81f5c26b"></span>void <code class="descname">hl_maxpool_backward</code><span class="sig-paren">(</span><em class="property">const</em> int <em>frameCnt</em>, <em class="property">const</em> real *<em>inputData</em>, <em class="property">const</em> real *<em>outData</em>, <em class="property">const</em> real *<em>outGrad</em>, <em class="property">const</em> int <em>channels</em>, <em class="property">const</em> int <em>height</em>, <em class="property">const</em> int <em>width</em>, <em class="property">const</em> int <em>pooledH</em>, <em class="property">const</em> int <em>pooledW</em>, <em class="property">const</em> int <em>sizeX</em>, <em class="property">const</em> int <em>sizeY</em>, <em class="property">const</em> int <em>strideH</em>, <em class="property">const</em> int <em>strideW</em>, <em class="property">const</em> int <em>paddingH</em>, <em class="property">const</em> int <em>paddingW</em>, real <em>scaleA</em>, real <em>scaleB</em>, real *<em>targetGrad</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv219hl_maxpool_backwardKiPK4realPK4realPK4realKiKiKiKiKiKiKiKiKiKiKi4real4realP4real" title="Permalink to this definition"></a></dt>
<dd><p>Maximum pool backward. </p>
<p><dl class="docutils">
<dt><strong>Parameters</strong></dt>
......@@ -218,18 +224,24 @@ var _hmt = _hmt || [];
</li>
<li><code class="first docutils literal"><span class="pre">pooledW</span></code> - <p>output image width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">sizeX</span></code> - <p>size of pooling window. </p>
<li><code class="first docutils literal"><span class="pre">sizeX</span></code> - <p>width of pooling window. </p>
</li>
<li><code class="first docutils literal"><span class="pre">stride</span></code> - <p>pooling stride. </p>
<li><code class="first docutils literal"><span class="pre">sizeY</span></code> - <p>height of pooling window. </p>
</li>
<li><code class="first docutils literal"><span class="pre">start</span></code> - <p>pooling start. </p>
<li><code class="first docutils literal"><span class="pre">strideH</span></code> - <p>pooling stride height. </p>
</li>
<li><code class="first docutils literal"><span class="pre">targetGrad</span></code> - <p>output grad. </p>
<li><code class="first docutils literal"><span class="pre">strideW</span></code> - <p>pooling stride width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">scaleA</span></code> - <p>scale. </p>
</li>
<li><code class="first docutils literal"><span class="pre">scaleB</span></code> - <p>scale. </p>
</li>
<li><code class="first docutils literal"><span class="pre">paddingH</span></code> - <p>padding height. </p>
</li>
<li><code class="first docutils literal"><span class="pre">paddingW</span></code> - <p>padding width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">targetGrad</span></code> - <p>output grad. </p>
</li>
</ul>
</dd>
</dl>
......@@ -237,8 +249,8 @@ var _hmt = _hmt || [];
</dd></dl>
<dl class="function">
<dt id="_CPPv218hl_avgpool_forwardiPK4realiiiiiiiiP4real">
<span id="hl_avgpool_forward__i.realCP.i.i.i.i.i.i.i.i.realP"></span><span class="target" id="paddlehl__cnn_8h_1a54bb6d607410b752ab0119e534652a24"></span>void <code class="descname">hl_avgpool_forward</code><span class="sig-paren">(</span>int <em>frameCnt</em>, <em class="property">const</em> real *<em>inputData</em>, int <em>channels</em>, int <em>height</em>, int <em>width</em>, int <em>pooledH</em>, int <em>pooledW</em>, int <em>sizeX</em>, int <em>stride</em>, int <em>start</em>, real *<em>tgtData</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv218hl_avgpool_forwardiPK4realiiiiiiiiP4real" title="Permalink to this definition"></a></dt>
<dt id="_CPPv218hl_avgpool_forwardKiPK4realKiKiKiKiKiKiKiKiKiKiKiP4real">
<span id="hl_avgpool_forward__iC.realCP.iC.iC.iC.iC.iC.iC.iC.iC.iC.iC.iC.realP"></span><span class="target" id="paddlehl__cnn_8h_1a85120743584a4241217d60b83a61a894"></span>void <code class="descname">hl_avgpool_forward</code><span class="sig-paren">(</span><em class="property">const</em> int <em>frameCnt</em>, <em class="property">const</em> real *<em>inputData</em>, <em class="property">const</em> int <em>channels</em>, <em class="property">const</em> int <em>height</em>, <em class="property">const</em> int <em>width</em>, <em class="property">const</em> int <em>pooledH</em>, <em class="property">const</em> int <em>pooledW</em>, <em class="property">const</em> int <em>sizeX</em>, <em class="property">const</em> int <em>sizeY</em>, <em class="property">const</em> int <em>strideH</em>, <em class="property">const</em> int <em>strideW</em>, <em class="property">const</em> int <em>paddingH</em>, <em class="property">const</em> int <em>paddingW</em>, real *<em>tgtData</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv218hl_avgpool_forwardKiPK4realKiKiKiKiKiKiKiKiKiKiKiP4real" title="Permalink to this definition"></a></dt>
<dd><p>Averge pool forward. </p>
<p><dl class="docutils">
<dt><strong>Parameters</strong></dt>
......@@ -257,11 +269,17 @@ var _hmt = _hmt || [];
</li>
<li><code class="first docutils literal"><span class="pre">pooledW</span></code> - <p>output image width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">sizeX</span></code> - <p>size of pooling window. </p>
<li><code class="first docutils literal"><span class="pre">sizeX</span></code> - <p>width of pooling window. </p>
</li>
<li><code class="first docutils literal"><span class="pre">stride</span></code> - <p>pooling stride. </p>
<li><code class="first docutils literal"><span class="pre">sizeY</span></code> - <p>height of pooling window. </p>
</li>
<li><code class="first docutils literal"><span class="pre">start</span></code> - <p>pooling start. </p>
<li><code class="first docutils literal"><span class="pre">strideH</span></code> - <p>pooling stride height. </p>
</li>
<li><code class="first docutils literal"><span class="pre">strideW</span></code> - <p>pooling stride width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">paddingH</span></code> - <p>padding height. </p>
</li>
<li><code class="first docutils literal"><span class="pre">paddingW</span></code> - <p>padding width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">tgtData</span></code> - <p>output data. </p>
</li>
......@@ -272,8 +290,8 @@ var _hmt = _hmt || [];
</dd></dl>
<dl class="function">
<dt id="_CPPv219hl_avgpool_backwardiPK4realiiiiiiiiP4real4real4real">
<span id="hl_avgpool_backward__i.realCP.i.i.i.i.i.i.i.i.realP.real.real"></span><span class="target" id="paddlehl__cnn_8h_1a43773146d2f15b0c321e712394efcd75"></span>void <code class="descname">hl_avgpool_backward</code><span class="sig-paren">(</span>int <em>frameCnt</em>, <em class="property">const</em> real *<em>outGrad</em>, int <em>channels</em>, int <em>height</em>, int <em>width</em>, int <em>pooledH</em>, int <em>pooledW</em>, int <em>sizeX</em>, int <em>stride</em>, int <em>start</em>, real *<em>backGrad</em>, real <em>scaleA</em>, real <em>scaleB</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv219hl_avgpool_backwardiPK4realiiiiiiiiP4real4real4real" title="Permalink to this definition"></a></dt>
<dt id="_CPPv219hl_avgpool_backwardKiPK4realKiKiKiKiKiKiKiKiKiii4real4realP4real">
<span id="hl_avgpool_backward__iC.realCP.iC.iC.iC.iC.iC.iC.iC.iC.iC.i.i.real.real.realP"></span><span class="target" id="paddlehl__cnn_8h_1adb3a661e90396ffbf2602ad317d95a8c"></span>void <code class="descname">hl_avgpool_backward</code><span class="sig-paren">(</span><em class="property">const</em> int <em>frameCnt</em>, <em class="property">const</em> real *<em>outGrad</em>, <em class="property">const</em> int <em>channels</em>, <em class="property">const</em> int <em>height</em>, <em class="property">const</em> int <em>width</em>, <em class="property">const</em> int <em>pooledH</em>, <em class="property">const</em> int <em>pooledW</em>, <em class="property">const</em> int <em>sizeX</em>, <em class="property">const</em> int <em>sizeY</em>, <em class="property">const</em> int <em>strideH</em>, <em class="property">const</em> int <em>strideW</em>, int <em>paddingH</em>, int <em>paddingW</em>, real <em>scaleA</em>, real <em>scaleB</em>, real *<em>backGrad</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv219hl_avgpool_backwardKiPK4realKiKiKiKiKiKiKiKiKiii4real4realP4real" title="Permalink to this definition"></a></dt>
<dd><p>Maximum pool backward. </p>
<p><dl class="docutils">
<dt><strong>Parameters</strong></dt>
......@@ -292,18 +310,24 @@ var _hmt = _hmt || [];
</li>
<li><code class="first docutils literal"><span class="pre">pooledW</span></code> - <p>output image width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">sizeX</span></code> - <p>size of pooling window. </p>
<li><code class="first docutils literal"><span class="pre">sizeX</span></code> - <p>width of pooling window. </p>
</li>
<li><code class="first docutils literal"><span class="pre">stride</span></code> - <p>pooling stride. </p>
<li><code class="first docutils literal"><span class="pre">sizeY</span></code> - <p>height of pooling window. </p>
</li>
<li><code class="first docutils literal"><span class="pre">start</span></code> - <p>pooling start. </p>
<li><code class="first docutils literal"><span class="pre">strideH</span></code> - <p>pooling stride height. </p>
</li>
<li><code class="first docutils literal"><span class="pre">backGrad</span></code> - <p>output grad. </p>
<li><code class="first docutils literal"><span class="pre">strideW</span></code> - <p>pooling stride width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">paddingH</span></code> - <p>padding height. </p>
</li>
<li><code class="first docutils literal"><span class="pre">paddingW</span></code> - <p>padding width. </p>
</li>
<li><code class="first docutils literal"><span class="pre">scaleA</span></code> - <p>scale. </p>
</li>
<li><code class="first docutils literal"><span class="pre">scaleB</span></code> - <p>scale. </p>
</li>
<li><code class="first docutils literal"><span class="pre">backGrad</span></code> - <p>output grad. </p>
</li>
</ul>
</dd>
</dl>
......
......@@ -1794,6 +1794,12 @@ virtual <span class="target" id="paddleclasspaddle_1_1Layer_1a80e1752698b6140998
<dd><p>Intialization. For example, adding input layers from layerMap and parameterMap. </p>
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle9PoolLayer10outputSizeEiiii">
<span id="paddle::PoolLayer::outputSize__i.i.i.i"></span><span class="target" id="paddleclasspaddle_1_1PoolLayer_1a2bfec8a881edba8da3ec60aeb5a73605"></span>int <code class="descname">outputSize</code><span class="sig-paren">(</span>int <em>imageSize</em>, int <em>windowSize</em>, int <em>padding</em>, int <em>stride</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9PoolLayer10outputSizeEiiii" title="Permalink to this definition">¶</a></dt>
<dd><p>Calculate output size according window size and padding size. </p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
......@@ -1831,11 +1837,6 @@ virtual <span class="target" id="paddleclasspaddle_1_1Layer_1a80e1752698b6140998
<span id="paddle::PoolLayer::imgSize___s"></span><span class="target" id="paddleclasspaddle_1_1PoolLayer_1a34f5c074e7b51c3b1c726007f995a165"></span>size_t <code class="descname">imgSize_</code><a class="headerlink" href="#_CPPv2N6paddle9PoolLayer8imgSize_E" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="member">
<dt id="_CPPv2N6paddle9PoolLayer6start_E">
<span id="paddle::PoolLayer::start___i"></span><span class="target" id="paddleclasspaddle_1_1PoolLayer_1af66d237b885e1cc1a8e8ed737744b0e4"></span>int <code class="descname">start_</code><a class="headerlink" href="#_CPPv2N6paddle9PoolLayer6start_E" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="member">
<dt id="_CPPv2N6paddle9PoolLayer12confPadding_E">
<span id="paddle::PoolLayer::confPadding___i"></span><span class="target" id="paddleclasspaddle_1_1PoolLayer_1a19e5291d78949982dc1f34380a18a6eb"></span>int <code class="descname">confPadding_</code><a class="headerlink" href="#_CPPv2N6paddle9PoolLayer12confPadding_E" title="Permalink to this definition">¶</a></dt>
......@@ -1966,12 +1967,6 @@ virtual <span class="target" id="paddleclasspaddle_1_1Layer_1a80e1752698b6140998
<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></dl>
<dl class="function">
<dt id="_CPPv2N6paddle14CudnnPoolLayer10outputSizeEiiii">
<span id="paddle::CudnnPoolLayer::outputSize__i.i.i.i"></span><span class="target" id="paddleclasspaddle_1_1CudnnPoolLayer_1a4565d36cd90fc19c389fd1d76f97537c"></span>int <code class="descname">outputSize</code><span class="sig-paren">(</span>int <em>imageSize</em>, int <em>windowSize</em>, int <em>padding</em>, int <em>stride</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle14CudnnPoolLayer10outputSizeEiiii" title="Permalink to this definition">¶</a></dt>
<dd><p>Calculate output size according window size of pooling. </p>
</dd></dl>
</div>
<div class="breathe-sectiondef container">
<p class="breathe-sectiondef-title rubric">Public Static Functions</p>
......
......@@ -2205,26 +2205,26 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle6Matrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">
<span id="paddle::Matrix::maxPoolForward__MatrixR.s.s.s.s.i.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1Matrix_1ad83b5f0be13ac833ceefcb88df4b5020"></span>void <code class="descname">maxPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>inputMat</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, int <em>start_</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle6Matrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle6Matrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">
<span id="paddle::Matrix::maxPoolForward__MatrixR.s.s.s.s.s.s.s.s.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1Matrix_1afb881a111e85c482e5542c5f04cfe353"></span>void <code class="descname">maxPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>inputMat</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle6Matrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd><p>Pooling forward operation, pick out the largest element in the sizeX of value </p>
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle6Matrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_ti6size_t6size_t6size_t4real4real">
<span id="paddle::Matrix::maxPoolBackward__MatrixR.s.s.MatrixR.MatrixR.s.i.s.s.s.real.real"></span>virtual <span class="target" id="paddleclasspaddle_1_1Matrix_1ae9147dee455430db95c28191150754bc"></span>void <code class="descname">maxPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>image</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outGrad</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outV</em>, size_t <em>sizeX</em>, int <em>start</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle6Matrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_ti6size_t6size_t6size_t4real4real" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle6Matrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">
<span id="paddle::Matrix::maxPoolBackward__MatrixR.s.s.MatrixR.MatrixR.s.s.s.s.s.s.real.real.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1Matrix_1a401f06ce97e359b8f1c0e4a4f0d24b14"></span>void <code class="descname">maxPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>image</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outGrad</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outV</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle6Matrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd><p>Pooling backward operation. </p>
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle6Matrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">
<span id="paddle::Matrix::avgPoolForward__MatrixR.s.s.s.s.i.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1Matrix_1a7f6ac7f17359e10d814cf903f05f192f"></span>void <code class="descname">avgPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, int <em>start</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle6Matrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle6Matrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">
<span id="paddle::Matrix::avgPoolForward__MatrixR.s.s.s.s.s.s.s.s.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1Matrix_1a438160b40b392a0ada4c26f1e41fb2a4"></span>void <code class="descname">avgPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle6Matrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd><p>Pooling forward operation, caculate the average of sizeX elements. </p>
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle6Matrix15avgPoolBackwardER6Matrix6size_t6size_t6size_ti6size_t6size_t6size_t4real4real">
<span id="paddle::Matrix::avgPoolBackward__MatrixR.s.s.s.i.s.s.s.real.real"></span>virtual <span class="target" id="paddleclasspaddle_1_1Matrix_1a0d5b3f8d581866b92a2343918c280ada"></span>void <code class="descname">avgPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>sizeX</em>, int <em>start</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle6Matrix15avgPoolBackwardER6Matrix6size_t6size_t6size_ti6size_t6size_t6size_t4real4real" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle6Matrix15avgPoolBackwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">
<span id="paddle::Matrix::avgPoolBackward__MatrixR.s.s.s.s.s.s.s.s.real.real.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1Matrix_1ad0d7b0142b5ff6cdba5850c44adebcf6"></span>void <code class="descname">avgPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle6Matrix15avgPoolBackwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="function">
......@@ -2909,26 +2909,26 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle9GpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">
<span id="paddle::GpuMatrix::maxPoolForward__MatrixR.s.s.s.s.i.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1GpuMatrix_1a97632b28b8634f65cfc25836994ff9ee"></span>void <code class="descname">maxPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>inputMat</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, int <em>start_</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9GpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle9GpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">
<span id="paddle::GpuMatrix::maxPoolForward__MatrixR.s.s.s.s.s.s.s.s.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1GpuMatrix_1a7a39bfd0f4265a864f8601b40d80418e"></span>void <code class="descname">maxPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>inputMat</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9GpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd><p>Pooling forward operation, pick out the largest element in the sizeX of value </p>
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle9GpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_ti6size_t6size_t6size_t4real4real">
<span id="paddle::GpuMatrix::maxPoolBackward__MatrixR.s.s.MatrixR.MatrixR.s.i.s.s.s.real.real"></span>virtual <span class="target" id="paddleclasspaddle_1_1GpuMatrix_1a0508c4e1ea5a032bba7ed4d14d9bc323"></span>void <code class="descname">maxPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>image</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outGrad</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outV</em>, size_t <em>sizeX</em>, int <em>start</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9GpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_ti6size_t6size_t6size_t4real4real" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle9GpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">
<span id="paddle::GpuMatrix::maxPoolBackward__MatrixR.s.s.MatrixR.MatrixR.s.s.s.s.s.s.real.real.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1GpuMatrix_1a92794a172807e1c2e6988203d3ff9208"></span>void <code class="descname">maxPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>image</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outGrad</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outV</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9GpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd><p>Pooling backward operation. </p>
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle9GpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">
<span id="paddle::GpuMatrix::avgPoolForward__MatrixR.s.s.s.s.i.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1GpuMatrix_1a0a83a14791daadd13700b5bc6bfcd496"></span>void <code class="descname">avgPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, int <em>start</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9GpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle9GpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">
<span id="paddle::GpuMatrix::avgPoolForward__MatrixR.s.s.s.s.s.s.s.s.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1GpuMatrix_1ab09ce823c7287dee4c41a4a5bbee089d"></span>void <code class="descname">avgPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9GpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd><p>Pooling forward operation, caculate the average of sizeX elements. </p>
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle9GpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_ti6size_t6size_t6size_t4real4real">
<span id="paddle::GpuMatrix::avgPoolBackward__MatrixR.s.s.s.i.s.s.s.real.real"></span>virtual <span class="target" id="paddleclasspaddle_1_1GpuMatrix_1a8857af9bdba8cf4c11fc7435b142a1db"></span>void <code class="descname">avgPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>sizeX</em>, int <em>start</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9GpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_ti6size_t6size_t6size_t4real4real" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle9GpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">
<span id="paddle::GpuMatrix::avgPoolBackward__MatrixR.s.s.s.s.s.s.s.s.real.real.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1GpuMatrix_1a5e740986dcd3d3645c3c7c2f931c5f4f"></span>void <code class="descname">avgPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9GpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="function">
......@@ -3137,26 +3137,26 @@ where bit(i, j) = ((codes(i) + numClasses) &amp; 2^j) ? 1 : 0
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle9CpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">
<span id="paddle::CpuMatrix::maxPoolForward__MatrixR.s.s.s.s.i.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1CpuMatrix_1ab61cc7fdc4d9096501763e752a8153fa"></span>void <code class="descname">maxPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>inputMat</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, int <em>start_</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9CpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle9CpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">
<span id="paddle::CpuMatrix::maxPoolForward__MatrixR.s.s.s.s.s.s.s.s.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1CpuMatrix_1a2af927c8337cb6ddda40a4402d44c394"></span>void <code class="descname">maxPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>inputMat</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9CpuMatrix14maxPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd><p>Pooling forward operation, pick out the largest element in the sizeX of value </p>
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle9CpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_ti6size_t6size_t6size_t4real4real">
<span id="paddle::CpuMatrix::maxPoolBackward__MatrixR.s.s.MatrixR.MatrixR.s.i.s.s.s.real.real"></span>virtual <span class="target" id="paddleclasspaddle_1_1CpuMatrix_1ae4234a1340c7479122cd2f97d713db2e"></span>void <code class="descname">maxPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>image</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outGrad</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outV</em>, size_t <em>sizeX</em>, int <em>start</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9CpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_ti6size_t6size_t6size_t4real4real" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle9CpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">
<span id="paddle::CpuMatrix::maxPoolBackward__MatrixR.s.s.MatrixR.MatrixR.s.s.s.s.s.s.real.real.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1CpuMatrix_1aea22ae371bfe4055ffdbabcfc53e6cb3"></span>void <code class="descname">maxPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>image</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outGrad</em>, <a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>outV</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9CpuMatrix15maxPoolBackwardER6Matrix6size_t6size_tR6MatrixR6Matrix6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd><p>Pooling backward operation. </p>
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle9CpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t">
<span id="paddle::CpuMatrix::avgPoolForward__MatrixR.s.s.s.s.i.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1CpuMatrix_1abeb2bc995936524133175cfe1ef850ef"></span>void <code class="descname">avgPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, int <em>start</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9CpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_ti6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle9CpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t">
<span id="paddle::CpuMatrix::avgPoolForward__MatrixR.s.s.s.s.s.s.s.s.s.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1CpuMatrix_1a62dc202b6fcd472babe8c6a7abfb67c8"></span>void <code class="descname">avgPoolForward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>channels</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9CpuMatrix14avgPoolForwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd><p>Pooling forward operation, caculate the average of sizeX elements. </p>
</dd></dl>
<dl class="function">
<dt id="_CPPv2N6paddle9CpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_ti6size_t6size_t6size_t4real4real">
<span id="paddle::CpuMatrix::avgPoolBackward__MatrixR.s.s.s.i.s.s.s.real.real"></span>virtual <span class="target" id="paddleclasspaddle_1_1CpuMatrix_1a82222e342dbb98ad7d245f6568c4d0ad"></span>void <code class="descname">avgPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>sizeX</em>, int <em>start</em>, size_t <em>stride</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9CpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_ti6size_t6size_t6size_t4real4real" title="Permalink to this definition">¶</a></dt>
<dt id="_CPPv2N6paddle9CpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t">
<span id="paddle::CpuMatrix::avgPoolBackward__MatrixR.s.s.s.s.s.s.s.s.real.real.s.s"></span>virtual <span class="target" id="paddleclasspaddle_1_1CpuMatrix_1ad47406cc380f6e3dc4b329924f644fa9"></span>void <code class="descname">avgPoolBackward</code><span class="sig-paren">(</span><a class="reference internal" href="#_CPPv2N6paddle6MatrixE" title="paddle::Matrix">Matrix</a> &amp;<em>input</em>, size_t <em>imgSizeH</em>, size_t <em>imgSizeW</em>, size_t <em>sizeX</em>, size_t <em>sizeY</em>, size_t <em>strideH</em>, size_t <em>strideW</em>, size_t <em>outputH</em>, size_t <em>outputW</em>, real <em>scaleTargets</em>, real <em>scaleOutput</em>, size_t <em>paddingH</em>, size_t <em>paddingW</em><span class="sig-paren">)</span><a class="headerlink" href="#_CPPv2N6paddle9CpuMatrix15avgPoolBackwardER6Matrix6size_t6size_t6size_t6size_t6size_t6size_t6size_t6size_t4real4real6size_t6size_t" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="function">
......
......@@ -483,16 +483,21 @@ parameter attribute is set by this parameter.</li>
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>padding</strong> (<em>int</em>) &#8211; pooling padding</li>
<li><strong>padding</strong> (<em>int</em>) &#8211; pooling padding width.</li>
<li><strong>padding_y</strong> (<em>int|None</em>) &#8211; pooling padding height. It&#8217;s equal to padding by default.</li>
<li><strong>name</strong> (<em>basestring.</em>) &#8211; name of pooling layer</li>
<li><strong>input</strong> (<em>LayerOutput</em>) &#8211; layer&#8217;s input</li>
<li><strong>pool_size</strong> (<em>int</em>) &#8211; pooling size</li>
<li><strong>pool_size</strong> (<em>int</em>) &#8211; pooling window width</li>
<li><strong>pool_size_y</strong> (<em>int|None</em>) &#8211; pooling window height. It&#8217;s eaqual to pool_size by default.</li>
<li><strong>num_channels</strong> (<em>int</em>) &#8211; number of input channel.</li>
<li><strong>pool_type</strong> (<em>BasePoolingType</em>) &#8211; pooling type. MaxPooling or AveragePooling. Default is
MaxPooling.</li>
<li><strong>stride</strong> (<em>int</em>) &#8211; stride of pooling.</li>
<li><strong>start</strong> (<em>int</em>) &#8211; start position of pooling operation.</li>
<li><strong>stride</strong> (<em>int</em>) &#8211; stride width of pooling.</li>
<li><strong>stride_y</strong> (<em>int|None</em>) &#8211; stride height of pooling. It is equal to stride by default.</li>
<li><strong>start</strong> (<em>int|None</em>) &#8211; start position of pooling operation. Note it is deprecated now.</li>
<li><strong>layer_attr</strong> (<a class="reference internal" href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute" title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) &#8211; Extra Layer attribute.</li>
<li><strong>img_width</strong> (<em>int|None</em>) &#8211; the width of input feature map. If it is None, the input feature
map should be square.</li>
</ul>
</td>
</tr>
......
......@@ -202,7 +202,7 @@ False if no bias.</li>
<li><strong>bn_bias_attr</strong> &#8211; see batch_norm_layer&#8217;s document.</li>
<li><strong>bn_layer_attr</strong> &#8211; ParameterAttribute.</li>
<li><strong>pool_stride</strong> (<em>int</em>) &#8211; see img_pool_layer&#8217;s document.</li>
<li><strong>pool_start</strong> (<em>int</em>) &#8211; see img_pool_layer&#8217;s document.</li>
<li><strong>pool_start</strong> (<em>int</em>) &#8211; see img_pool_layer&#8217;s document. It is deprecated now.</li>
<li><strong>pool_padding</strong> (<em>int</em>) &#8211; see img_pool_layer&#8217;s document.</li>
<li><strong>pool_layer_attr</strong> (<a class="reference internal" href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute" title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) &#8211; see img_pool_layer&#8217;s document.</li>
</ul>
......@@ -280,10 +280,10 @@ False if no bias.</li>
<li><strong>param_attr</strong> (<a class="reference internal" href="attrs.html#paddle.trainer_config_helpers.attrs.ParameterAttribute" title="paddle.trainer_config_helpers.attrs.ParameterAttribute"><em>ParameterAttribute</em></a>) &#8211; see img_conv_layer for details</li>
<li><strong>shared_bias</strong> (<em>bool</em>) &#8211; see img_conv_layer for details</li>
<li><strong>conv_layer_attr</strong> (<a class="reference internal" href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute" title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) &#8211; see img_conv_layer for details</li>
<li><strong>pool_stride</strong> (<em>int</em>) &#8211; see img_conv_layer for details</li>
<li><strong>pool_start</strong> (<em>int</em>) &#8211; see img_conv_layer for details</li>
<li><strong>pool_padding</strong> (<em>int</em>) &#8211; see img_conv_layer for details</li>
<li><strong>pool_layer_attr</strong> (<a class="reference internal" href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute" title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) &#8211; see img_conv_layer for details</li>
<li><strong>pool_stride</strong> (<em>int</em>) &#8211; see img_pool_layer for details</li>
<li><strong>pool_start</strong> (<em>int</em>) &#8211; see img_pool_layer for details. It is deprecated now.</li>
<li><strong>pool_padding</strong> (<em>int</em>) &#8211; see img_pool_layer for details</li>
<li><strong>pool_layer_attr</strong> (<a class="reference internal" href="attrs.html#paddle.trainer_config_helpers.attrs.ExtraLayerAttribute" title="paddle.trainer_config_helpers.attrs.ExtraLayerAttribute"><em>ExtraLayerAttribute</em></a>) &#8211; see img_pool_layer for details</li>
</ul>
</td>
</tr>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册