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: src/armnnTfLiteParser/test/InputOutputTensorNames.cpp File 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('_input_output_tensor_names_8cpp.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="#func-members">Functions</a> </div> |
| 85 | <div class="headertitle"> |
| 86 | <div class="title">InputOutputTensorNames.cpp File Reference</div> </div> |
| 87 | </div><!--header--> |
| 88 | <div class="contents"> |
| 89 | <div class="textblock"><code>#include <boost/test/unit_test.hpp></code><br /> |
| 90 | <code>#include "<a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>"</code><br /> |
| 91 | <code>#include "<a class="el" href="_tf_lite_parser_8hpp_source.html">../TfLiteParser.hpp</a>"</code><br /> |
| 92 | </div> |
| 93 | <p><a href="_input_output_tensor_names_8cpp_source.html">Go to the source code of this file.</a></p> |
| 94 | <table class="memberdecls"> |
| 95 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 96 | Functions</h2></td></tr> |
| 97 | <tr class="memitem:adbada061eaef5ccd88559389007bc45b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_input_output_tensor_names_8cpp.html#adbada061eaef5ccd88559389007bc45b">BOOST_FIXTURE_TEST_CASE</a> (EmptyNetworkHasNoInputsAndOutputs, EmptyNetworkFixture)</td></tr> |
| 98 | <tr class="separator:adbada061eaef5ccd88559389007bc45b"><td class="memSeparator" colspan="2"> </td></tr> |
| 99 | <tr class="memitem:a141fb364180f4a3b7b31b1cd33d162ab"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_input_output_tensor_names_8cpp.html#a141fb364180f4a3b7b31b1cd33d162ab">BOOST_FIXTURE_TEST_CASE</a> (MissingTensorsThrowException, MissingTensorsFixture)</td></tr> |
| 100 | <tr class="separator:a141fb364180f4a3b7b31b1cd33d162ab"><td class="memSeparator" colspan="2"> </td></tr> |
| 101 | <tr class="memitem:aa4e3edcaa4db14810764452fcc4d61b0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_input_output_tensor_names_8cpp.html#aa4e3edcaa4db14810764452fcc4d61b0">BOOST_FIXTURE_TEST_CASE</a> (InvalidTensorsThrowException, InvalidTensorsFixture)</td></tr> |
| 102 | <tr class="separator:aa4e3edcaa4db14810764452fcc4d61b0"><td class="memSeparator" colspan="2"> </td></tr> |
| 103 | <tr class="memitem:ac5dca292cc3d652bf21ea3acc6361e67"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_input_output_tensor_names_8cpp.html#ac5dca292cc3d652bf21ea3acc6361e67">BOOST_FIXTURE_TEST_CASE</a> (GetValidInputOutputTensorNames, ValidTensorsFixture)</td></tr> |
| 104 | <tr class="separator:ac5dca292cc3d652bf21ea3acc6361e67"><td class="memSeparator" colspan="2"> </td></tr> |
| 105 | <tr class="memitem:a694ee3f9f1226a0a9b65d223cdd89429"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_input_output_tensor_names_8cpp.html#a694ee3f9f1226a0a9b65d223cdd89429">BOOST_FIXTURE_TEST_CASE</a> (ThrowIfSubgraphIdInvalidForInOutNames, ValidTensorsFixture)</td></tr> |
| 106 | <tr class="separator:a694ee3f9f1226a0a9b65d223cdd89429"><td class="memSeparator" colspan="2"> </td></tr> |
| 107 | <tr class="memitem:a0e8ed45dd35ce63037318f7a501e51bf"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_input_output_tensor_names_8cpp.html#a0e8ed45dd35ce63037318f7a501e51bf">BOOST_FIXTURE_TEST_CASE</a> (Rank0Tensor, Rank0TensorFixture)</td></tr> |
| 108 | <tr class="separator:a0e8ed45dd35ce63037318f7a501e51bf"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | </table> |
| 110 | <h2 class="groupheader">Function Documentation</h2> |
| 111 | <a id="adbada061eaef5ccd88559389007bc45b"></a> |
| 112 | <h2 class="memtitle"><span class="permalink"><a href="#adbada061eaef5ccd88559389007bc45b">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[1/6]</span></h2> |
| 113 | |
| 114 | <div class="memitem"> |
| 115 | <div class="memproto"> |
| 116 | <table class="memname"> |
| 117 | <tr> |
| 118 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 119 | <td>(</td> |
| 120 | <td class="paramtype">EmptyNetworkHasNoInputsAndOutputs </td> |
| 121 | <td class="paramname">, </td> |
| 122 | </tr> |
| 123 | <tr> |
| 124 | <td class="paramkey"></td> |
| 125 | <td></td> |
| 126 | <td class="paramtype">EmptyNetworkFixture </td> |
| 127 | <td class="paramname"> </td> |
| 128 | </tr> |
| 129 | <tr> |
| 130 | <td></td> |
| 131 | <td>)</td> |
| 132 | <td></td><td></td> |
| 133 | </tr> |
| 134 | </table> |
| 135 | </div><div class="memdoc"> |
| 136 | |
| 137 | <p class="definition">Definition at line <a class="el" href="_input_output_tensor_names_8cpp_source.html#l00024">24</a> of file <a class="el" href="_input_output_tensor_names_8cpp_source.html">InputOutputTensorNames.cpp</a>.</p> |
| 138 | |
| 139 | <p class="reference">References <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00061">ParserFlatbuffersFixture::Setup()</a>.</p> |
| 140 | <div class="fragment"><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  Setup();</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  BOOST_TEST(m_Parser->GetSubgraphCount() == 1);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  BOOST_TEST(m_Parser->GetSubgraphInputTensorNames(0).size() == 0);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  BOOST_TEST(m_Parser->GetSubgraphOutputTensorNames(0).size() == 0);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div></div><!-- fragment --> |
| 141 | </div> |
| 142 | </div> |
| 143 | <a id="a141fb364180f4a3b7b31b1cd33d162ab"></a> |
| 144 | <h2 class="memtitle"><span class="permalink"><a href="#a141fb364180f4a3b7b31b1cd33d162ab">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[2/6]</span></h2> |
| 145 | |
| 146 | <div class="memitem"> |
| 147 | <div class="memproto"> |
| 148 | <table class="memname"> |
| 149 | <tr> |
| 150 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 151 | <td>(</td> |
| 152 | <td class="paramtype">MissingTensorsThrowException </td> |
| 153 | <td class="paramname">, </td> |
| 154 | </tr> |
| 155 | <tr> |
| 156 | <td class="paramkey"></td> |
| 157 | <td></td> |
| 158 | <td class="paramtype">MissingTensorsFixture </td> |
| 159 | <td class="paramname"> </td> |
| 160 | </tr> |
| 161 | <tr> |
| 162 | <td></td> |
| 163 | <td>)</td> |
| 164 | <td></td><td></td> |
| 165 | </tr> |
| 166 | </table> |
| 167 | </div><div class="memdoc"> |
| 168 | |
| 169 | <p class="definition">Definition at line <a class="el" href="_input_output_tensor_names_8cpp_source.html#l00048">48</a> of file <a class="el" href="_input_output_tensor_names_8cpp_source.html">InputOutputTensorNames.cpp</a>.</p> |
| 170 | <div class="fragment"><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">// this throws because it cannot do the input output tensor connections</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  BOOST_CHECK_THROW(Setup(), <a class="code" href="classarmnn_1_1_parse_exception.html">armnn::ParseException</a>);</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> }</div><div class="ttc" id="classarmnn_1_1_parse_exception_html"><div class="ttname"><a href="classarmnn_1_1_parse_exception.html">armnn::ParseException</a></div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00092">Exceptions.hpp:92</a></div></div> |
| 171 | </div><!-- fragment --> |
| 172 | </div> |
| 173 | </div> |
| 174 | <a id="aa4e3edcaa4db14810764452fcc4d61b0"></a> |
| 175 | <h2 class="memtitle"><span class="permalink"><a href="#aa4e3edcaa4db14810764452fcc4d61b0">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[3/6]</span></h2> |
| 176 | |
| 177 | <div class="memitem"> |
| 178 | <div class="memproto"> |
| 179 | <table class="memname"> |
| 180 | <tr> |
| 181 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 182 | <td>(</td> |
| 183 | <td class="paramtype">InvalidTensorsThrowException </td> |
| 184 | <td class="paramname">, </td> |
| 185 | </tr> |
| 186 | <tr> |
| 187 | <td class="paramkey"></td> |
| 188 | <td></td> |
| 189 | <td class="paramtype">InvalidTensorsFixture </td> |
| 190 | <td class="paramname"> </td> |
| 191 | </tr> |
| 192 | <tr> |
| 193 | <td></td> |
| 194 | <td>)</td> |
| 195 | <td></td><td></td> |
| 196 | </tr> |
| 197 | </table> |
| 198 | </div><div class="memdoc"> |
| 199 | |
| 200 | <p class="definition">Definition at line <a class="el" href="_input_output_tensor_names_8cpp_source.html#l00081">81</a> of file <a class="el" href="_input_output_tensor_names_8cpp_source.html">InputOutputTensorNames.cpp</a>.</p> |
| 201 | |
| 202 | <p class="reference">References <a class="el" href="_types_8hpp_source.html#l00018">armnn::MaxNumOfTensorDimensions</a>.</p> |
| 203 | <div class="fragment"><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// Tensor numDimensions must be less than or equal to MaxNumOfTensorDimensions</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  static_assert(<a class="code" href="namespacearmnn.html#abdcd184ed3bd648bb31d385040cafd5d">armnn::MaxNumOfTensorDimensions</a> == 5, <span class="stringliteral">"Please update InvalidTensorsFixture"</span>);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  BOOST_CHECK_THROW(Setup(), <a class="code" href="classarmnn_1_1_invalid_argument_exception.html">armnn::InvalidArgumentException</a>);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> }</div><div class="ttc" id="classarmnn_1_1_invalid_argument_exception_html"><div class="ttname"><a href="classarmnn_1_1_invalid_argument_exception.html">armnn::InvalidArgumentException</a></div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00080">Exceptions.hpp:80</a></div></div> |
| 204 | <div class="ttc" id="namespacearmnn_html_abdcd184ed3bd648bb31d385040cafd5d"><div class="ttname"><a href="namespacearmnn.html#abdcd184ed3bd648bb31d385040cafd5d">armnn::MaxNumOfTensorDimensions</a></div><div class="ttdeci">constexpr unsigned int MaxNumOfTensorDimensions</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00018">Types.hpp:18</a></div></div> |
| 205 | </div><!-- fragment --> |
| 206 | </div> |
| 207 | </div> |
| 208 | <a id="ac5dca292cc3d652bf21ea3acc6361e67"></a> |
| 209 | <h2 class="memtitle"><span class="permalink"><a href="#ac5dca292cc3d652bf21ea3acc6361e67">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[4/6]</span></h2> |
| 210 | |
| 211 | <div class="memitem"> |
| 212 | <div class="memproto"> |
| 213 | <table class="memname"> |
| 214 | <tr> |
| 215 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 216 | <td>(</td> |
| 217 | <td class="paramtype">GetValidInputOutputTensorNames </td> |
| 218 | <td class="paramname">, </td> |
| 219 | </tr> |
| 220 | <tr> |
| 221 | <td class="paramkey"></td> |
| 222 | <td></td> |
| 223 | <td class="paramtype">ValidTensorsFixture </td> |
| 224 | <td class="paramname"> </td> |
| 225 | </tr> |
| 226 | <tr> |
| 227 | <td></td> |
| 228 | <td>)</td> |
| 229 | <td></td><td></td> |
| 230 | </tr> |
| 231 | </table> |
| 232 | </div><div class="memdoc"> |
| 233 | |
| 234 | <p class="definition">Definition at line <a class="el" href="_input_output_tensor_names_8cpp_source.html#l00131">131</a> of file <a class="el" href="_input_output_tensor_names_8cpp_source.html">InputOutputTensorNames.cpp</a>.</p> |
| 235 | <div class="fragment"><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> {</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  Setup();</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  BOOST_CHECK_EQUAL(m_Parser->GetSubgraphInputTensorNames(0).size(), 1u);</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  BOOST_CHECK_EQUAL(m_Parser->GetSubgraphOutputTensorNames(0).size(), 1u);</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  BOOST_CHECK_EQUAL(m_Parser->GetSubgraphInputTensorNames(0)[0], <span class="stringliteral">"In"</span>);</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  BOOST_CHECK_EQUAL(m_Parser->GetSubgraphOutputTensorNames(0)[0], <span class="stringliteral">"Out"</span>);</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> }</div></div><!-- fragment --> |
| 236 | </div> |
| 237 | </div> |
| 238 | <a id="a694ee3f9f1226a0a9b65d223cdd89429"></a> |
| 239 | <h2 class="memtitle"><span class="permalink"><a href="#a694ee3f9f1226a0a9b65d223cdd89429">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[5/6]</span></h2> |
| 240 | |
| 241 | <div class="memitem"> |
| 242 | <div class="memproto"> |
| 243 | <table class="memname"> |
| 244 | <tr> |
| 245 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 246 | <td>(</td> |
| 247 | <td class="paramtype">ThrowIfSubgraphIdInvalidForInOutNames </td> |
| 248 | <td class="paramname">, </td> |
| 249 | </tr> |
| 250 | <tr> |
| 251 | <td class="paramkey"></td> |
| 252 | <td></td> |
| 253 | <td class="paramtype">ValidTensorsFixture </td> |
| 254 | <td class="paramname"> </td> |
| 255 | </tr> |
| 256 | <tr> |
| 257 | <td></td> |
| 258 | <td>)</td> |
| 259 | <td></td><td></td> |
| 260 | </tr> |
| 261 | </table> |
| 262 | </div><div class="memdoc"> |
| 263 | |
| 264 | <p class="definition">Definition at line <a class="el" href="_input_output_tensor_names_8cpp_source.html#l00140">140</a> of file <a class="el" href="_input_output_tensor_names_8cpp_source.html">InputOutputTensorNames.cpp</a>.</p> |
| 265 | <div class="fragment"><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  Setup();</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="comment">// these throw because of the invalid subgraph id</span></div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  BOOST_CHECK_THROW(m_Parser->GetSubgraphInputTensorNames(1), <a class="code" href="classarmnn_1_1_parse_exception.html">armnn::ParseException</a>);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  BOOST_CHECK_THROW(m_Parser->GetSubgraphOutputTensorNames(1), <a class="code" href="classarmnn_1_1_parse_exception.html">armnn::ParseException</a>);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> }</div><div class="ttc" id="classarmnn_1_1_parse_exception_html"><div class="ttname"><a href="classarmnn_1_1_parse_exception.html">armnn::ParseException</a></div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00092">Exceptions.hpp:92</a></div></div> |
| 266 | </div><!-- fragment --> |
| 267 | </div> |
| 268 | </div> |
| 269 | <a id="a0e8ed45dd35ce63037318f7a501e51bf"></a> |
| 270 | <h2 class="memtitle"><span class="permalink"><a href="#a0e8ed45dd35ce63037318f7a501e51bf">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[6/6]</span></h2> |
| 271 | |
| 272 | <div class="memitem"> |
| 273 | <div class="memproto"> |
| 274 | <table class="memname"> |
| 275 | <tr> |
| 276 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 277 | <td>(</td> |
| 278 | <td class="paramtype">Rank0Tensor </td> |
| 279 | <td class="paramname">, </td> |
| 280 | </tr> |
| 281 | <tr> |
| 282 | <td class="paramkey"></td> |
| 283 | <td></td> |
| 284 | <td class="paramtype">Rank0TensorFixture </td> |
| 285 | <td class="paramname"> </td> |
| 286 | </tr> |
| 287 | <tr> |
| 288 | <td></td> |
| 289 | <td>)</td> |
| 290 | <td></td><td></td> |
| 291 | </tr> |
| 292 | </table> |
| 293 | </div><div class="memdoc"> |
| 294 | |
| 295 | <p class="definition">Definition at line <a class="el" href="_input_output_tensor_names_8cpp_source.html#l00188">188</a> of file <a class="el" href="_input_output_tensor_names_8cpp_source.html">InputOutputTensorNames.cpp</a>.</p> |
| 296 | |
| 297 | <p class="reference">References <a class="el" href="_profiler_tests_8cpp.html#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>.</p> |
| 298 | <div class="fragment"><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>  Setup();</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  BOOST_CHECK_EQUAL(m_Parser->GetSubgraphInputTensorNames(0).size(), 2u);</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  BOOST_CHECK_EQUAL(m_Parser->GetSubgraphOutputTensorNames(0).size(), 1u);</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  BOOST_CHECK_EQUAL(m_Parser->GetSubgraphInputTensorNames(0)[0], <span class="stringliteral">"In0"</span>);</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  BOOST_CHECK_EQUAL(m_Parser->GetSubgraphInputTensorNames(0)[1], <span class="stringliteral">"In1"</span>);</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  BOOST_CHECK_EQUAL(m_Parser->GetSubgraphOutputTensorNames(0)[0], <span class="stringliteral">"Out"</span>);</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> }</div></div><!-- fragment --> |
| 299 | </div> |
| 300 | </div> |
| 301 | </div><!-- contents --> |
| 302 | </div><!-- doc-content --> |
| 303 | <!-- start footer part --> |
| 304 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 305 | <ul> |
| 306 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_510324e450b9df55f9aac2d01fae83d8.html">armnnTfLiteParser</a></li><li class="navelem"><a class="el" href="dir_6d8d07609c57029a35488d2120e28fbd.html">test</a></li><li class="navelem"><a class="el" href="_input_output_tensor_names_8cpp.html">InputOutputTensorNames.cpp</a></li> |
| 307 | <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by |
| 308 | <a href="http://www.doxygen.org/index.html"> |
| 309 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 310 | </ul> |
| 311 | </div> |
| 312 | </body> |
| 313 | </html> |