Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: StringifyLayerParameters< MeanDescriptor > Struct Template Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('structarmnn_1_1_stringify_layer_parameters_3_01_mean_descriptor_01_4.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#pub-static-methods">Static Public Member Functions</a> | |
| 85 | <a href="structarmnn_1_1_stringify_layer_parameters_3_01_mean_descriptor_01_4-members.html">List of all members</a> </div> |
| 86 | <div class="headertitle"> |
| 87 | <div class="title">StringifyLayerParameters< MeanDescriptor > Struct Template Reference</div> </div> |
| 88 | </div><!--header--> |
| 89 | <div class="contents"> |
| 90 | |
| 91 | <p><code>#include <<a class="el" href="_serialize_layer_parameters_8hpp_source.html">SerializeLayerParameters.hpp</a>></code></p> |
| 92 | <table class="memberdecls"> |
| 93 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> |
| 94 | Static Public Member Functions</h2></td></tr> |
| 95 | <tr class="memitem:a440d156e3a90ae902ff4deae0eb05c47"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_stringify_layer_parameters_3_01_mean_descriptor_01_4.html#a440d156e3a90ae902ff4deae0eb05c47">Serialize</a> (<a class="el" href="namespacearmnn.html#a8c42c6647e31ebe525aeba878d133e45">ParameterStringifyFunction</a> &fn, const <a class="el" href="structarmnn_1_1_mean_descriptor.html">MeanDescriptor</a> &desc)</td></tr> |
| 96 | <tr class="separator:a440d156e3a90ae902ff4deae0eb05c47"><td class="memSeparator" colspan="2"> </td></tr> |
| 97 | </table> |
| 98 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 99 | <div class="textblock"><h3>template<><br /> |
| 100 | struct armnn::StringifyLayerParameters< MeanDescriptor ></h3> |
| 101 | |
| 102 | |
| 103 | <p class="definition">Definition at line <a class="el" href="_serialize_layer_parameters_8hpp_source.html#l00133">133</a> of file <a class="el" href="_serialize_layer_parameters_8hpp_source.html">SerializeLayerParameters.hpp</a>.</p> |
| 104 | </div><h2 class="groupheader">Member Function Documentation</h2> |
| 105 | <a id="a440d156e3a90ae902ff4deae0eb05c47"></a> |
| 106 | <h2 class="memtitle"><span class="permalink"><a href="#a440d156e3a90ae902ff4deae0eb05c47">◆ </a></span>Serialize()</h2> |
| 107 | |
| 108 | <div class="memitem"> |
| 109 | <div class="memproto"> |
| 110 | <table class="mlabels"> |
| 111 | <tr> |
| 112 | <td class="mlabels-left"> |
| 113 | <table class="memname"> |
| 114 | <tr> |
| 115 | <td class="memname">void Serialize </td> |
| 116 | <td>(</td> |
| 117 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a8c42c6647e31ebe525aeba878d133e45">ParameterStringifyFunction</a> & </td> |
| 118 | <td class="paramname"><em>fn</em>, </td> |
| 119 | </tr> |
| 120 | <tr> |
| 121 | <td class="paramkey"></td> |
| 122 | <td></td> |
| 123 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_mean_descriptor.html">MeanDescriptor</a> & </td> |
| 124 | <td class="paramname"><em>desc</em> </td> |
| 125 | </tr> |
| 126 | <tr> |
| 127 | <td></td> |
| 128 | <td>)</td> |
| 129 | <td></td><td></td> |
| 130 | </tr> |
| 131 | </table> |
| 132 | </td> |
| 133 | <td class="mlabels-right"> |
| 134 | <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 135 | </tr> |
| 136 | </table> |
| 137 | </div><div class="memdoc"> |
| 138 | |
| 139 | <p class="definition">Definition at line <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00361">361</a> of file <a class="el" href="_serialize_layer_parameters_8cpp_source.html">SerializeLayerParameters.cpp</a>.</p> |
| 140 | |
| 141 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00895">MeanDescriptor::m_Axis</a>, and <a class="el" href="_descriptors_8hpp_source.html#l00897">MeanDescriptor::m_KeepDims</a>.</p> |
| 142 | <div class="fragment"><div class="line"><a name="l00362"></a><span class="lineno"> 362</span> {</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  {</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  std::stringstream ss;</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <span class="keywordtype">int</span> count = 0;</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&& var : desc.m_Axis)</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  {</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <span class="keywordflow">if</span> (count > 0)</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  {</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  ss << <span class="stringliteral">","</span>;</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  }</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  ss << var;</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  ++count;</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  }</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  fn(<span class="stringliteral">"Axis"</span>, ss.str());</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  }</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  fn(<span class="stringliteral">"KeepDims"</span>, (desc.m_KeepDims ? <span class="stringliteral">"true"</span> : <span class="stringliteral">"false"</span>));</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span> }</div></div><!-- fragment --> |
| 143 | </div> |
| 144 | </div> |
| 145 | <hr/>The documentation for this struct was generated from the following files:<ul> |
| 146 | <li>src/armnn/<a class="el" href="_serialize_layer_parameters_8hpp_source.html">SerializeLayerParameters.hpp</a></li> |
| 147 | <li>src/armnn/<a class="el" href="_serialize_layer_parameters_8cpp_source.html">SerializeLayerParameters.cpp</a></li> |
| 148 | </ul> |
| 149 | </div><!-- contents --> |
| 150 | </div><!-- doc-content --> |
| 151 | <!-- start footer part --> |
| 152 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 153 | <ul> |
| 154 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_stringify_layer_parameters_3_01_mean_descriptor_01_4.html">StringifyLayerParameters< MeanDescriptor ></a></li> |
| 155 | <li class="footer">Generated on Fri Mar 13 2020 16:07:05 for ArmNN by |
| 156 | <a href="http://www.doxygen.org/index.html"> |
| 157 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 158 | </ul> |
| 159 | </div> |
| 160 | </body> |
| 161 | </html> |