提交 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>
......
无法预览此类型文件
此差异已折叠。
......@@ -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>
......
此差异已折叠。
......@@ -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.
先完成此消息的编辑!
想要评论请 注册