Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 5 | <!-- HTML header for doxygen 1.8.13--> |
| 6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 8 | <head> |
| 9 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 10 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 11 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 12 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> |
| 13 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 14 | <title>ArmNN: src/armnnTfLiteParser/test/DetectionPostProcess.cpp File Reference</title> |
| 15 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 16 | <script type="text/javascript" src="jquery.js"></script> |
| 17 | <script type="text/javascript" src="dynsections.js"></script> |
| 18 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 19 | <script type="text/javascript" src="resize.js"></script> |
| 20 | <script type="text/javascript" src="navtreedata.js"></script> |
| 21 | <script type="text/javascript" src="navtree.js"></script> |
| 22 | <script type="text/javascript"> |
| 23 | $(document).ready(initResizable); |
| 24 | </script> |
| 25 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 26 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 27 | <script type="text/javascript" src="search/search.js"></script> |
| 28 | <script type="text/x-mathjax-config"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 33 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 34 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 35 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 42 | <tr style="height: 56px;"> |
| 43 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| 44 | <td style="padding-left: 0.5em;"> |
| 45 | <div id="projectname"> |
| 46 |  <span id="projectnumber">20.02</span> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 53 | <!-- end header part --> |
| 54 | <!-- Generated by Doxygen 1.8.13 --> |
| 55 | <script type="text/javascript"> |
| 56 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('armnn_tf_lite_parser_2test_2_detection_post_process_8cpp.xhtml','');}); |
| 80 | </script> |
| 81 | <div id="doc-content"> |
| 82 | <!-- window showing the filter options --> |
| 83 | <div id="MSearchSelectWindow" |
| 84 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 85 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 86 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 87 | </div> |
| 88 | |
| 89 | <!-- iframe showing the search results (closed by default) --> |
| 90 | <div id="MSearchResultsWindow"> |
| 91 | <iframe src="javascript:void(0)" frameborder="0" |
| 92 | name="MSearchResults" id="MSearchResults"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#func-members">Functions</a> </div> |
| 99 | <div class="headertitle"> |
| 100 | <div class="title">DetectionPostProcess.cpp File Reference</div> </div> |
| 101 | </div><!--header--> |
| 102 | <div class="contents"> |
| 103 | <div class="textblock"><code>#include "<a class="el" href="_tf_lite_parser_8hpp_source.xhtml">../TfLiteParser.hpp</a>"</code><br /> |
| 104 | <code>#include <boost/test/unit_test.hpp></code><br /> |
| 105 | <code>#include "<a class="el" href="_graph_utils_8hpp_source.xhtml">test/GraphUtils.hpp</a>"</code><br /> |
| 106 | <code>#include "<a class="el" href="_parser_flatbuffers_fixture_8hpp_source.xhtml">ParserFlatbuffersFixture.hpp</a>"</code><br /> |
| 107 | <code>#include "<a class="el" href="_parser_prototxt_fixture_8hpp_source.xhtml">ParserPrototxtFixture.hpp</a>"</code><br /> |
| 108 | <code>#include "<a class="el" href="_parser_helper_8hpp_source.xhtml">ParserHelper.hpp</a>"</code><br /> |
| 109 | <code>#include <<a class="el" href="_quantize_helper_8hpp_source.xhtml">QuantizeHelper.hpp</a>></code><br /> |
| 110 | </div> |
| 111 | <p><a href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp_source.xhtml">Go to the source code of this file.</a></p> |
| 112 | <table class="memberdecls"> |
| 113 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 114 | Functions</h2></td></tr> |
| 115 | <tr class="memitem:a04100371674f0cea5e0cc32a9a5ad7b1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp.xhtml#a04100371674f0cea5e0cc32a9a5ad7b1">BOOST_FIXTURE_TEST_CASE</a> (ParseDetectionPostProcess, ParseDetectionPostProcessCustomOptions)</td></tr> |
| 116 | <tr class="separator:a04100371674f0cea5e0cc32a9a5ad7b1"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:a1b421e50a520d2a52d6cdef8b84ef26f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp.xhtml#a1b421e50a520d2a52d6cdef8b84ef26f">BOOST_FIXTURE_TEST_CASE</a> (DetectionPostProcessGraphStructureTest, ParseDetectionPostProcessCustomOptions)</td></tr> |
| 118 | <tr class="separator:a1b421e50a520d2a52d6cdef8b84ef26f"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | </table> |
| 120 | <h2 class="groupheader">Function Documentation</h2> |
| 121 | <a id="a04100371674f0cea5e0cc32a9a5ad7b1"></a> |
| 122 | <h2 class="memtitle"><span class="permalink"><a href="#a04100371674f0cea5e0cc32a9a5ad7b1">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[1/2]</span></h2> |
| 123 | |
| 124 | <div class="memitem"> |
| 125 | <div class="memproto"> |
| 126 | <table class="memname"> |
| 127 | <tr> |
| 128 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 129 | <td>(</td> |
| 130 | <td class="paramtype">ParseDetectionPostProcess </td> |
| 131 | <td class="paramname">, </td> |
| 132 | </tr> |
| 133 | <tr> |
| 134 | <td class="paramkey"></td> |
| 135 | <td></td> |
| 136 | <td class="paramtype">ParseDetectionPostProcessCustomOptions </td> |
| 137 | <td class="paramname"> </td> |
| 138 | </tr> |
| 139 | <tr> |
| 140 | <td></td> |
| 141 | <td>)</td> |
| 142 | <td></td><td></td> |
| 143 | </tr> |
| 144 | </table> |
| 145 | </div><div class="memdoc"> |
| 146 | |
| 147 | <p class="definition">Definition at line <a class="el" href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp_source.xhtml#l00164">164</a> of file <a class="el" href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp_source.xhtml">DetectionPostProcess.cpp</a>.</p> |
| 148 | |
| 149 | <p class="reference">References <a class="el" href="_neon_end_to_end_tests_8cpp.xhtml#ada422a73ac4e68bcb1b1b1f0b44028d9">boxEncodings()</a>, and <a class="el" href="_neon_end_to_end_tests_8cpp.xhtml#a0348e6bb67ace72535bd105219bb6237">scores()</a>.</p> |
| 150 | <div class="fragment"><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> {</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  Setup();</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="comment">// Inputs</span></div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">using</span> UnquantizedContainer = std::vector<float>;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  UnquantizedContainer <a class="code" href="_neon_end_to_end_tests_8cpp.xhtml#ada422a73ac4e68bcb1b1b1f0b44028d9">boxEncodings</a> =</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  {</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  0.0f, 0.0f, 0.0f, 0.0f,</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  0.0f, 1.0f, 0.0f, 0.0f,</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  0.0f, -1.0f, 0.0f, 0.0f,</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  0.0f, 0.0f, 0.0f, 0.0f,</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  0.0f, 1.0f, 0.0f, 0.0f,</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  0.0f, 0.0f, 0.0f, 0.0f</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  };</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  UnquantizedContainer <a class="code" href="_neon_end_to_end_tests_8cpp.xhtml#a0348e6bb67ace72535bd105219bb6237">scores</a> =</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  {</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  0.0f, 0.9f, 0.8f,</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  0.0f, 0.75f, 0.72f,</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  0.0f, 0.6f, 0.5f,</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  0.0f, 0.93f, 0.95f,</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  0.0f, 0.5f, 0.4f,</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  0.0f, 0.3f, 0.2f</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  };</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="comment">// Outputs</span></div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  UnquantizedContainer detectionBoxes =</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  {</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  0.0f, 10.0f, 1.0f, 11.0f,</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  0.0f, 10.0f, 1.0f, 11.0f,</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  0.0f, 0.0f, 0.0f, 0.0f</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  };</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  UnquantizedContainer detectionClasses = { 1.0f, 0.0f, 0.0f };</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  UnquantizedContainer detectionScores = { 0.95f, 0.93f, 0.0f };</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  UnquantizedContainer numDetections = { 2.0f };</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="comment">// Quantize inputs and outputs</span></div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keyword">using</span> QuantizedContainer = std::vector<uint8_t>;</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  QuantizedContainer quantBoxEncodings = armnnUtils::QuantizedVector<uint8_t>(<a class="code" href="_neon_end_to_end_tests_8cpp.xhtml#ada422a73ac4e68bcb1b1b1f0b44028d9">boxEncodings</a>, 1.00f, 1);</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  QuantizedContainer quantScores = armnnUtils::QuantizedVector<uint8_t>(<a class="code" href="_neon_end_to_end_tests_8cpp.xhtml#a0348e6bb67ace72535bd105219bb6237">scores</a>, 0.01f, 0);</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  std::map<std::string, QuantizedContainer> input =</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  {</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  { <span class="stringliteral">"box_encodings"</span>, quantBoxEncodings },</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  { <span class="stringliteral">"scores"</span>, quantScores }</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  };</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  std::map<std::string, UnquantizedContainer> output =</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  {</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  { <span class="stringliteral">"detection_boxes"</span>, detectionBoxes},</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  { <span class="stringliteral">"detection_classes"</span>, detectionClasses},</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  { <span class="stringliteral">"detection_scores"</span>, detectionScores},</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  { <span class="stringliteral">"num_detections"</span>, numDetections}</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  };</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  RunTest<armnn::DataType::QAsymmU8, armnn::DataType::Float32>(0, input, output);</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> }</div><div class="ttc" id="_neon_end_to_end_tests_8cpp_xhtml_ada422a73ac4e68bcb1b1b1f0b44028d9"><div class="ttname"><a href="_neon_end_to_end_tests_8cpp.xhtml#ada422a73ac4e68bcb1b1b1f0b44028d9">boxEncodings</a></div><div class="ttdeci">std::vector< float > boxEncodings({ 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f })</div></div> |
| 151 | <div class="ttc" id="_neon_end_to_end_tests_8cpp_xhtml_a0348e6bb67ace72535bd105219bb6237"><div class="ttname"><a href="_neon_end_to_end_tests_8cpp.xhtml#a0348e6bb67ace72535bd105219bb6237">scores</a></div><div class="ttdeci">std::vector< float > scores({ 0.0f, 0.9f, 0.8f, 0.0f, 0.75f, 0.72f, 0.0f, 0.6f, 0.5f, 0.0f, 0.93f, 0.95f, 0.0f, 0.5f, 0.4f, 0.0f, 0.3f, 0.2f })</div></div> |
| 152 | </div><!-- fragment --> |
| 153 | </div> |
| 154 | </div> |
| 155 | <a id="a1b421e50a520d2a52d6cdef8b84ef26f"></a> |
| 156 | <h2 class="memtitle"><span class="permalink"><a href="#a1b421e50a520d2a52d6cdef8b84ef26f">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[2/2]</span></h2> |
| 157 | |
| 158 | <div class="memitem"> |
| 159 | <div class="memproto"> |
| 160 | <table class="memname"> |
| 161 | <tr> |
| 162 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 163 | <td>(</td> |
| 164 | <td class="paramtype">DetectionPostProcessGraphStructureTest </td> |
| 165 | <td class="paramname">, </td> |
| 166 | </tr> |
| 167 | <tr> |
| 168 | <td class="paramkey"></td> |
| 169 | <td></td> |
| 170 | <td class="paramtype">ParseDetectionPostProcessCustomOptions </td> |
| 171 | <td class="paramname"> </td> |
| 172 | </tr> |
| 173 | <tr> |
| 174 | <td></td> |
| 175 | <td>)</td> |
| 176 | <td></td><td></td> |
| 177 | </tr> |
| 178 | </table> |
| 179 | </div><div class="memdoc"> |
| 180 | |
| 181 | <p class="definition">Definition at line <a class="el" href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp_source.xhtml#l00226">226</a> of file <a class="el" href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp_source.xhtml">DetectionPostProcess.cpp</a>.</p> |
| 182 | |
| 183 | <p class="reference">References <a class="el" href="_profiler_tests_8cpp.xhtml#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>, <a class="el" href="_graph_utils_8cpp_source.xhtml#l00032">CheckNumberOfInputSlot()</a>, <a class="el" href="_graph_utils_8cpp_source.xhtml#l00037">CheckNumberOfOutputSlot()</a>, <a class="el" href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64">armnn::CpuRef</a>, <a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a1db19222ac424bd7162142ddf929fd2a">armnn::DetectionPostProcess</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>, <a class="el" href="_graph_utils_8cpp_source.xhtml#l00020">GetFirstLayerWithName()</a>, <a class="el" href="_layer_8hpp_source.xhtml#l00259">Layer::GetType()</a>, <a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a324118a6721dd6b8a9b9f4e327df2bf5">armnn::Input</a>, <a class="el" href="_graph_utils_8cpp_source.xhtml#l00042">IsConnected()</a>, <a class="el" href="_network_8cpp_source.xhtml#l00890">armnn::Optimize()</a>, <a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a29c2c02a361c9d7028472e5d92cd4a54">armnn::Output</a>, and <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::QAsymmU8</a>.</p> |
| 184 | <div class="fragment"><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> {</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="comment">/*</span></div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="comment"> Inputs: box_encodings scores</span></div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment"> \ /</span></div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="comment"> DetectionPostProcess</span></div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="comment"> / / \ \</span></div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="comment"> / / \ \</span></div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="comment"> Outputs: detection detection detection num_detections</span></div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="comment"> boxes classes scores</span></div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="comment"> */</span></div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  ReadStringToBinary();</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <a class="code" href="namespacearmnn.xhtml#ace74f6f9feb95a964a49d79458232703">armnn::INetworkPtr</a> network = m_Parser->CreateNetworkFromBinary(m_GraphBinary);</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keyword">auto</span> optimized = <a class="code" href="namespacearmnn.xhtml#a82e98ef05fd67036d1195ba17174d685">Optimize</a>(*network, { <a class="code" href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64">armnn::Compute::CpuRef</a> }, m_Runtime->GetDeviceSpec());</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keyword">auto</span> optimizedNetwork = boost::polymorphic_downcast<armnn::OptimizedNetwork*>(optimized.get());</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="keyword">auto</span> graph = optimizedNetwork->GetGraph();</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> </div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="comment">// Check the number of layers in the graph</span></div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  BOOST_TEST((graph.GetNumInputs() == 2));</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  BOOST_TEST((graph.GetNumOutputs() == 4));</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  BOOST_TEST((graph.GetNumLayers() == 7));</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="comment">// Input layers</span></div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <a class="code" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a>* boxEncodingLayer = <a class="code" href="_graph_utils_8cpp.xhtml#a5f17e02e0054dac0a691685a0464ed36">GetFirstLayerWithName</a>(graph, <span class="stringliteral">"box_encodings"</span>);</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  BOOST_TEST((boxEncodingLayer-><a class="code" href="classarmnn_1_1_layer.xhtml#aaef29472862381822654ab6cbf7cba2a">GetType</a>() == <a class="code" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a324118a6721dd6b8a9b9f4e327df2bf5">armnn::LayerType::Input</a>));</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#a4c04337db4d5f380219a005657a8223b">CheckNumberOfInputSlot</a>(boxEncodingLayer, 0));</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#aada2e27f100807f5786eecb03390ba58">CheckNumberOfOutputSlot</a>(boxEncodingLayer, 1));</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <a class="code" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a>* scoresLayer = <a class="code" href="_graph_utils_8cpp.xhtml#a5f17e02e0054dac0a691685a0464ed36">GetFirstLayerWithName</a>(graph, <span class="stringliteral">"scores"</span>);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  BOOST_TEST((scoresLayer-><a class="code" href="classarmnn_1_1_layer.xhtml#aaef29472862381822654ab6cbf7cba2a">GetType</a>() == <a class="code" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a324118a6721dd6b8a9b9f4e327df2bf5">armnn::LayerType::Input</a>));</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#a4c04337db4d5f380219a005657a8223b">CheckNumberOfInputSlot</a>(scoresLayer, 0));</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#aada2e27f100807f5786eecb03390ba58">CheckNumberOfOutputSlot</a>(scoresLayer, 1));</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> </div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="comment">// DetectionPostProcess layer</span></div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <a class="code" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a>* detectionPostProcessLayer = <a class="code" href="_graph_utils_8cpp.xhtml#a5f17e02e0054dac0a691685a0464ed36">GetFirstLayerWithName</a>(graph, <span class="stringliteral">"DetectionPostProcess:0:0"</span>);</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  BOOST_TEST((detectionPostProcessLayer-><a class="code" href="classarmnn_1_1_layer.xhtml#aaef29472862381822654ab6cbf7cba2a">GetType</a>() == <a class="code" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a1db19222ac424bd7162142ddf929fd2a">armnn::LayerType::DetectionPostProcess</a>));</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#a4c04337db4d5f380219a005657a8223b">CheckNumberOfInputSlot</a>(detectionPostProcessLayer, 2));</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#aada2e27f100807f5786eecb03390ba58">CheckNumberOfOutputSlot</a>(detectionPostProcessLayer, 4));</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="comment">// Output layers</span></div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <a class="code" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a>* detectionBoxesLayer = <a class="code" href="_graph_utils_8cpp.xhtml#a5f17e02e0054dac0a691685a0464ed36">GetFirstLayerWithName</a>(graph, <span class="stringliteral">"detection_boxes"</span>);</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  BOOST_TEST((detectionBoxesLayer-><a class="code" href="classarmnn_1_1_layer.xhtml#aaef29472862381822654ab6cbf7cba2a">GetType</a>() == <a class="code" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a29c2c02a361c9d7028472e5d92cd4a54">armnn::LayerType::Output</a>));</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#a4c04337db4d5f380219a005657a8223b">CheckNumberOfInputSlot</a>(detectionBoxesLayer, 1));</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#aada2e27f100807f5786eecb03390ba58">CheckNumberOfOutputSlot</a>(detectionBoxesLayer, 0));</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> </div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <a class="code" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a>* detectionClassesLayer = <a class="code" href="_graph_utils_8cpp.xhtml#a5f17e02e0054dac0a691685a0464ed36">GetFirstLayerWithName</a>(graph, <span class="stringliteral">"detection_classes"</span>);</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  BOOST_TEST((detectionClassesLayer-><a class="code" href="classarmnn_1_1_layer.xhtml#aaef29472862381822654ab6cbf7cba2a">GetType</a>() == <a class="code" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a29c2c02a361c9d7028472e5d92cd4a54">armnn::LayerType::Output</a>));</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#a4c04337db4d5f380219a005657a8223b">CheckNumberOfInputSlot</a>(detectionClassesLayer, 1));</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#aada2e27f100807f5786eecb03390ba58">CheckNumberOfOutputSlot</a>(detectionClassesLayer, 0));</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <a class="code" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a>* detectionScoresLayer = <a class="code" href="_graph_utils_8cpp.xhtml#a5f17e02e0054dac0a691685a0464ed36">GetFirstLayerWithName</a>(graph, <span class="stringliteral">"detection_scores"</span>);</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  BOOST_TEST((detectionScoresLayer-><a class="code" href="classarmnn_1_1_layer.xhtml#aaef29472862381822654ab6cbf7cba2a">GetType</a>() == <a class="code" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a29c2c02a361c9d7028472e5d92cd4a54">armnn::LayerType::Output</a>));</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#a4c04337db4d5f380219a005657a8223b">CheckNumberOfInputSlot</a>(detectionScoresLayer, 1));</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#aada2e27f100807f5786eecb03390ba58">CheckNumberOfOutputSlot</a>(detectionScoresLayer, 0));</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span> </div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <a class="code" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a>* numDetectionsLayer = <a class="code" href="_graph_utils_8cpp.xhtml#a5f17e02e0054dac0a691685a0464ed36">GetFirstLayerWithName</a>(graph, <span class="stringliteral">"num_detections"</span>);</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  BOOST_TEST((numDetectionsLayer-><a class="code" href="classarmnn_1_1_layer.xhtml#aaef29472862381822654ab6cbf7cba2a">GetType</a>() == <a class="code" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a29c2c02a361c9d7028472e5d92cd4a54">armnn::LayerType::Output</a>));</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#a4c04337db4d5f380219a005657a8223b">CheckNumberOfInputSlot</a>(numDetectionsLayer, 1));</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#aada2e27f100807f5786eecb03390ba58">CheckNumberOfOutputSlot</a>(numDetectionsLayer, 0));</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> </div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="comment">// Check the connections</span></div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> boxEncodingTensor(<a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a>({ 1, 6, 4 }), <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>, 1, 1);</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> scoresTensor(<a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a>({ 1, 6, 3 }), <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>,</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  0.00999999978f, 0);</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span> </div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> detectionBoxesTensor(<a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a>({ 1, 3, 4 }), <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, 0, 0);</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> detectionClassesTensor(<a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a>({ 1, 3 }), <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, 0, 0);</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> detectionScoresTensor(<a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a>({ 1, 3 }), <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, 0, 0);</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> numDetectionsTensor(<a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a>({ 1} ), <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, 0, 0);</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span> </div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#afd518dba3d52728670459e4ad3bed5e1">IsConnected</a>(boxEncodingLayer, detectionPostProcessLayer, 0, 0, boxEncodingTensor));</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#afd518dba3d52728670459e4ad3bed5e1">IsConnected</a>(scoresLayer, detectionPostProcessLayer, 0, 1, scoresTensor));</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#afd518dba3d52728670459e4ad3bed5e1">IsConnected</a>(detectionPostProcessLayer, detectionBoxesLayer, 0, 0, detectionBoxesTensor));</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#afd518dba3d52728670459e4ad3bed5e1">IsConnected</a>(detectionPostProcessLayer, detectionClassesLayer, 1, 0, detectionClassesTensor));</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#afd518dba3d52728670459e4ad3bed5e1">IsConnected</a>(detectionPostProcessLayer, detectionScoresLayer, 2, 0, detectionScoresTensor));</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  BOOST_TEST(<a class="code" href="_graph_utils_8cpp.xhtml#afd518dba3d52728670459e4ad3bed5e1">IsConnected</a>(detectionPostProcessLayer, numDetectionsLayer, 3, 0, numDetectionsTensor));</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span> }</div><div class="ttc" id="namespacearmnn_xhtml_ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64"><div class="ttname"><a href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64">armnn::Compute::CpuRef</a></div><div class="ttdoc">CPU Execution: Reference C++ kernels. </div></div> |
| 185 | <div class="ttc" id="_graph_utils_8cpp_xhtml_a5f17e02e0054dac0a691685a0464ed36"><div class="ttname"><a href="_graph_utils_8cpp.xhtml#a5f17e02e0054dac0a691685a0464ed36">GetFirstLayerWithName</a></div><div class="ttdeci">armnn::Layer * GetFirstLayerWithName(armnn::Graph &graph, const std::string &name)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_utils_8cpp_source.xhtml#l00020">GraphUtils.cpp:20</a></div></div> |
| 186 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00053">Tensor.hpp:53</a></div></div> |
| 187 | <div class="ttc" id="namespacearmnn_xhtml_a56943a0946e5f15e5e58054b8e7a04a4a29c2c02a361c9d7028472e5d92cd4a54"><div class="ttname"><a href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a29c2c02a361c9d7028472e5d92cd4a54">armnn::LayerType::Output</a></div></div> |
| 188 | <div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00020">Tensor.hpp:20</a></div></div> |
| 189 | <div class="ttc" id="namespacearmnn_xhtml_a56943a0946e5f15e5e58054b8e7a04a4a1db19222ac424bd7162142ddf929fd2a"><div class="ttname"><a href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a1db19222ac424bd7162142ddf929fd2a">armnn::LayerType::DetectionPostProcess</a></div></div> |
| 190 | <div class="ttc" id="namespacearmnn_xhtml_a82e98ef05fd67036d1195ba17174d685"><div class="ttname"><a href="namespacearmnn.xhtml#a82e98ef05fd67036d1195ba17174d685">armnn::Optimize</a></div><div class="ttdeci">IOptimizedNetworkPtr Optimize(const INetwork &network, const std::vector< BackendId > &backendPreferences, const IDeviceSpec &deviceSpec, const OptimizerOptions &options=OptimizerOptions(), Optional< std::vector< std::string > &> messages=EmptyOptional())</div><div class="ttdoc">Create an optimized version of the network. </div><div class="ttdef"><b>Definition:</b> <a href="_network_8cpp_source.xhtml#l00890">Network.cpp:890</a></div></div> |
| 191 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a></div></div> |
| 192 | <div class="ttc" id="_graph_utils_8cpp_xhtml_afd518dba3d52728670459e4ad3bed5e1"><div class="ttname"><a href="_graph_utils_8cpp.xhtml#afd518dba3d52728670459e4ad3bed5e1">IsConnected</a></div><div class="ttdeci">bool IsConnected(armnn::Layer *srcLayer, armnn::Layer *destLayer, unsigned int srcSlot, unsigned int destSlot, const armnn::TensorInfo &expectedTensorInfo)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_utils_8cpp_source.xhtml#l00042">GraphUtils.cpp:42</a></div></div> |
| 193 | <div class="ttc" id="namespacearmnn_xhtml_a56943a0946e5f15e5e58054b8e7a04a4a324118a6721dd6b8a9b9f4e327df2bf5"><div class="ttname"><a href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a324118a6721dd6b8a9b9f4e327df2bf5">armnn::LayerType::Input</a></div></div> |
| 194 | <div class="ttc" id="classarmnn_1_1_layer_xhtml_aaef29472862381822654ab6cbf7cba2a"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#aaef29472862381822654ab6cbf7cba2a">armnn::Layer::GetType</a></div><div class="ttdeci">LayerType GetType() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00259">Layer.hpp:259</a></div></div> |
| 195 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 196 | <div class="ttc" id="_graph_utils_8cpp_xhtml_a4c04337db4d5f380219a005657a8223b"><div class="ttname"><a href="_graph_utils_8cpp.xhtml#a4c04337db4d5f380219a005657a8223b">CheckNumberOfInputSlot</a></div><div class="ttdeci">bool CheckNumberOfInputSlot(armnn::Layer *layer, unsigned int num)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_utils_8cpp_source.xhtml#l00032">GraphUtils.cpp:32</a></div></div> |
| 197 | <div class="ttc" id="_graph_utils_8cpp_xhtml_aada2e27f100807f5786eecb03390ba58"><div class="ttname"><a href="_graph_utils_8cpp.xhtml#aada2e27f100807f5786eecb03390ba58">CheckNumberOfOutputSlot</a></div><div class="ttdeci">bool CheckNumberOfOutputSlot(armnn::Layer *layer, unsigned int num)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_utils_8cpp_source.xhtml#l00037">GraphUtils.cpp:37</a></div></div> |
| 198 | <div class="ttc" id="namespacearmnn_xhtml_ace74f6f9feb95a964a49d79458232703"><div class="ttname"><a href="namespacearmnn.xhtml#ace74f6f9feb95a964a49d79458232703">armnn::INetworkPtr</a></div><div class="ttdeci">std::unique_ptr< INetwork, void(*)(INetwork *network)> INetworkPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_network_8hpp_source.xhtml#l00101">INetwork.hpp:101</a></div></div> |
| 199 | <div class="ttc" id="classarmnn_1_1_layer_xhtml"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml">armnn::Layer</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00209">Layer.hpp:209</a></div></div> |
| 200 | </div><!-- fragment --> |
| 201 | </div> |
| 202 | </div> |
| 203 | </div><!-- contents --> |
| 204 | </div><!-- doc-content --> |
| 205 | <!-- start footer part --> |
| 206 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 207 | <ul> |
| 208 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_510324e450b9df55f9aac2d01fae83d8.xhtml">armnnTfLiteParser</a></li><li class="navelem"><a class="el" href="dir_6d8d07609c57029a35488d2120e28fbd.xhtml">test</a></li><li class="navelem"><a class="el" href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp.xhtml">DetectionPostProcess.cpp</a></li> |
| 209 | <li class="footer">Generated on Fri Mar 13 2020 16:09:14 for ArmNN by |
| 210 | <a href="http://www.doxygen.org/index.html"> |
| 211 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 212 | </ul> |
| 213 | </div> |
| 214 | </body> |
| 215 | </html> |