| <!-- HTML header for doxygen 1.8.15--> |
| <!-- Remember to use version doxygen 1.8.15 +--> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.15"/> |
| <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines --> |
| <title>Compute Library: PoolingLayerInfo Class Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="resize.js"></script> |
| <script type="text/javascript" src="navtreedata.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(document).ready(initResizable); |
| /* @license-end */</script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/searchdata.js"></script> |
| <script type="text/javascript" src="search/search.js"></script> |
| <script type="text/x-mathjax-config"> |
| MathJax.Hub.Config({ |
| extensions: ["tex2jax.js"], |
| jax: ["input/TeX","output/HTML-CSS"], |
| }); |
| </script><script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/> |
| <td style="padding-left: 0.5em;"> |
| <div id="projectname"> |
|  <span id="projectnumber">19.08</span> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.15 --> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| /* @license-end */ |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| /* @license-end */</script> |
| <div id="main-nav"></div> |
| </div><!-- top --> |
| <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| <div id="nav-tree"> |
| <div id="nav-tree-contents"> |
| <div id="nav-sync" class="sync"></div> |
| </div> |
| </div> |
| <div id="splitbar" style="-moz-user-select:none;" |
| class="ui-resizable-handle"> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(document).ready(function(){initNavTree('classarm__compute_1_1_pooling_layer_info.xhtml','');}); |
| /* @license-end */ |
| </script> |
| <div id="doc-content"> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> </div> |
| <div class="headertitle"> |
| <div class="title">PoolingLayerInfo Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>Pooling Layer Information class. |
| <a href="classarm__compute_1_1_pooling_layer_info.xhtml#details">More...</a></p> |
| |
| <p><code>#include <<a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>></code></p> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| Public Member Functions</h2></td></tr> |
| <tr class="memitem:a21d59f266df349880afd6143469c8f29"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a21d59f266df349880afd6143469c8f29">PoolingLayerInfo</a> ()</td></tr> |
| <tr class="memdesc:a21d59f266df349880afd6143469c8f29"><td class="mdescLeft"> </td><td class="mdescRight">Default Constructor. <a href="#a21d59f266df349880afd6143469c8f29">More...</a><br /></td></tr> |
| <tr class="separator:a21d59f266df349880afd6143469c8f29"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aa25aa7643090ded846262cc2edfe8637"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#aa25aa7643090ded846262cc2edfe8637">PoolingLayerInfo</a> (<a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a0937a25aa5674160de423a38014781b7">pool_type</a>, unsigned int <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a9e9048b8199d75905ce5102c21f6c424">pool_size</a>, <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#aec44a113cf93317f52355cbdea990966">pad_stride_info</a>=<a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>(), bool <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a2a5bf4ca18389e1f61f5fac9044a2c85">exclude_padding</a>=false)</td></tr> |
| <tr class="memdesc:aa25aa7643090ded846262cc2edfe8637"><td class="mdescLeft"> </td><td class="mdescRight">Default Constructor. <a href="#aa25aa7643090ded846262cc2edfe8637">More...</a><br /></td></tr> |
| <tr class="separator:aa25aa7643090ded846262cc2edfe8637"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a848fab9628f7dc2a187c03610fc9fa01"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a848fab9628f7dc2a187c03610fc9fa01">PoolingLayerInfo</a> (<a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a0937a25aa5674160de423a38014781b7">pool_type</a>, <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a9e9048b8199d75905ce5102c21f6c424">pool_size</a>, <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#aec44a113cf93317f52355cbdea990966">pad_stride_info</a>=<a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>(), bool <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a2a5bf4ca18389e1f61f5fac9044a2c85">exclude_padding</a>=false)</td></tr> |
| <tr class="memdesc:a848fab9628f7dc2a187c03610fc9fa01"><td class="mdescLeft"> </td><td class="mdescRight">Default Constructor. <a href="#a848fab9628f7dc2a187c03610fc9fa01">More...</a><br /></td></tr> |
| <tr class="separator:a848fab9628f7dc2a187c03610fc9fa01"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a825657ba220662927b90d1ca2c19fbd7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a825657ba220662927b90d1ca2c19fbd7">PoolingLayerInfo</a> (<a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> <a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a0937a25aa5674160de423a38014781b7">pool_type</a>)</td></tr> |
| <tr class="memdesc:a825657ba220662927b90d1ca2c19fbd7"><td class="mdescLeft"> </td><td class="mdescRight">Default Constructor. <a href="#a825657ba220662927b90d1ca2c19fbd7">More...</a><br /></td></tr> |
| <tr class="separator:a825657ba220662927b90d1ca2c19fbd7"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a0937a25aa5674160de423a38014781b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a0937a25aa5674160de423a38014781b7">pool_type</a> () const</td></tr> |
| <tr class="memdesc:a0937a25aa5674160de423a38014781b7"><td class="mdescLeft"> </td><td class="mdescRight">Get the pooling type. <a href="#a0937a25aa5674160de423a38014781b7">More...</a><br /></td></tr> |
| <tr class="separator:a0937a25aa5674160de423a38014781b7"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a9e9048b8199d75905ce5102c21f6c424"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a9e9048b8199d75905ce5102c21f6c424">pool_size</a> () const</td></tr> |
| <tr class="memdesc:a9e9048b8199d75905ce5102c21f6c424"><td class="mdescLeft"> </td><td class="mdescRight">Get the pooling size. <a href="#a9e9048b8199d75905ce5102c21f6c424">More...</a><br /></td></tr> |
| <tr class="separator:a9e9048b8199d75905ce5102c21f6c424"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aec44a113cf93317f52355cbdea990966"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#aec44a113cf93317f52355cbdea990966">pad_stride_info</a> () const</td></tr> |
| <tr class="memdesc:aec44a113cf93317f52355cbdea990966"><td class="mdescLeft"> </td><td class="mdescRight">Get the padding and stride. <a href="#aec44a113cf93317f52355cbdea990966">More...</a><br /></td></tr> |
| <tr class="separator:aec44a113cf93317f52355cbdea990966"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a2a5bf4ca18389e1f61f5fac9044a2c85"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a2a5bf4ca18389e1f61f5fac9044a2c85">exclude_padding</a> () const</td></tr> |
| <tr class="memdesc:a2a5bf4ca18389e1f61f5fac9044a2c85"><td class="mdescLeft"> </td><td class="mdescRight">Check if padding is excluded in calculations. <a href="#a2a5bf4ca18389e1f61f5fac9044a2c85">More...</a><br /></td></tr> |
| <tr class="separator:a2a5bf4ca18389e1f61f5fac9044a2c85"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a00bcea78a50c94ef3dc2a280b9ed8a7a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml#a00bcea78a50c94ef3dc2a280b9ed8a7a">is_global_pooling</a> () const</td></tr> |
| <tr class="memdesc:a00bcea78a50c94ef3dc2a280b9ed8a7a"><td class="mdescLeft"> </td><td class="mdescRight">Check if is global pooling. <a href="#a00bcea78a50c94ef3dc2a280b9ed8a7a">More...</a><br /></td></tr> |
| <tr class="separator:a00bcea78a50c94ef3dc2a280b9ed8a7a"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><p>Pooling Layer Information class. </p> |
| |
| <p class="definition">Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l01191">1191</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a id="a21d59f266df349880afd6143469c8f29"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a21d59f266df349880afd6143469c8f29">◆ </a></span>PoolingLayerInfo() <span class="overload">[1/4]</span></h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a> </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Default Constructor. </p> |
| |
| <p class="definition">Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l01195">1195</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p> |
| <div class="fragment"><div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>  : _pool_type(<a class="code" href="namespacearm__compute.xhtml#adf2ced65e536375a1c96425d9fced858a26a4b44a837bf97b972628509912b4a5">PoolingType::MAX</a>), _pool_size(Size2D()), _pad_stride_info(PadStrideInfo()), _exclude_padding(<span class="keyword">false</span>), _is_global_pooling(<span class="keyword">false</span>)</div><div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>  {</div><div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>  }</div><div class="ttc" id="namespacearm__compute_xhtml_adf2ced65e536375a1c96425d9fced858a26a4b44a837bf97b972628509912b4a5"><div class="ttname"><a href="namespacearm__compute.xhtml#adf2ced65e536375a1c96425d9fced858a26a4b44a837bf97b972628509912b4a5">arm_compute::NonLinearFilterFunction::MAX</a></div><div class="ttdoc">Non linear dilate.</div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a id="aa25aa7643090ded846262cc2edfe8637"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aa25aa7643090ded846262cc2edfe8637">◆ </a></span>PoolingLayerInfo() <span class="overload">[2/4]</span></h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> </td> |
| <td class="paramname"><em>pool_type</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">unsigned int </td> |
| <td class="paramname"><em>pool_size</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> </td> |
| <td class="paramname"><em>pad_stride_info</em> = <code><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>()</code>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"><em>exclude_padding</em> = <code>false</code> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Default Constructor. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramdir">[in]</td><td class="paramname">pool_type</td><td>Pooling type <a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a>. </td></tr> |
| <tr><td class="paramdir">[in]</td><td class="paramname">pool_size</td><td>Pooling size, in elements, across x and y. </td></tr> |
| <tr><td class="paramdir">[in]</td><td class="paramname">pad_stride_info</td><td>(Optional) Padding and stride information <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> </td></tr> |
| <tr><td class="paramdir">[in]</td><td class="paramname">exclude_padding</td><td>(Optional) Strategy when accounting padding in calculations. True will exclude padding while false will not (Used in AVG/L2 pooling to determine the pooling area). Defaults to false; </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p class="definition">Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l01208">1208</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p> |
| <div class="fragment"><div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>  : _pool_type(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a0937a25aa5674160de423a38014781b7">pool_type</a>), _pool_size(Size2D(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a9e9048b8199d75905ce5102c21f6c424">pool_size</a>, <a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a9e9048b8199d75905ce5102c21f6c424">pool_size</a>)), _pad_stride_info(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#aec44a113cf93317f52355cbdea990966">pad_stride_info</a>), _exclude_padding(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a2a5bf4ca18389e1f61f5fac9044a2c85">exclude_padding</a>), _is_global_pooling(<span class="keyword">false</span>)</div><div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>  {</div><div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>  }</div><div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a2a5bf4ca18389e1f61f5fac9044a2c85"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a2a5bf4ca18389e1f61f5fac9044a2c85">arm_compute::PoolingLayerInfo::exclude_padding</a></div><div class="ttdeci">bool exclude_padding() const</div><div class="ttdoc">Check if padding is excluded in calculations.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l01257">Types.h:1257</a></div></div> |
| <div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_aec44a113cf93317f52355cbdea990966"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#aec44a113cf93317f52355cbdea990966">arm_compute::PoolingLayerInfo::pad_stride_info</a></div><div class="ttdeci">PadStrideInfo pad_stride_info() const</div><div class="ttdoc">Get the padding and stride.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l01252">Types.h:1252</a></div></div> |
| <div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a9e9048b8199d75905ce5102c21f6c424"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a9e9048b8199d75905ce5102c21f6c424">arm_compute::PoolingLayerInfo::pool_size</a></div><div class="ttdeci">const Size2D & pool_size() const</div><div class="ttdoc">Get the pooling size.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l01247">Types.h:1247</a></div></div> |
| <div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a0937a25aa5674160de423a38014781b7"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a0937a25aa5674160de423a38014781b7">arm_compute::PoolingLayerInfo::pool_type</a></div><div class="ttdeci">PoolingType pool_type() const</div><div class="ttdoc">Get the pooling type.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l01242">Types.h:1242</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a848fab9628f7dc2a187c03610fc9fa01"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a848fab9628f7dc2a187c03610fc9fa01">◆ </a></span>PoolingLayerInfo() <span class="overload">[3/4]</span></h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> </td> |
| <td class="paramname"><em>pool_type</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> </td> |
| <td class="paramname"><em>pool_size</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> </td> |
| <td class="paramname"><em>pad_stride_info</em> = <code><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>()</code>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"><em>exclude_padding</em> = <code>false</code> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Default Constructor. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramdir">[in]</td><td class="paramname">pool_type</td><td>Pooling type <a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a>. </td></tr> |
| <tr><td class="paramdir">[in]</td><td class="paramname">pool_size</td><td>Pooling size, in elements, across x and y. </td></tr> |
| <tr><td class="paramdir">[in]</td><td class="paramname">pad_stride_info</td><td>(Optional) Padding and stride information <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> </td></tr> |
| <tr><td class="paramdir">[in]</td><td class="paramname">exclude_padding</td><td>(Optional) Strategy when accounting padding in calculations. True will exclude padding while false will not (Used in AVG/L2 pooling to determine the pooling area). Defaults to false; </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p class="definition">Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l01224">1224</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p> |
| <div class="fragment"><div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>  : _pool_type(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a0937a25aa5674160de423a38014781b7">pool_type</a>), _pool_size(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a9e9048b8199d75905ce5102c21f6c424">pool_size</a>), _pad_stride_info(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#aec44a113cf93317f52355cbdea990966">pad_stride_info</a>), _exclude_padding(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a2a5bf4ca18389e1f61f5fac9044a2c85">exclude_padding</a>), _is_global_pooling(<span class="keyword">false</span>)</div><div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>  {</div><div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>  }</div><div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a2a5bf4ca18389e1f61f5fac9044a2c85"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a2a5bf4ca18389e1f61f5fac9044a2c85">arm_compute::PoolingLayerInfo::exclude_padding</a></div><div class="ttdeci">bool exclude_padding() const</div><div class="ttdoc">Check if padding is excluded in calculations.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l01257">Types.h:1257</a></div></div> |
| <div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_aec44a113cf93317f52355cbdea990966"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#aec44a113cf93317f52355cbdea990966">arm_compute::PoolingLayerInfo::pad_stride_info</a></div><div class="ttdeci">PadStrideInfo pad_stride_info() const</div><div class="ttdoc">Get the padding and stride.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l01252">Types.h:1252</a></div></div> |
| <div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a9e9048b8199d75905ce5102c21f6c424"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a9e9048b8199d75905ce5102c21f6c424">arm_compute::PoolingLayerInfo::pool_size</a></div><div class="ttdeci">const Size2D & pool_size() const</div><div class="ttdoc">Get the pooling size.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l01247">Types.h:1247</a></div></div> |
| <div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a0937a25aa5674160de423a38014781b7"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a0937a25aa5674160de423a38014781b7">arm_compute::PoolingLayerInfo::pool_type</a></div><div class="ttdeci">PoolingType pool_type() const</div><div class="ttdoc">Get the pooling type.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l01242">Types.h:1242</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a825657ba220662927b90d1ca2c19fbd7"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a825657ba220662927b90d1ca2c19fbd7">◆ </a></span>PoolingLayerInfo() <span class="overload">[4/4]</span></h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> </td> |
| <td class="paramname"><em>pool_type</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Default Constructor. </p> |
| <dl class="section note"><dt>Note</dt><dd>This constructor is used for global pooling</dd></dl> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramdir">[in]</td><td class="paramname">pool_type</td><td>Pooling type <a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a>. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p class="definition">Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l01237">1237</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p> |
| <div class="fragment"><div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>  : _pool_type(<a class="code" href="classarm__compute_1_1_pooling_layer_info.xhtml#a0937a25aa5674160de423a38014781b7">pool_type</a>), _pool_size(Size2D()), _pad_stride_info(PadStrideInfo(1, 1, 0, 0)), _exclude_padding(<span class="keyword">false</span>), _is_global_pooling(<span class="keyword">true</span>)</div><div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>  {</div><div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>  }</div><div class="ttc" id="classarm__compute_1_1_pooling_layer_info_xhtml_a0937a25aa5674160de423a38014781b7"><div class="ttname"><a href="classarm__compute_1_1_pooling_layer_info.xhtml#a0937a25aa5674160de423a38014781b7">arm_compute::PoolingLayerInfo::pool_type</a></div><div class="ttdeci">PoolingType pool_type() const</div><div class="ttdoc">Get the pooling type.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l01242">Types.h:1242</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a id="a2a5bf4ca18389e1f61f5fac9044a2c85"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a2a5bf4ca18389e1f61f5fac9044a2c85">◆ </a></span>exclude_padding()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool exclude_padding </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Check if padding is excluded in calculations. </p> |
| |
| <p class="definition">Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l01257">1257</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p> |
| <div class="fragment"><div class="line"><a name="l01258"></a><span class="lineno"> 1258</span>  {</div><div class="line"><a name="l01259"></a><span class="lineno"> 1259</span>  <span class="keywordflow">return</span> _exclude_padding;</div><div class="line"><a name="l01260"></a><span class="lineno"> 1260</span>  }</div></div><!-- fragment --> |
| <p class="reference">Referenced by <a class="el" href="_c_l_pooling_layer_8cpp_source.xhtml#l00033">CLPoolingLayer::configure()</a>, <a class="el" href="_n_e_pooling_layer_8cpp_source.xhtml#l00038">NEPoolingLayer::configure()</a>, <a class="el" href="_g_c_pooling_layer_kernel_8cpp_source.xhtml#l00226">GCPoolingLayerKernel::configure()</a>, <a class="el" href="_c_l_pooling_layer_kernel_8cpp_source.xhtml#l00184">CLPoolingLayerKernel::configure()</a>, and <a class="el" href="_n_e_pooling_layer_kernel_8cpp_source.xhtml#l01825">NEPoolingLayerKernel::run()</a>.</p> |
| |
| </div> |
| </div> |
| <a id="a00bcea78a50c94ef3dc2a280b9ed8a7a"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a00bcea78a50c94ef3dc2a280b9ed8a7a">◆ </a></span>is_global_pooling()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">bool is_global_pooling </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Check if is global pooling. </p> |
| |
| <p class="definition">Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l01262">1262</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p> |
| <div class="fragment"><div class="line"><a name="l01263"></a><span class="lineno"> 1263</span>  {</div><div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>  <span class="keywordflow">return</span> _is_global_pooling;</div><div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>  }</div></div><!-- fragment --> |
| <p class="reference">Referenced by <a class="el" href="_shape_calculator_8h_source.xhtml#l00751">arm_compute::misc::shape_calculator::compute_pool_shape()</a>, <a class="el" href="_g_c_pooling_layer_kernel_8cpp_source.xhtml#l00226">GCPoolingLayerKernel::configure()</a>, <a class="el" href="_c_l_pooling_layer_kernel_8cpp_source.xhtml#l00184">CLPoolingLayerKernel::configure()</a>, <a class="el" href="_n_e_pooling_layer_kernel_8cpp_source.xhtml#l00333">NEPoolingLayerKernel::configure()</a>, and <a class="el" href="_n_e_pooling_layer_kernel_8cpp_source.xhtml#l01786">NEPoolingLayerKernel::validate()</a>.</p> |
| |
| </div> |
| </div> |
| <a id="aec44a113cf93317f52355cbdea990966"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aec44a113cf93317f52355cbdea990966">◆ </a></span>pad_stride_info()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> pad_stride_info </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get the padding and stride. </p> |
| |
| <p class="definition">Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l01252">1252</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p> |
| <div class="fragment"><div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>  {</div><div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>  <span class="keywordflow">return</span> _pad_stride_info;</div><div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>  }</div></div><!-- fragment --> |
| <p class="reference">Referenced by <a class="el" href="_shape_calculator_8h_source.xhtml#l00751">arm_compute::misc::shape_calculator::compute_pool_shape()</a>, <a class="el" href="_g_c_pooling_layer_kernel_8cpp_source.xhtml#l00226">GCPoolingLayerKernel::configure()</a>, <a class="el" href="_c_l_pooling_layer_kernel_8cpp_source.xhtml#l00184">CLPoolingLayerKernel::configure()</a>, <a class="el" href="_n_e_pooling_layer_kernel_8cpp_source.xhtml#l00333">NEPoolingLayerKernel::configure()</a>, <a class="el" href="_g_c_pooling_layer_kernel_8cpp_source.xhtml#l00331">GCPoolingLayerKernel::run()</a>, <a class="el" href="_c_l_pooling_layer_kernel_8cpp_source.xhtml#l00324">CLPoolingLayerKernel::run()</a>, <a class="el" href="_n_e_pooling_layer_kernel_8cpp_source.xhtml#l01825">NEPoolingLayerKernel::run()</a>, <a class="el" href="_n_e_pooling_layer_kernel_8cpp_source.xhtml#l01786">NEPoolingLayerKernel::validate()</a>, and <a class="el" href="_dot_graph_printer_8cpp_source.xhtml#l00103">DotGraphVisitor::visit()</a>.</p> |
| |
| </div> |
| </div> |
| <a id="a9e9048b8199d75905ce5102c21f6c424"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a9e9048b8199d75905ce5102c21f6c424">◆ </a></span>pool_size()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a>& pool_size </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get the pooling size. </p> |
| |
| <p class="definition">Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l01247">1247</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p> |
| <div class="fragment"><div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>  {</div><div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>  <span class="keywordflow">return</span> _pool_size;</div><div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>  }</div></div><!-- fragment --> |
| <p class="reference">Referenced by <a class="el" href="_shape_calculator_8h_source.xhtml#l00751">arm_compute::misc::shape_calculator::compute_pool_shape()</a>, <a class="el" href="_n_e_pooling_layer_8cpp_source.xhtml#l00038">NEPoolingLayer::configure()</a>, <a class="el" href="_g_c_pooling_layer_kernel_8cpp_source.xhtml#l00226">GCPoolingLayerKernel::configure()</a>, <a class="el" href="_c_l_pooling_layer_kernel_8cpp_source.xhtml#l00184">CLPoolingLayerKernel::configure()</a>, <a class="el" href="_n_e_pooling_layer_kernel_8cpp_source.xhtml#l00333">NEPoolingLayerKernel::configure()</a>, <a class="el" href="_n_e_pooling_layer_kernel_8cpp_source.xhtml#l01825">NEPoolingLayerKernel::run()</a>, <a class="el" href="_n_e_pooling_layer_kernel_8cpp_source.xhtml#l01786">NEPoolingLayerKernel::validate()</a>, and <a class="el" href="_dot_graph_printer_8cpp_source.xhtml#l00103">DotGraphVisitor::visit()</a>.</p> |
| |
| </div> |
| </div> |
| <a id="a0937a25aa5674160de423a38014781b7"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a0937a25aa5674160de423a38014781b7">◆ </a></span>pool_type()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="namespacearm__compute.xhtml#a9172da722f0a434e5cc07c0a3c115d93">PoolingType</a> pool_type </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Get the pooling type. </p> |
| |
| <p class="definition">Definition at line <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l01242">1242</a> of file <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a>.</p> |
| <div class="fragment"><div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>  {</div><div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>  <span class="keywordflow">return</span> _pool_type;</div><div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>  }</div></div><!-- fragment --> |
| <p class="reference">Referenced by <a class="el" href="_c_l_pooling_layer_8cpp_source.xhtml#l00033">CLPoolingLayer::configure()</a>, <a class="el" href="_n_e_pooling_layer_8cpp_source.xhtml#l00038">NEPoolingLayer::configure()</a>, <a class="el" href="_g_c_pooling_layer_8cpp_source.xhtml#l00039">GCPoolingLayer::configure()</a>, <a class="el" href="_g_c_pooling_layer_kernel_8cpp_source.xhtml#l00226">GCPoolingLayerKernel::configure()</a>, <a class="el" href="_c_l_pooling_layer_kernel_8cpp_source.xhtml#l00184">CLPoolingLayerKernel::configure()</a>, <a class="el" href="_n_e_pooling_layer_kernel_8cpp_source.xhtml#l01825">NEPoolingLayerKernel::run()</a>, and <a class="el" href="_dot_graph_printer_8cpp_source.xhtml#l00103">DotGraphVisitor::visit()</a>.</p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li>arm_compute/core/<a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">Types.h</a></li> |
| </ul> |
| </div><!-- contents --> |
| </div><!-- doc-content --> |
| <!-- start footer part --> |
| <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| <ul> |
| <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_pooling_layer_info.xhtml">PoolingLayerInfo</a></li> |
| <li class="footer">Generated on Mon Sep 2 2019 11:47:38 for Compute Library by |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> |
| </ul> |
| </div> |
| </body> |
| </html> |