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: ParserFlatbuffersFixture Struct 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('struct_parser_flatbuffers_fixture.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-methods">Public Member Functions</a> | |
| 85 | <a href="#pub-static-methods">Static Public Member Functions</a> | |
| 86 | <a href="#pub-attribs">Public Attributes</a> | |
| 87 | <a href="struct_parser_flatbuffers_fixture-members.html">List of all members</a> </div> |
| 88 | <div class="headertitle"> |
| 89 | <div class="title">ParserFlatbuffersFixture Struct Reference</div> </div> |
| 90 | </div><!--header--> |
| 91 | <div class="contents"> |
| 92 | |
| 93 | <p><code>#include <<a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>></code></p> |
| 94 | <div class="dynheader"> |
| 95 | Inheritance diagram for ParserFlatbuffersFixture:</div> |
| 96 | <div class="dyncontent"> |
| 97 | <div class="center"> |
| 98 | <img src="struct_parser_flatbuffers_fixture.png" usemap="#ParserFlatbuffersFixture_map" alt=""/> |
| 99 | <map id="ParserFlatbuffersFixture_map" name="ParserFlatbuffersFixture_map"> |
| 100 | <area href="struct_positive_activation_fixture.html" alt="PositiveActivationFixture" shape="rect" coords="0,112,151,136"/> |
| 101 | </map> |
| 102 | </div></div> |
| 103 | <table class="memberdecls"> |
| 104 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 105 | Public Member Functions</h2></td></tr> |
| 106 | <tr class="memitem:ad748cc696b0f92b478ba4f145e966754"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#ad748cc696b0f92b478ba4f145e966754">ParserFlatbuffersFixture</a> ()</td></tr> |
| 107 | <tr class="separator:ad748cc696b0f92b478ba4f145e966754"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | <tr class="memitem:a769404f2985a027a0d626fedfd4de1e9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#a769404f2985a027a0d626fedfd4de1e9">Setup</a> ()</td></tr> |
| 109 | <tr class="separator:a769404f2985a027a0d626fedfd4de1e9"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | <tr class="memitem:a2bb4ea256fbbf6d53068ca93bb4bc95c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#a2bb4ea256fbbf6d53068ca93bb4bc95c">SetupSingleInputSingleOutput</a> (const std::string &inputName, const std::string &outputName)</td></tr> |
| 111 | <tr class="separator:a2bb4ea256fbbf6d53068ca93bb4bc95c"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:a69fc8e7f42386fa67732cb8c98d8b024"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#a69fc8e7f42386fa67732cb8c98d8b024">ReadStringToBinary</a> ()</td></tr> |
| 113 | <tr class="separator:a69fc8e7f42386fa67732cb8c98d8b024"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | <tr class="memitem:ad7406d5673bc2a8bc1efbdd4f4da140a"><td class="memTemplParams" colspan="2">template<std::size_t NumOutputDimensions, armnn::DataType ArmnnType> </td></tr> |
| 115 | <tr class="memitem:ad7406d5673bc2a8bc1efbdd4f4da140a"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#ad7406d5673bc2a8bc1efbdd4f4da140a">RunTest</a> (size_t subgraphId, const std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< ArmnnType >> &inputData, const std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< ArmnnType >> &expectedOutputData)</td></tr> |
| 116 | <tr class="separator:ad7406d5673bc2a8bc1efbdd4f4da140a"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:a515ada4931d7b8d8f9c9b84d1090ada1"><td class="memTemplParams" colspan="2">template<std::size_t NumOutputDimensions, armnn::DataType ArmnnType> </td></tr> |
| 118 | <tr class="memitem:a515ada4931d7b8d8f9c9b84d1090ada1"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#a515ada4931d7b8d8f9c9b84d1090ada1">RunTest</a> (size_t subgraphId, const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< ArmnnType >>> &inputData, const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< ArmnnType >>> &expectedOutputData)</td></tr> |
| 119 | <tr class="separator:a515ada4931d7b8d8f9c9b84d1090ada1"><td class="memSeparator" colspan="2"> </td></tr> |
| 120 | <tr class="memitem:a6c234b625a238e453fd704824982efb2"><td class="memTemplParams" colspan="2">template<std::size_t NumOutputDimensions, armnn::DataType ArmnnType1, armnn::DataType ArmnnType2> </td></tr> |
| 121 | <tr class="memitem:a6c234b625a238e453fd704824982efb2"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#a6c234b625a238e453fd704824982efb2">RunTest</a> (size_t subgraphId, const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< ArmnnType1 >>> &inputData, const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< ArmnnType2 >>> &expectedOutputData)</td></tr> |
| 122 | <tr class="separator:a6c234b625a238e453fd704824982efb2"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a603fc6ee4530690774de844a399dbc06"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType1, armnn::DataType ArmnnType2> </td></tr> |
| 124 | <tr class="memitem:a603fc6ee4530690774de844a399dbc06"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#a603fc6ee4530690774de844a399dbc06">RunTest</a> (std::size_t subgraphId, const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< ArmnnType1 >>> &inputData, const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< ArmnnType2 >>> &expectedOutputData)</td></tr> |
| 125 | <tr class="separator:a603fc6ee4530690774de844a399dbc06"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:a131f9fe1b625ce21cfe4285136ecfa20"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#a131f9fe1b625ce21cfe4285136ecfa20">CheckTensors</a> (const <a class="el" href="_parser_flatbuffers_serialize_fixture_8hpp.html#a15c20a0693cd3fc4d85565e2f920d8ef">TensorRawPtr</a> &tensors, size_t shapeSize, const std::vector< int32_t > &shape, tflite::TensorType tensorType, uint32_t buffer, const std::string &name, const std::vector< float > &min, const std::vector< float > &max, const std::vector< float > &scale, const std::vector< int64_t > &zeroPoint)</td></tr> |
| 127 | <tr class="separator:a131f9fe1b625ce21cfe4285136ecfa20"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | </table><table class="memberdecls"> |
| 129 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> |
| 130 | Static Public Member Functions</h2></td></tr> |
| 131 | <tr class="memitem:ab77021b45ae36342092fac96ec3534b7"><td class="memItemLeft" align="right" valign="top">static std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#ab77021b45ae36342092fac96ec3534b7">GenerateDetectionPostProcessJsonString</a> (const <a class="el" href="structarmnn_1_1_detection_post_process_descriptor.html">armnn::DetectionPostProcessDescriptor</a> &descriptor)</td></tr> |
| 132 | <tr class="separator:ab77021b45ae36342092fac96ec3534b7"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | </table><table class="memberdecls"> |
| 134 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> |
| 135 | Public Attributes</h2></td></tr> |
| 136 | <tr class="memitem:a9fbc789fd0aca759cb40737fdeb8ed63"><td class="memItemLeft" align="right" valign="top">std::vector< uint8_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#a9fbc789fd0aca759cb40737fdeb8ed63">m_GraphBinary</a></td></tr> |
| 137 | <tr class="separator:a9fbc789fd0aca759cb40737fdeb8ed63"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <tr class="memitem:a803c86dca3acef653c1cc481a27be7a9"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#a803c86dca3acef653c1cc481a27be7a9">m_JsonString</a></td></tr> |
| 139 | <tr class="separator:a803c86dca3acef653c1cc481a27be7a9"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | <tr class="memitem:ad30eda63c4e66a0e2e3f538a2181f4ac"><td class="memItemLeft" align="right" valign="top">ITfLiteParserPtr </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">m_Parser</a></td></tr> |
| 141 | <tr class="separator:ad30eda63c4e66a0e2e3f538a2181f4ac"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | <tr class="memitem:aefd699eb0838261fbe9770d511f63f24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a150468a02bd7b2d2d061c4aaaee939f0">armnn::IRuntimePtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#aefd699eb0838261fbe9770d511f63f24">m_Runtime</a></td></tr> |
| 143 | <tr class="separator:aefd699eb0838261fbe9770d511f63f24"><td class="memSeparator" colspan="2"> </td></tr> |
| 144 | <tr class="memitem:a0b81fa34e5ca505b9880755f702fafe7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">armnn::NetworkId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#a0b81fa34e5ca505b9880755f702fafe7">m_NetworkIdentifier</a></td></tr> |
| 145 | <tr class="separator:a0b81fa34e5ca505b9880755f702fafe7"><td class="memSeparator" colspan="2"> </td></tr> |
| 146 | <tr class="memitem:a2f8365158b7c75e43897fbe804b7fc4f"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#a2f8365158b7c75e43897fbe804b7fc4f">m_SingleInputName</a></td></tr> |
| 147 | <tr class="separator:a2f8365158b7c75e43897fbe804b7fc4f"><td class="memSeparator" colspan="2"> </td></tr> |
| 148 | <tr class="memitem:add32b4d209a5b5d6ea6db94b9894ad75"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_parser_flatbuffers_fixture.html#add32b4d209a5b5d6ea6db94b9894ad75">m_SingleOutputName</a></td></tr> |
| 149 | <tr class="separator:add32b4d209a5b5d6ea6db94b9894ad75"><td class="memSeparator" colspan="2"> </td></tr> |
| 150 | </table> |
| 151 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 152 | <div class="textblock"> |
| 153 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00037">37</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 154 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 155 | <a id="ad748cc696b0f92b478ba4f145e966754"></a> |
| 156 | <h2 class="memtitle"><span class="permalink"><a href="#ad748cc696b0f92b478ba4f145e966754">◆ </a></span>ParserFlatbuffersFixture()</h2> |
| 157 | |
| 158 | <div class="memitem"> |
| 159 | <div class="memproto"> |
| 160 | <table class="mlabels"> |
| 161 | <tr> |
| 162 | <td class="mlabels-left"> |
| 163 | <table class="memname"> |
| 164 | <tr> |
| 165 | <td class="memname"><a class="el" href="struct_parser_flatbuffers_fixture.html">ParserFlatbuffersFixture</a> </td> |
| 166 | <td>(</td> |
| 167 | <td class="paramname"></td><td>)</td> |
| 168 | <td></td> |
| 169 | </tr> |
| 170 | </table> |
| 171 | </td> |
| 172 | <td class="mlabels-right"> |
| 173 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 174 | </tr> |
| 175 | </table> |
| 176 | </div><div class="memdoc"> |
| 177 | |
| 178 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00039">39</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 179 | |
| 180 | <p class="reference">References <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00052">m_Parser</a>, and <a class="el" href="_file_only_profiling_decorator_tests_8cpp_source.html#l00045">options</a>.</p> |
| 181 | <div class="fragment"><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  :</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">m_Parser</a>(<span class="keyword">nullptr</span>, &ITfLiteParser::Destroy),</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#aefd699eb0838261fbe9770d511f63f24">m_Runtime</a>(<a class="code" href="classarmnn_1_1_i_runtime.html#ad44ecd3700748dc30dc4bbe34ba5bde7">armnn::IRuntime::Create</a>(<a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">armnn::IRuntime::CreationOptions</a>())),</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#a0b81fa34e5ca505b9880755f702fafe7">m_NetworkIdentifier</a>(-1)</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  ITfLiteParser::TfLiteParserOptions <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  options.m_StandInLayerForUnsupported = <span class="keyword">true</span>;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">m_Parser</a>.reset(ITfLiteParser::CreateRaw(<a class="code" href="classarmnn_1_1_optional.html">armnn::Optional<ITfLiteParser::TfLiteParserOptions></a>(options)));</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  }</div><div class="ttc" id="struct_parser_flatbuffers_fixture_html_ad30eda63c4e66a0e2e3f538a2181f4ac"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">ParserFlatbuffersFixture::m_Parser</a></div><div class="ttdeci">ITfLiteParserPtr m_Parser</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00052">ParserFlatbuffersFixture.hpp:52</a></div></div> |
| 182 | <div class="ttc" id="classarmnn_1_1_optional_html"><div class="ttname"><a href="classarmnn_1_1_optional.html">armnn::Optional</a></div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.html#l00270">Optional.hpp:270</a></div></div> |
| 183 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_aefd699eb0838261fbe9770d511f63f24"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#aefd699eb0838261fbe9770d511f63f24">ParserFlatbuffersFixture::m_Runtime</a></div><div class="ttdeci">armnn::IRuntimePtr m_Runtime</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00053">ParserFlatbuffersFixture.hpp:53</a></div></div> |
| 184 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_a0b81fa34e5ca505b9880755f702fafe7"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#a0b81fa34e5ca505b9880755f702fafe7">ParserFlatbuffersFixture::m_NetworkIdentifier</a></div><div class="ttdeci">armnn::NetworkId m_NetworkIdentifier</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00054">ParserFlatbuffersFixture.hpp:54</a></div></div> |
| 185 | <div class="ttc" id="classarmnn_1_1_i_runtime_html_ad44ecd3700748dc30dc4bbe34ba5bde7"><div class="ttname"><a href="classarmnn_1_1_i_runtime.html#ad44ecd3700748dc30dc4bbe34ba5bde7">armnn::IRuntime::Create</a></div><div class="ttdeci">static IRuntimePtr Create(const CreationOptions &options)</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.html#l00032">Runtime.cpp:32</a></div></div> |
| 186 | <div class="ttc" id="structarmnn_1_1_i_runtime_1_1_creation_options_html"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html">armnn::IRuntime::CreationOptions</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00041">IRuntime.hpp:41</a></div></div> |
| 187 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a6560146509197f3e197d8d36f76c1347"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a></div><div class="ttdeci">armnn::Runtime::CreationOptions::ExternalProfilingOptions options</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.html#l00045">FileOnlyProfilingDecoratorTests.cpp:45</a></div></div> |
| 188 | </div><!-- fragment --> |
| 189 | </div> |
| 190 | </div> |
| 191 | <h2 class="groupheader">Member Function Documentation</h2> |
| 192 | <a id="a131f9fe1b625ce21cfe4285136ecfa20"></a> |
| 193 | <h2 class="memtitle"><span class="permalink"><a href="#a131f9fe1b625ce21cfe4285136ecfa20">◆ </a></span>CheckTensors()</h2> |
| 194 | |
| 195 | <div class="memitem"> |
| 196 | <div class="memproto"> |
| 197 | <table class="mlabels"> |
| 198 | <tr> |
| 199 | <td class="mlabels-left"> |
| 200 | <table class="memname"> |
| 201 | <tr> |
| 202 | <td class="memname">void CheckTensors </td> |
| 203 | <td>(</td> |
| 204 | <td class="paramtype">const <a class="el" href="_parser_flatbuffers_serialize_fixture_8hpp.html#a15c20a0693cd3fc4d85565e2f920d8ef">TensorRawPtr</a> & </td> |
| 205 | <td class="paramname"><em>tensors</em>, </td> |
| 206 | </tr> |
| 207 | <tr> |
| 208 | <td class="paramkey"></td> |
| 209 | <td></td> |
| 210 | <td class="paramtype">size_t </td> |
| 211 | <td class="paramname"><em>shapeSize</em>, </td> |
| 212 | </tr> |
| 213 | <tr> |
| 214 | <td class="paramkey"></td> |
| 215 | <td></td> |
| 216 | <td class="paramtype">const std::vector< int32_t > & </td> |
| 217 | <td class="paramname"><em>shape</em>, </td> |
| 218 | </tr> |
| 219 | <tr> |
| 220 | <td class="paramkey"></td> |
| 221 | <td></td> |
| 222 | <td class="paramtype">tflite::TensorType </td> |
| 223 | <td class="paramname"><em>tensorType</em>, </td> |
| 224 | </tr> |
| 225 | <tr> |
| 226 | <td class="paramkey"></td> |
| 227 | <td></td> |
| 228 | <td class="paramtype">uint32_t </td> |
| 229 | <td class="paramname"><em>buffer</em>, </td> |
| 230 | </tr> |
| 231 | <tr> |
| 232 | <td class="paramkey"></td> |
| 233 | <td></td> |
| 234 | <td class="paramtype">const std::string & </td> |
| 235 | <td class="paramname"><em>name</em>, </td> |
| 236 | </tr> |
| 237 | <tr> |
| 238 | <td class="paramkey"></td> |
| 239 | <td></td> |
| 240 | <td class="paramtype">const std::vector< float > & </td> |
| 241 | <td class="paramname"><em>min</em>, </td> |
| 242 | </tr> |
| 243 | <tr> |
| 244 | <td class="paramkey"></td> |
| 245 | <td></td> |
| 246 | <td class="paramtype">const std::vector< float > & </td> |
| 247 | <td class="paramname"><em>max</em>, </td> |
| 248 | </tr> |
| 249 | <tr> |
| 250 | <td class="paramkey"></td> |
| 251 | <td></td> |
| 252 | <td class="paramtype">const std::vector< float > & </td> |
| 253 | <td class="paramname"><em>scale</em>, </td> |
| 254 | </tr> |
| 255 | <tr> |
| 256 | <td class="paramkey"></td> |
| 257 | <td></td> |
| 258 | <td class="paramtype">const std::vector< int64_t > & </td> |
| 259 | <td class="paramname"><em>zeroPoint</em> </td> |
| 260 | </tr> |
| 261 | <tr> |
| 262 | <td></td> |
| 263 | <td>)</td> |
| 264 | <td></td><td></td> |
| 265 | </tr> |
| 266 | </table> |
| 267 | </td> |
| 268 | <td class="mlabels-right"> |
| 269 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 270 | </tr> |
| 271 | </table> |
| 272 | </div><div class="memdoc"> |
| 273 | |
| 274 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00193">193</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 275 | |
| 276 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>.</p> |
| 277 | <div class="fragment"><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>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(tensors);</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  BOOST_CHECK_EQUAL(shapeSize, tensors->shape.size());</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  BOOST_CHECK_EQUAL_COLLECTIONS(shape.begin(), shape.end(), tensors->shape.begin(), tensors->shape.end());</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  BOOST_CHECK_EQUAL(tensorType, tensors->type);</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  BOOST_CHECK_EQUAL(buffer, tensors->buffer);</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  BOOST_CHECK_EQUAL(name, tensors->name);</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(tensors->quantization);</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  BOOST_CHECK_EQUAL_COLLECTIONS(min.begin(), min.end(), tensors->quantization.get()->min.begin(),</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  tensors->quantization.get()->min.end());</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  BOOST_CHECK_EQUAL_COLLECTIONS(max.begin(), max.end(), tensors->quantization.get()->max.begin(),</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  tensors->quantization.get()->max.end());</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  BOOST_CHECK_EQUAL_COLLECTIONS(scale.begin(), scale.end(), tensors->quantization.get()->scale.begin(),</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  tensors->quantization.get()->scale.end());</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  BOOST_CHECK_EQUAL_COLLECTIONS(zeroPoint.begin(), zeroPoint.end(),</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  tensors->quantization.get()->zero_point.begin(),</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  tensors->quantization.get()->zero_point.end());</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 278 | </div><!-- fragment --> |
| 279 | </div> |
| 280 | </div> |
| 281 | <a id="ab77021b45ae36342092fac96ec3534b7"></a> |
| 282 | <h2 class="memtitle"><span class="permalink"><a href="#ab77021b45ae36342092fac96ec3534b7">◆ </a></span>GenerateDetectionPostProcessJsonString()</h2> |
| 283 | |
| 284 | <div class="memitem"> |
| 285 | <div class="memproto"> |
| 286 | <table class="mlabels"> |
| 287 | <tr> |
| 288 | <td class="mlabels-left"> |
| 289 | <table class="memname"> |
| 290 | <tr> |
| 291 | <td class="memname">static std::string GenerateDetectionPostProcessJsonString </td> |
| 292 | <td>(</td> |
| 293 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_detection_post_process_descriptor.html">armnn::DetectionPostProcessDescriptor</a> & </td> |
| 294 | <td class="paramname"><em>descriptor</em></td><td>)</td> |
| 295 | <td></td> |
| 296 | </tr> |
| 297 | </table> |
| 298 | </td> |
| 299 | <td class="mlabels-right"> |
| 300 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> |
| 301 | </tr> |
| 302 | </table> |
| 303 | </div><div class="memdoc"> |
| 304 | |
| 305 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00166">166</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 306 | |
| 307 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00531">DetectionPostProcessDescriptor::m_DetectionsPerClass</a>, <a class="el" href="_descriptors_8hpp_source.html#l00529">DetectionPostProcessDescriptor::m_MaxClassesPerDetection</a>, <a class="el" href="_descriptors_8hpp_source.html#l00527">DetectionPostProcessDescriptor::m_MaxDetections</a>, <a class="el" href="_descriptors_8hpp_source.html#l00535">DetectionPostProcessDescriptor::m_NmsIouThreshold</a>, <a class="el" href="_descriptors_8hpp_source.html#l00533">DetectionPostProcessDescriptor::m_NmsScoreThreshold</a>, <a class="el" href="_descriptors_8hpp_source.html#l00537">DetectionPostProcessDescriptor::m_NumClasses</a>, <a class="el" href="_descriptors_8hpp_source.html#l00547">DetectionPostProcessDescriptor::m_ScaleH</a>, <a class="el" href="_descriptors_8hpp_source.html#l00545">DetectionPostProcessDescriptor::m_ScaleW</a>, <a class="el" href="_descriptors_8hpp_source.html#l00541">DetectionPostProcessDescriptor::m_ScaleX</a>, <a class="el" href="_descriptors_8hpp_source.html#l00543">DetectionPostProcessDescriptor::m_ScaleY</a>, and <a class="el" href="_descriptors_8hpp_source.html#l00539">DetectionPostProcessDescriptor::m_UseRegularNms</a>.</p> |
| 308 | <div class="fragment"><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  flexbuffers::Builder detectPostProcess;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  detectPostProcess.Map([&]() {</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  detectPostProcess.Bool(<span class="stringliteral">"use_regular_nms"</span>, descriptor.<a class="code" href="structarmnn_1_1_detection_post_process_descriptor.html#a7ed9bc7c26df67d274d5dd4cd83adf0f">m_UseRegularNms</a>);</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  detectPostProcess.Int(<span class="stringliteral">"max_detections"</span>, descriptor.<a class="code" href="structarmnn_1_1_detection_post_process_descriptor.html#ae72089bcab60ac175557f4241b16a014">m_MaxDetections</a>);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  detectPostProcess.Int(<span class="stringliteral">"max_classes_per_detection"</span>, descriptor.<a class="code" href="structarmnn_1_1_detection_post_process_descriptor.html#a9ae2c9796692ebeafe19a4d3f09c8ea8">m_MaxClassesPerDetection</a>);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  detectPostProcess.Int(<span class="stringliteral">"detections_per_class"</span>, descriptor.<a class="code" href="structarmnn_1_1_detection_post_process_descriptor.html#a7e2f87544b8bc7e497e1dec8d3ca4055">m_DetectionsPerClass</a>);</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  detectPostProcess.Int(<span class="stringliteral">"num_classes"</span>, descriptor.<a class="code" href="structarmnn_1_1_detection_post_process_descriptor.html#a3a04b0ccee4bb2f21721ee5045e83df4">m_NumClasses</a>);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  detectPostProcess.Float(<span class="stringliteral">"nms_score_threshold"</span>, descriptor.<a class="code" href="structarmnn_1_1_detection_post_process_descriptor.html#a4392dd6b4862cc9cf95ae8f1001ba592">m_NmsScoreThreshold</a>);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  detectPostProcess.Float(<span class="stringliteral">"nms_iou_threshold"</span>, descriptor.<a class="code" href="structarmnn_1_1_detection_post_process_descriptor.html#a53c8a7f33a40e1e240256bcfcf41b101">m_NmsIouThreshold</a>);</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  detectPostProcess.Float(<span class="stringliteral">"h_scale"</span>, descriptor.<a class="code" href="structarmnn_1_1_detection_post_process_descriptor.html#aa61510cbd529870182e918ac6e8b9d72">m_ScaleH</a>);</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  detectPostProcess.Float(<span class="stringliteral">"w_scale"</span>, descriptor.<a class="code" href="structarmnn_1_1_detection_post_process_descriptor.html#ab509802c659de19929f18bad14a35c58">m_ScaleW</a>);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  detectPostProcess.Float(<span class="stringliteral">"x_scale"</span>, descriptor.<a class="code" href="structarmnn_1_1_detection_post_process_descriptor.html#ae64523937ea910030ad66fee6fddd51f">m_ScaleX</a>);</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  detectPostProcess.Float(<span class="stringliteral">"y_scale"</span>, descriptor.<a class="code" href="structarmnn_1_1_detection_post_process_descriptor.html#a7a2156ec7d9c012ce00bbcc6afcb9028">m_ScaleY</a>);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  });</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  detectPostProcess.Finish();</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="comment">// Create JSON string</span></div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  std::stringstream strStream;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  std::vector<uint8_t> buffer = detectPostProcess.GetBuffer();</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  std::copy(buffer.begin(), buffer.end(),std::ostream_iterator<int>(strStream,<span class="stringliteral">","</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="keywordflow">return</span> strStream.str();</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  }</div><div class="ttc" id="structarmnn_1_1_detection_post_process_descriptor_html_ae64523937ea910030ad66fee6fddd51f"><div class="ttname"><a href="structarmnn_1_1_detection_post_process_descriptor.html#ae64523937ea910030ad66fee6fddd51f">armnn::DetectionPostProcessDescriptor::m_ScaleX</a></div><div class="ttdeci">float m_ScaleX</div><div class="ttdoc">Center size encoding scale x. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00541">Descriptors.hpp:541</a></div></div> |
| 309 | <div class="ttc" id="structarmnn_1_1_detection_post_process_descriptor_html_a9ae2c9796692ebeafe19a4d3f09c8ea8"><div class="ttname"><a href="structarmnn_1_1_detection_post_process_descriptor.html#a9ae2c9796692ebeafe19a4d3f09c8ea8">armnn::DetectionPostProcessDescriptor::m_MaxClassesPerDetection</a></div><div class="ttdeci">uint32_t m_MaxClassesPerDetection</div><div class="ttdoc">Maximum numbers of classes per detection, used in Fast NMS. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00529">Descriptors.hpp:529</a></div></div> |
| 310 | <div class="ttc" id="structarmnn_1_1_detection_post_process_descriptor_html_a3a04b0ccee4bb2f21721ee5045e83df4"><div class="ttname"><a href="structarmnn_1_1_detection_post_process_descriptor.html#a3a04b0ccee4bb2f21721ee5045e83df4">armnn::DetectionPostProcessDescriptor::m_NumClasses</a></div><div class="ttdeci">uint32_t m_NumClasses</div><div class="ttdoc">Number of classes. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00537">Descriptors.hpp:537</a></div></div> |
| 311 | <div class="ttc" id="structarmnn_1_1_detection_post_process_descriptor_html_ab509802c659de19929f18bad14a35c58"><div class="ttname"><a href="structarmnn_1_1_detection_post_process_descriptor.html#ab509802c659de19929f18bad14a35c58">armnn::DetectionPostProcessDescriptor::m_ScaleW</a></div><div class="ttdeci">float m_ScaleW</div><div class="ttdoc">Center size encoding scale weight. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00545">Descriptors.hpp:545</a></div></div> |
| 312 | <div class="ttc" id="structarmnn_1_1_detection_post_process_descriptor_html_a7a2156ec7d9c012ce00bbcc6afcb9028"><div class="ttname"><a href="structarmnn_1_1_detection_post_process_descriptor.html#a7a2156ec7d9c012ce00bbcc6afcb9028">armnn::DetectionPostProcessDescriptor::m_ScaleY</a></div><div class="ttdeci">float m_ScaleY</div><div class="ttdoc">Center size encoding scale y. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00543">Descriptors.hpp:543</a></div></div> |
| 313 | <div class="ttc" id="structarmnn_1_1_detection_post_process_descriptor_html_a7ed9bc7c26df67d274d5dd4cd83adf0f"><div class="ttname"><a href="structarmnn_1_1_detection_post_process_descriptor.html#a7ed9bc7c26df67d274d5dd4cd83adf0f">armnn::DetectionPostProcessDescriptor::m_UseRegularNms</a></div><div class="ttdeci">bool m_UseRegularNms</div><div class="ttdoc">Use Regular NMS. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00539">Descriptors.hpp:539</a></div></div> |
| 314 | <div class="ttc" id="structarmnn_1_1_detection_post_process_descriptor_html_a53c8a7f33a40e1e240256bcfcf41b101"><div class="ttname"><a href="structarmnn_1_1_detection_post_process_descriptor.html#a53c8a7f33a40e1e240256bcfcf41b101">armnn::DetectionPostProcessDescriptor::m_NmsIouThreshold</a></div><div class="ttdeci">float m_NmsIouThreshold</div><div class="ttdoc">Intersection over union threshold. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00535">Descriptors.hpp:535</a></div></div> |
| 315 | <div class="ttc" id="structarmnn_1_1_detection_post_process_descriptor_html_a7e2f87544b8bc7e497e1dec8d3ca4055"><div class="ttname"><a href="structarmnn_1_1_detection_post_process_descriptor.html#a7e2f87544b8bc7e497e1dec8d3ca4055">armnn::DetectionPostProcessDescriptor::m_DetectionsPerClass</a></div><div class="ttdeci">uint32_t m_DetectionsPerClass</div><div class="ttdoc">Detections per classes, used in Regular NMS. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00531">Descriptors.hpp:531</a></div></div> |
| 316 | <div class="ttc" id="structarmnn_1_1_detection_post_process_descriptor_html_a4392dd6b4862cc9cf95ae8f1001ba592"><div class="ttname"><a href="structarmnn_1_1_detection_post_process_descriptor.html#a4392dd6b4862cc9cf95ae8f1001ba592">armnn::DetectionPostProcessDescriptor::m_NmsScoreThreshold</a></div><div class="ttdeci">float m_NmsScoreThreshold</div><div class="ttdoc">NMS score threshold. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00533">Descriptors.hpp:533</a></div></div> |
| 317 | <div class="ttc" id="structarmnn_1_1_detection_post_process_descriptor_html_aa61510cbd529870182e918ac6e8b9d72"><div class="ttname"><a href="structarmnn_1_1_detection_post_process_descriptor.html#aa61510cbd529870182e918ac6e8b9d72">armnn::DetectionPostProcessDescriptor::m_ScaleH</a></div><div class="ttdeci">float m_ScaleH</div><div class="ttdoc">Center size encoding scale height. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00547">Descriptors.hpp:547</a></div></div> |
| 318 | <div class="ttc" id="structarmnn_1_1_detection_post_process_descriptor_html_ae72089bcab60ac175557f4241b16a014"><div class="ttname"><a href="structarmnn_1_1_detection_post_process_descriptor.html#ae72089bcab60ac175557f4241b16a014">armnn::DetectionPostProcessDescriptor::m_MaxDetections</a></div><div class="ttdeci">uint32_t m_MaxDetections</div><div class="ttdoc">Maximum numbers of detections. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00527">Descriptors.hpp:527</a></div></div> |
| 319 | </div><!-- fragment --> |
| 320 | </div> |
| 321 | </div> |
| 322 | <a id="a69fc8e7f42386fa67732cb8c98d8b024"></a> |
| 323 | <h2 class="memtitle"><span class="permalink"><a href="#a69fc8e7f42386fa67732cb8c98d8b024">◆ </a></span>ReadStringToBinary()</h2> |
| 324 | |
| 325 | <div class="memitem"> |
| 326 | <div class="memproto"> |
| 327 | <table class="mlabels"> |
| 328 | <tr> |
| 329 | <td class="mlabels-left"> |
| 330 | <table class="memname"> |
| 331 | <tr> |
| 332 | <td class="memname">bool ReadStringToBinary </td> |
| 333 | <td>(</td> |
| 334 | <td class="paramname"></td><td>)</td> |
| 335 | <td></td> |
| 336 | </tr> |
| 337 | </table> |
| 338 | </td> |
| 339 | <td class="mlabels-right"> |
| 340 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 341 | </tr> |
| 342 | </table> |
| 343 | </div><div class="memdoc"> |
| 344 | |
| 345 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00102">102</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 346 | |
| 347 | <p class="reference">References <a class="el" href="_schema_8hpp.html#a6747d3548926a8130c42fb3398027acf">g_TfLiteSchemaText</a>, <a class="el" href="_schema_8hpp.html#abe07dadc9cf942cbf847470102a8980e">g_TfLiteSchemaText_len</a>, and <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00222">RunTest()</a>.</p> |
| 348 | |
| 349 | <p class="reference">Referenced by <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00061">Setup()</a>.</p> |
| 350 | <div class="fragment"><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  {</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  std::string schemafile(<a class="code" href="_schema_8hpp.html#a6747d3548926a8130c42fb3398027acf">g_TfLiteSchemaText</a>, <a class="code" href="_schema_8hpp.html#a6747d3548926a8130c42fb3398027acf">g_TfLiteSchemaText</a> + <a class="code" href="_schema_8hpp.html#abe07dadc9cf942cbf847470102a8980e">g_TfLiteSchemaText_len</a>);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// parse schema first, so we can use it to parse the data after</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  flatbuffers::Parser parser;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordtype">bool</span> ok = parser.Parse(schemafile.c_str());</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  BOOST_ASSERT_MSG(ok, <span class="stringliteral">"Failed to parse schema file"</span>);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  ok &= parser.Parse(<a class="code" href="struct_parser_flatbuffers_fixture.html#a803c86dca3acef653c1cc481a27be7a9">m_JsonString</a>.c_str());</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  BOOST_ASSERT_MSG(ok, <span class="stringliteral">"Failed to parse json input"</span>);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">if</span> (!ok)</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  {</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keyword">const</span> uint8_t * bufferPtr = parser.builder_.GetBufferPointer();</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">size_t</span> size = <span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(parser.builder_.GetSize());</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#a9fbc789fd0aca759cb40737fdeb8ed63">m_GraphBinary</a>.assign(bufferPtr, bufferPtr+size);</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">return</span> ok;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  }</div><div class="ttc" id="struct_parser_flatbuffers_fixture_html_a803c86dca3acef653c1cc481a27be7a9"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#a803c86dca3acef653c1cc481a27be7a9">ParserFlatbuffersFixture::m_JsonString</a></div><div class="ttdeci">std::string m_JsonString</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00051">ParserFlatbuffersFixture.hpp:51</a></div></div> |
| 351 | <div class="ttc" id="_schema_8hpp_html_abe07dadc9cf942cbf847470102a8980e"><div class="ttname"><a href="_schema_8hpp.html#abe07dadc9cf942cbf847470102a8980e">g_TfLiteSchemaText_len</a></div><div class="ttdeci">unsigned int g_TfLiteSchemaText_len</div></div> |
| 352 | <div class="ttc" id="_schema_8hpp_html_a6747d3548926a8130c42fb3398027acf"><div class="ttname"><a href="_schema_8hpp.html#a6747d3548926a8130c42fb3398027acf">g_TfLiteSchemaText</a></div><div class="ttdeci">unsigned char g_TfLiteSchemaText[]</div></div> |
| 353 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_a9fbc789fd0aca759cb40737fdeb8ed63"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#a9fbc789fd0aca759cb40737fdeb8ed63">ParserFlatbuffersFixture::m_GraphBinary</a></div><div class="ttdeci">std::vector< uint8_t > m_GraphBinary</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00050">ParserFlatbuffersFixture.hpp:50</a></div></div> |
| 354 | </div><!-- fragment --> |
| 355 | </div> |
| 356 | </div> |
| 357 | <a id="ad7406d5673bc2a8bc1efbdd4f4da140a"></a> |
| 358 | <h2 class="memtitle"><span class="permalink"><a href="#ad7406d5673bc2a8bc1efbdd4f4da140a">◆ </a></span>RunTest() <span class="overload">[1/4]</span></h2> |
| 359 | |
| 360 | <div class="memitem"> |
| 361 | <div class="memproto"> |
| 362 | <table class="memname"> |
| 363 | <tr> |
| 364 | <td class="memname">void RunTest </td> |
| 365 | <td>(</td> |
| 366 | <td class="paramtype">size_t </td> |
| 367 | <td class="paramname"><em>subgraphId</em>, </td> |
| 368 | </tr> |
| 369 | <tr> |
| 370 | <td class="paramkey"></td> |
| 371 | <td></td> |
| 372 | <td class="paramtype">const std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< armnnType >> & </td> |
| 373 | <td class="paramname"><em>inputData</em>, </td> |
| 374 | </tr> |
| 375 | <tr> |
| 376 | <td class="paramkey"></td> |
| 377 | <td></td> |
| 378 | <td class="paramtype">const std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< armnnType >> & </td> |
| 379 | <td class="paramname"><em>expectedOutputData</em> </td> |
| 380 | </tr> |
| 381 | <tr> |
| 382 | <td></td> |
| 383 | <td>)</td> |
| 384 | <td></td><td></td> |
| 385 | </tr> |
| 386 | </table> |
| 387 | </div><div class="memdoc"> |
| 388 | <p>Executes the network with the given input tensor and checks the result against the given output tensor. This assumes the network has a single input and a single output.</p> |
| 389 | <p>Single Input, Single Output Executes the network with the given input tensor and checks the result against the given output tensor. This overload assumes the network has a single input and a single output. </p> |
| 390 | |
| 391 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00222">222</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 392 | |
| 393 | <p class="reference">References <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00058">m_SingleInputName</a>, and <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00059">m_SingleOutputName</a>.</p> |
| 394 | |
| 395 | <p class="reference">Referenced by <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00102">ReadStringToBinary()</a>.</p> |
| 396 | <div class="fragment"><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> {</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  RunTest<NumOutputDimensions, armnnType>(subgraphId,</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  { { <a class="code" href="struct_parser_flatbuffers_fixture.html#a2f8365158b7c75e43897fbe804b7fc4f">m_SingleInputName</a>, inputData } },</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  { { <a class="code" href="struct_parser_flatbuffers_fixture.html#add32b4d209a5b5d6ea6db94b9894ad75">m_SingleOutputName</a>, expectedOutputData } });</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> }</div><div class="ttc" id="struct_parser_flatbuffers_fixture_html_a2f8365158b7c75e43897fbe804b7fc4f"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#a2f8365158b7c75e43897fbe804b7fc4f">ParserFlatbuffersFixture::m_SingleInputName</a></div><div class="ttdeci">std::string m_SingleInputName</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00058">ParserFlatbuffersFixture.hpp:58</a></div></div> |
| 397 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_add32b4d209a5b5d6ea6db94b9894ad75"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#add32b4d209a5b5d6ea6db94b9894ad75">ParserFlatbuffersFixture::m_SingleOutputName</a></div><div class="ttdeci">std::string m_SingleOutputName</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00059">ParserFlatbuffersFixture.hpp:59</a></div></div> |
| 398 | </div><!-- fragment --> |
| 399 | </div> |
| 400 | </div> |
| 401 | <a id="a515ada4931d7b8d8f9c9b84d1090ada1"></a> |
| 402 | <h2 class="memtitle"><span class="permalink"><a href="#a515ada4931d7b8d8f9c9b84d1090ada1">◆ </a></span>RunTest() <span class="overload">[2/4]</span></h2> |
| 403 | |
| 404 | <div class="memitem"> |
| 405 | <div class="memproto"> |
| 406 | <table class="memname"> |
| 407 | <tr> |
| 408 | <td class="memname">void RunTest </td> |
| 409 | <td>(</td> |
| 410 | <td class="paramtype">size_t </td> |
| 411 | <td class="paramname"><em>subgraphId</em>, </td> |
| 412 | </tr> |
| 413 | <tr> |
| 414 | <td class="paramkey"></td> |
| 415 | <td></td> |
| 416 | <td class="paramtype">const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< armnnType >>> & </td> |
| 417 | <td class="paramname"><em>inputData</em>, </td> |
| 418 | </tr> |
| 419 | <tr> |
| 420 | <td class="paramkey"></td> |
| 421 | <td></td> |
| 422 | <td class="paramtype">const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< armnnType >>> & </td> |
| 423 | <td class="paramname"><em>expectedOutputData</em> </td> |
| 424 | </tr> |
| 425 | <tr> |
| 426 | <td></td> |
| 427 | <td>)</td> |
| 428 | <td></td><td></td> |
| 429 | </tr> |
| 430 | </table> |
| 431 | </div><div class="memdoc"> |
| 432 | <p>Executes the network with the given input tensors and checks the results against the given output tensors. This overload supports multiple inputs and multiple outputs, identified by name.</p> |
| 433 | <p>Multiple Inputs, Multiple Outputs Executes the network with the given input tensors and checks the results against the given output tensors. This overload supports multiple inputs and multiple outputs, identified by name. </p> |
| 434 | |
| 435 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00236">236</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 436 | <div class="fragment"><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>  RunTest<NumOutputDimensions, armnnType, armnnType>(subgraphId, inputData, expectedOutputData);</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span> }</div></div><!-- fragment --> |
| 437 | </div> |
| 438 | </div> |
| 439 | <a id="a6c234b625a238e453fd704824982efb2"></a> |
| 440 | <h2 class="memtitle"><span class="permalink"><a href="#a6c234b625a238e453fd704824982efb2">◆ </a></span>RunTest() <span class="overload">[3/4]</span></h2> |
| 441 | |
| 442 | <div class="memitem"> |
| 443 | <div class="memproto"> |
| 444 | <table class="memname"> |
| 445 | <tr> |
| 446 | <td class="memname">void RunTest </td> |
| 447 | <td>(</td> |
| 448 | <td class="paramtype">size_t </td> |
| 449 | <td class="paramname"><em>subgraphId</em>, </td> |
| 450 | </tr> |
| 451 | <tr> |
| 452 | <td class="paramkey"></td> |
| 453 | <td></td> |
| 454 | <td class="paramtype">const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< armnnType1 >>> & </td> |
| 455 | <td class="paramname"><em>inputData</em>, </td> |
| 456 | </tr> |
| 457 | <tr> |
| 458 | <td class="paramkey"></td> |
| 459 | <td></td> |
| 460 | <td class="paramtype">const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< armnnType2 >>> & </td> |
| 461 | <td class="paramname"><em>expectedOutputData</em> </td> |
| 462 | </tr> |
| 463 | <tr> |
| 464 | <td></td> |
| 465 | <td>)</td> |
| 466 | <td></td><td></td> |
| 467 | </tr> |
| 468 | </table> |
| 469 | </div><div class="memdoc"> |
| 470 | <p>Multiple Inputs, Multiple Outputs w/ Variable Datatypes and different dimension sizes. Executes the network with the given input tensors and checks the results against the given output tensors. This overload supports multiple inputs and multiple outputs, identified by name along with the allowance for the input datatype to be different to the output</p> |
| 471 | <p>Multiple Inputs, Multiple Outputs w/ Variable Datatypes Executes the network with the given input tensors and checks the results against the given output tensors. This overload supports multiple inputs and multiple outputs, identified by name along with the allowance for the input datatype to be different to the output </p> |
| 472 | |
| 473 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00250">250</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 474 | |
| 475 | <p class="reference">References <a class="el" href="_tensor_helpers_8hpp_source.html#l00075">CompareTensors()</a>, <a class="el" href="_tensor_8hpp_source.html#l00092">TensorInfo::GetNumDimensions()</a>, <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00054">m_NetworkIdentifier</a>, <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00052">m_Parser</a>, <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00053">m_Runtime</a>, and <a class="el" href="_types_utils_8hpp_source.html#l00292">armnn::VerifyTensorInfoDataType()</a>.</p> |
| 476 | <div class="fragment"><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keyword">using</span> DataType2 = <a class="code" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType<armnnType2></a>;</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span> </div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="comment">// Setup the armnn input tensors from the given vectors.</span></div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <a class="code" href="namespacearmnn.html#aa01bce88f89975a5a031db4cc8861527">armnn::InputTensors</a> inputTensors;</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&& it : inputData)</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  {</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <a class="code" href="namespacearmnn.html#a280670a263dc4fd40491f6d0a2737f44">armnn::BindingPointInfo</a> bindingInfo = <a class="code" href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">m_Parser</a>->GetNetworkInputBindingInfo(subgraphId, it.first);</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <a class="code" href="namespacearmnn.html#a9667bea652e3a5ef81fea59b71513ced">armnn::VerifyTensorInfoDataType</a>(bindingInfo.second, armnnType1);</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  inputTensors.push_back({ bindingInfo.first, <a class="code" href="classarmnn_1_1_const_tensor.html">armnn::ConstTensor</a>(bindingInfo.second, it.second.data()) });</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  }</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> </div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="comment">// Allocate storage for the output tensors to be written to and setup the armnn output tensors.</span></div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  std::map<std::string, boost::multi_array<DataType2, NumOutputDimensions>> outputStorage;</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <a class="code" href="namespacearmnn.html#a8f091a512915d1cb29a4ebf13dfc53ea">armnn::OutputTensors</a> outputTensors;</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&& it : expectedOutputData)</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  {</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <a class="code" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">armnn::LayerBindingId</a> outputBindingId = <a class="code" href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">m_Parser</a>->GetNetworkOutputBindingInfo(subgraphId, it.first).first;</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputTensorInfo = <a class="code" href="struct_parser_flatbuffers_fixture.html#aefd699eb0838261fbe9770d511f63f24">m_Runtime</a>->GetOutputTensorInfo(<a class="code" href="struct_parser_flatbuffers_fixture.html#a0b81fa34e5ca505b9880755f702fafe7">m_NetworkIdentifier</a>, outputBindingId);</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="comment">// Check that output tensors have correct number of dimensions (NumOutputDimensions specified in test)</span></div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keyword">auto</span> outputNumDimensions = outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#a157e27d41e9f6b21f0d3c025fa47dc24">GetNumDimensions</a>();</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  BOOST_CHECK_MESSAGE((outputNumDimensions == NumOutputDimensions),</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  boost::str(boost::format(<span class="stringliteral">"Number of dimensions expected %1%, but got %2% for output layer %3%"</span>)</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  % NumOutputDimensions</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  % outputNumDimensions</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  % it.first));</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <a class="code" href="namespacearmnn.html#a9667bea652e3a5ef81fea59b71513ced">armnn::VerifyTensorInfoDataType</a>(outputTensorInfo, armnnType2);</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  outputStorage.emplace(it.first, MakeTensor<DataType2, NumOutputDimensions>(outputTensorInfo));</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  outputTensors.push_back(</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  { outputBindingId, <a class="code" href="classarmnn_1_1_tensor.html">armnn::Tensor</a>(outputTensorInfo, outputStorage.at(it.first).data()) });</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  }</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#aefd699eb0838261fbe9770d511f63f24">m_Runtime</a>->EnqueueWorkload(<a class="code" href="struct_parser_flatbuffers_fixture.html#a0b81fa34e5ca505b9880755f702fafe7">m_NetworkIdentifier</a>, inputTensors, outputTensors);</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="comment">// Compare each output tensor to the expected values</span></div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&& it : expectedOutputData)</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  {</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <a class="code" href="namespacearmnn.html#a280670a263dc4fd40491f6d0a2737f44">armnn::BindingPointInfo</a> bindingInfo = <a class="code" href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">m_Parser</a>->GetNetworkOutputBindingInfo(subgraphId, it.first);</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keyword">auto</span> outputExpected = MakeTensor<DataType2, NumOutputDimensions>(bindingInfo.second, it.second);</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  BOOST_TEST(<a class="code" href="_tensor_helpers_8hpp.html#a0b8fbb443d2cf34a41f6aaae934e3dcb">CompareTensors</a>(outputExpected, outputStorage[it.first]));</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  }</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span> }</div><div class="ttc" id="classarmnn_1_1_const_tensor_html"><div class="ttname"><a href="classarmnn_1_1_const_tensor.html">armnn::ConstTensor</a></div><div class="ttdoc">A tensor defined by a TensorInfo (shape and data type) and an immutable backing store. </div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00199">Tensor.hpp:199</a></div></div> |
| 477 | <div class="ttc" id="namespacearmnn_html_a8f091a512915d1cb29a4ebf13dfc53ea"><div class="ttname"><a href="namespacearmnn.html#a8f091a512915d1cb29a4ebf13dfc53ea">armnn::OutputTensors</a></div><div class="ttdeci">std::vector< std::pair< LayerBindingId, class Tensor > > OutputTensors</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00226">Tensor.hpp:226</a></div></div> |
| 478 | <div class="ttc" id="classarmnn_1_1_tensor_info_html_a157e27d41e9f6b21f0d3c025fa47dc24"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a157e27d41e9f6b21f0d3c025fa47dc24">armnn::TensorInfo::GetNumDimensions</a></div><div class="ttdeci">unsigned int GetNumDimensions() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00092">Tensor.hpp:92</a></div></div> |
| 479 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_ad30eda63c4e66a0e2e3f538a2181f4ac"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">ParserFlatbuffersFixture::m_Parser</a></div><div class="ttdeci">ITfLiteParserPtr m_Parser</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00052">ParserFlatbuffersFixture.hpp:52</a></div></div> |
| 480 | <div class="ttc" id="namespacearmnn_html_a9667bea652e3a5ef81fea59b71513ced"><div class="ttname"><a href="namespacearmnn.html#a9667bea652e3a5ef81fea59b71513ced">armnn::VerifyTensorInfoDataType</a></div><div class="ttdeci">void VerifyTensorInfoDataType(const armnn::TensorInfo &info, armnn::DataType dataType)</div><div class="ttdef"><b>Definition:</b> <a href="_types_utils_8hpp_source.html#l00292">TypesUtils.hpp:292</a></div></div> |
| 481 | <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> |
| 482 | <div class="ttc" id="namespacearmnn_html_a280670a263dc4fd40491f6d0a2737f44"><div class="ttname"><a href="namespacearmnn.html#a280670a263dc4fd40491f6d0a2737f44">armnn::BindingPointInfo</a></div><div class="ttdeci">std::pair< armnn::LayerBindingId, armnn::TensorInfo > BindingPointInfo</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00146">Tensor.hpp:146</a></div></div> |
| 483 | <div class="ttc" id="namespacearmnn_html_a0743ed5e860c316a20b68ca96301b411"><div class="ttname"><a href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a></div><div class="ttdeci">typename ResolveTypeImpl< DT >::Type ResolveType</div><div class="ttdef"><b>Definition:</b> <a href="_resolve_type_8hpp_source.html#l00066">ResolveType.hpp:66</a></div></div> |
| 484 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_aefd699eb0838261fbe9770d511f63f24"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#aefd699eb0838261fbe9770d511f63f24">ParserFlatbuffersFixture::m_Runtime</a></div><div class="ttdeci">armnn::IRuntimePtr m_Runtime</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00053">ParserFlatbuffersFixture.hpp:53</a></div></div> |
| 485 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_a0b81fa34e5ca505b9880755f702fafe7"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#a0b81fa34e5ca505b9880755f702fafe7">ParserFlatbuffersFixture::m_NetworkIdentifier</a></div><div class="ttdeci">armnn::NetworkId m_NetworkIdentifier</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00054">ParserFlatbuffersFixture.hpp:54</a></div></div> |
| 486 | <div class="ttc" id="classarmnn_1_1_tensor_html"><div class="ttname"><a href="classarmnn_1_1_tensor.html">armnn::Tensor</a></div><div class="ttdoc">A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. </div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00191">Tensor.hpp:191</a></div></div> |
| 487 | <div class="ttc" id="namespacearmnn_html_aa01bce88f89975a5a031db4cc8861527"><div class="ttname"><a href="namespacearmnn.html#aa01bce88f89975a5a031db4cc8861527">armnn::InputTensors</a></div><div class="ttdeci">std::vector< std::pair< LayerBindingId, class ConstTensor > > InputTensors</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00225">Tensor.hpp:225</a></div></div> |
| 488 | <div class="ttc" id="_tensor_helpers_8hpp_html_a0b8fbb443d2cf34a41f6aaae934e3dcb"><div class="ttname"><a href="_tensor_helpers_8hpp.html#a0b8fbb443d2cf34a41f6aaae934e3dcb">CompareTensors</a></div><div class="ttdeci">boost::test_tools::predicate_result CompareTensors(const boost::multi_array< T, n > &a, const boost::multi_array< T, n > &b, bool compareBoolean=false)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_helpers_8hpp_source.html#l00075">TensorHelpers.hpp:75</a></div></div> |
| 489 | <div class="ttc" id="namespacearmnn_html_ab8cf8f9fb6792e654c2d8d8382f6f01b"><div class="ttname"><a href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">armnn::LayerBindingId</a></div><div class="ttdeci">int LayerBindingId</div><div class="ttdoc">Type of identifiers for bindable layers (inputs, outputs). </div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00168">Types.hpp:168</a></div></div> |
| 490 | </div><!-- fragment --> |
| 491 | </div> |
| 492 | </div> |
| 493 | <a id="a603fc6ee4530690774de844a399dbc06"></a> |
| 494 | <h2 class="memtitle"><span class="permalink"><a href="#a603fc6ee4530690774de844a399dbc06">◆ </a></span>RunTest() <span class="overload">[4/4]</span></h2> |
| 495 | |
| 496 | <div class="memitem"> |
| 497 | <div class="memproto"> |
| 498 | <table class="memname"> |
| 499 | <tr> |
| 500 | <td class="memname">void RunTest </td> |
| 501 | <td>(</td> |
| 502 | <td class="paramtype">std::size_t </td> |
| 503 | <td class="paramname"><em>subgraphId</em>, </td> |
| 504 | </tr> |
| 505 | <tr> |
| 506 | <td class="paramkey"></td> |
| 507 | <td></td> |
| 508 | <td class="paramtype">const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< armnnType1 >>> & </td> |
| 509 | <td class="paramname"><em>inputData</em>, </td> |
| 510 | </tr> |
| 511 | <tr> |
| 512 | <td class="paramkey"></td> |
| 513 | <td></td> |
| 514 | <td class="paramtype">const std::map< std::string, std::vector< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< armnnType2 >>> & </td> |
| 515 | <td class="paramname"><em>expectedOutputData</em> </td> |
| 516 | </tr> |
| 517 | <tr> |
| 518 | <td></td> |
| 519 | <td>)</td> |
| 520 | <td></td><td></td> |
| 521 | </tr> |
| 522 | </table> |
| 523 | </div><div class="memdoc"> |
| 524 | <p>Multiple Inputs, Multiple Outputs w/ Variable Datatypes and different dimension sizes. Executes the network with the given input tensors and checks the results against the given output tensors. This overload supports multiple inputs and multiple outputs, identified by name along with the allowance for the input datatype to be different to the output</p> |
| 525 | <p>Multiple Inputs, Multiple Outputs w/ Variable Datatypes and different dimension sizes. Executes the network with the given input tensors and checks the results against the given output tensors. This overload supports multiple inputs and multiple outputs, identified by name along with the allowance for the input datatype to be different to the output. </p> |
| 526 | |
| 527 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00304">304</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 528 | |
| 529 | <p class="reference">References <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00054">m_NetworkIdentifier</a>, <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00052">m_Parser</a>, <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00053">m_Runtime</a>, and <a class="el" href="_types_utils_8hpp_source.html#l00292">armnn::VerifyTensorInfoDataType()</a>.</p> |
| 530 | <div class="fragment"><div class="line"><a name="l00307"></a><span class="lineno"> 307</span> {</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="keyword">using</span> DataType2 = <a class="code" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType<armnnType2></a>;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span> </div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="comment">// Setup the armnn input tensors from the given vectors.</span></div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <a class="code" href="namespacearmnn.html#aa01bce88f89975a5a031db4cc8861527">armnn::InputTensors</a> inputTensors;</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&& it : inputData)</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  {</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <a class="code" href="namespacearmnn.html#a280670a263dc4fd40491f6d0a2737f44">armnn::BindingPointInfo</a> bindingInfo = <a class="code" href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">m_Parser</a>->GetNetworkInputBindingInfo(subgraphId, it.first);</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <a class="code" href="namespacearmnn.html#a9667bea652e3a5ef81fea59b71513ced">armnn::VerifyTensorInfoDataType</a>(bindingInfo.second, armnnType1);</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span> </div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  inputTensors.push_back({ bindingInfo.first, <a class="code" href="classarmnn_1_1_const_tensor.html">armnn::ConstTensor</a>(bindingInfo.second, it.second.data()) });</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  }</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <a class="code" href="namespacearmnn.html#a8f091a512915d1cb29a4ebf13dfc53ea">armnn::OutputTensors</a> outputTensors;</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  outputTensors.reserve(expectedOutputData.size());</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  std::map<std::string, std::vector<DataType2>> outputStorage;</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&& it : expectedOutputData)</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  {</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <a class="code" href="namespacearmnn.html#a280670a263dc4fd40491f6d0a2737f44">armnn::BindingPointInfo</a> bindingInfo = <a class="code" href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">m_Parser</a>->GetNetworkOutputBindingInfo(subgraphId, it.first);</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <a class="code" href="namespacearmnn.html#a9667bea652e3a5ef81fea59b71513ced">armnn::VerifyTensorInfoDataType</a>(bindingInfo.second, armnnType2);</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  std::vector<DataType2> out(it.second.size());</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  outputStorage.emplace(it.first, out);</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  outputTensors.push_back({ bindingInfo.first,</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <a class="code" href="classarmnn_1_1_tensor.html">armnn::Tensor</a>(bindingInfo.second,</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  outputStorage.at(it.first).data()) });</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  }</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> </div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#aefd699eb0838261fbe9770d511f63f24">m_Runtime</a>->EnqueueWorkload(<a class="code" href="struct_parser_flatbuffers_fixture.html#a0b81fa34e5ca505b9880755f702fafe7">m_NetworkIdentifier</a>, inputTensors, outputTensors);</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <span class="comment">// Checks the results.</span></div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&& it : expectedOutputData)</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  {</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  std::vector<armnn::ResolveType<armnnType2>> out = outputStorage.at(it.first);</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  {</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < out.size(); ++i)</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  {</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  BOOST_TEST(it.second[i] == out[i], boost::test_tools::tolerance(0.000001f));</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  }</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  }</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  }</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span> }</div><div class="ttc" id="classarmnn_1_1_const_tensor_html"><div class="ttname"><a href="classarmnn_1_1_const_tensor.html">armnn::ConstTensor</a></div><div class="ttdoc">A tensor defined by a TensorInfo (shape and data type) and an immutable backing store. </div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00199">Tensor.hpp:199</a></div></div> |
| 531 | <div class="ttc" id="namespacearmnn_html_a8f091a512915d1cb29a4ebf13dfc53ea"><div class="ttname"><a href="namespacearmnn.html#a8f091a512915d1cb29a4ebf13dfc53ea">armnn::OutputTensors</a></div><div class="ttdeci">std::vector< std::pair< LayerBindingId, class Tensor > > OutputTensors</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00226">Tensor.hpp:226</a></div></div> |
| 532 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_ad30eda63c4e66a0e2e3f538a2181f4ac"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">ParserFlatbuffersFixture::m_Parser</a></div><div class="ttdeci">ITfLiteParserPtr m_Parser</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00052">ParserFlatbuffersFixture.hpp:52</a></div></div> |
| 533 | <div class="ttc" id="namespacearmnn_html_a9667bea652e3a5ef81fea59b71513ced"><div class="ttname"><a href="namespacearmnn.html#a9667bea652e3a5ef81fea59b71513ced">armnn::VerifyTensorInfoDataType</a></div><div class="ttdeci">void VerifyTensorInfoDataType(const armnn::TensorInfo &info, armnn::DataType dataType)</div><div class="ttdef"><b>Definition:</b> <a href="_types_utils_8hpp_source.html#l00292">TypesUtils.hpp:292</a></div></div> |
| 534 | <div class="ttc" id="namespacearmnn_html_a280670a263dc4fd40491f6d0a2737f44"><div class="ttname"><a href="namespacearmnn.html#a280670a263dc4fd40491f6d0a2737f44">armnn::BindingPointInfo</a></div><div class="ttdeci">std::pair< armnn::LayerBindingId, armnn::TensorInfo > BindingPointInfo</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00146">Tensor.hpp:146</a></div></div> |
| 535 | <div class="ttc" id="namespacearmnn_html_a0743ed5e860c316a20b68ca96301b411"><div class="ttname"><a href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a></div><div class="ttdeci">typename ResolveTypeImpl< DT >::Type ResolveType</div><div class="ttdef"><b>Definition:</b> <a href="_resolve_type_8hpp_source.html#l00066">ResolveType.hpp:66</a></div></div> |
| 536 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_aefd699eb0838261fbe9770d511f63f24"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#aefd699eb0838261fbe9770d511f63f24">ParserFlatbuffersFixture::m_Runtime</a></div><div class="ttdeci">armnn::IRuntimePtr m_Runtime</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00053">ParserFlatbuffersFixture.hpp:53</a></div></div> |
| 537 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_a0b81fa34e5ca505b9880755f702fafe7"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#a0b81fa34e5ca505b9880755f702fafe7">ParserFlatbuffersFixture::m_NetworkIdentifier</a></div><div class="ttdeci">armnn::NetworkId m_NetworkIdentifier</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00054">ParserFlatbuffersFixture.hpp:54</a></div></div> |
| 538 | <div class="ttc" id="classarmnn_1_1_tensor_html"><div class="ttname"><a href="classarmnn_1_1_tensor.html">armnn::Tensor</a></div><div class="ttdoc">A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. </div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00191">Tensor.hpp:191</a></div></div> |
| 539 | <div class="ttc" id="namespacearmnn_html_aa01bce88f89975a5a031db4cc8861527"><div class="ttname"><a href="namespacearmnn.html#aa01bce88f89975a5a031db4cc8861527">armnn::InputTensors</a></div><div class="ttdeci">std::vector< std::pair< LayerBindingId, class ConstTensor > > InputTensors</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00225">Tensor.hpp:225</a></div></div> |
| 540 | </div><!-- fragment --> |
| 541 | </div> |
| 542 | </div> |
| 543 | <a id="a769404f2985a027a0d626fedfd4de1e9"></a> |
| 544 | <h2 class="memtitle"><span class="permalink"><a href="#a769404f2985a027a0d626fedfd4de1e9">◆ </a></span>Setup()</h2> |
| 545 | |
| 546 | <div class="memitem"> |
| 547 | <div class="memproto"> |
| 548 | <table class="mlabels"> |
| 549 | <tr> |
| 550 | <td class="mlabels-left"> |
| 551 | <table class="memname"> |
| 552 | <tr> |
| 553 | <td class="memname">void Setup </td> |
| 554 | <td>(</td> |
| 555 | <td class="paramname"></td><td>)</td> |
| 556 | <td></td> |
| 557 | </tr> |
| 558 | </table> |
| 559 | </td> |
| 560 | <td class="mlabels-right"> |
| 561 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 562 | </tr> |
| 563 | </table> |
| 564 | </div><div class="memdoc"> |
| 565 | |
| 566 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00061">61</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 567 | |
| 568 | <p class="reference">References <a class="el" href="namespacearmnn.html#ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64">armnn::CpuRef</a>, <a class="el" href="_network_8cpp_source.html#l00807">armnn::Optimize()</a>, <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00102">ReadStringToBinary()</a>, and <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">armnn::Success</a>.</p> |
| 569 | |
| 570 | <p class="reference">Referenced by <a class="el" href="_input_output_tensor_names_8cpp_source.html#l00024">BOOST_FIXTURE_TEST_CASE()</a>, and <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00094">SetupSingleInputSingleOutput()</a>.</p> |
| 571 | <div class="fragment"><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordtype">bool</span> ok = <a class="code" href="struct_parser_flatbuffers_fixture.html#a69fc8e7f42386fa67732cb8c98d8b024">ReadStringToBinary</a>();</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">if</span> (!ok) {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_exception.html">armnn::Exception</a>(<span class="stringliteral">"LoadNetwork failed while reading binary input"</span>);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  }</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="namespacearmnn.html#ace74f6f9feb95a964a49d79458232703">armnn::INetworkPtr</a> network =</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">m_Parser</a>->CreateNetworkFromBinary(<a class="code" href="struct_parser_flatbuffers_fixture.html#a9fbc789fd0aca759cb40737fdeb8ed63">m_GraphBinary</a>);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">if</span> (!network) {</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_exception.html">armnn::Exception</a>(<span class="stringliteral">"The parser failed to create an ArmNN network"</span>);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  }</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">auto</span> optimized = <a class="code" href="namespacearmnn.html#a82e98ef05fd67036d1195ba17174d685">Optimize</a>(*network, { <a class="code" href="namespacearmnn.html#ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64">armnn::Compute::CpuRef</a> },</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#aefd699eb0838261fbe9770d511f63f24">m_Runtime</a>->GetDeviceSpec());</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  std::string errorMessage;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a> ret = <a class="code" href="struct_parser_flatbuffers_fixture.html#aefd699eb0838261fbe9770d511f63f24">m_Runtime</a>->LoadNetwork(<a class="code" href="struct_parser_flatbuffers_fixture.html#a0b81fa34e5ca505b9880755f702fafe7">m_NetworkIdentifier</a>, move(optimized), errorMessage);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">if</span> (ret != <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">armnn::Status::Success</a>)</div><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="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_exception.html">armnn::Exception</a>(</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  boost::str(</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  boost::format(<span class="stringliteral">"The runtime failed to load the network. "</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="stringliteral">"Error was: %1%. in %2% [%3%:%4%]"</span>) %</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  errorMessage %</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  __func__ %</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  __FILE__ %</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  __LINE__));</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  }</div><div class="ttc" id="namespacearmnn_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00026">Types.hpp:26</a></div></div> |
| 572 | <div class="ttc" id="namespacearmnn_html_a82e98ef05fd67036d1195ba17174d685"><div class="ttname"><a href="namespacearmnn.html#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="ttdef"><b>Definition:</b> <a href="_network_8cpp_source.html#l00807">Network.cpp:807</a></div></div> |
| 573 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_ad30eda63c4e66a0e2e3f538a2181f4ac"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#ad30eda63c4e66a0e2e3f538a2181f4ac">ParserFlatbuffersFixture::m_Parser</a></div><div class="ttdeci">ITfLiteParserPtr m_Parser</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00052">ParserFlatbuffersFixture.hpp:52</a></div></div> |
| 574 | <div class="ttc" id="namespacearmnn_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38"><div class="ttname"><a href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">armnn::Status::Success</a></div></div> |
| 575 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_aefd699eb0838261fbe9770d511f63f24"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#aefd699eb0838261fbe9770d511f63f24">ParserFlatbuffersFixture::m_Runtime</a></div><div class="ttdeci">armnn::IRuntimePtr m_Runtime</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00053">ParserFlatbuffersFixture.hpp:53</a></div></div> |
| 576 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_a0b81fa34e5ca505b9880755f702fafe7"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#a0b81fa34e5ca505b9880755f702fafe7">ParserFlatbuffersFixture::m_NetworkIdentifier</a></div><div class="ttdeci">armnn::NetworkId m_NetworkIdentifier</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00054">ParserFlatbuffersFixture.hpp:54</a></div></div> |
| 577 | <div class="ttc" id="classarmnn_1_1_exception_html"><div class="ttname"><a href="classarmnn_1_1_exception.html">armnn::Exception</a></div><div class="ttdoc">Base class for all ArmNN exceptions so that users can filter to just those. </div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00046">Exceptions.hpp:46</a></div></div> |
| 578 | <div class="ttc" id="namespacearmnn_html_ace74f6f9feb95a964a49d79458232703"><div class="ttname"><a href="namespacearmnn.html#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.html#l00085">INetwork.hpp:85</a></div></div> |
| 579 | <div class="ttc" id="namespacearmnn_html_ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64"><div class="ttname"><a href="namespacearmnn.html#ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64">armnn::Compute::CpuRef</a></div><div class="ttdoc">CPU Execution: Reference C++ kernels. </div></div> |
| 580 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_a69fc8e7f42386fa67732cb8c98d8b024"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#a69fc8e7f42386fa67732cb8c98d8b024">ParserFlatbuffersFixture::ReadStringToBinary</a></div><div class="ttdeci">bool ReadStringToBinary()</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00102">ParserFlatbuffersFixture.hpp:102</a></div></div> |
| 581 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_a9fbc789fd0aca759cb40737fdeb8ed63"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#a9fbc789fd0aca759cb40737fdeb8ed63">ParserFlatbuffersFixture::m_GraphBinary</a></div><div class="ttdeci">std::vector< uint8_t > m_GraphBinary</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00050">ParserFlatbuffersFixture.hpp:50</a></div></div> |
| 582 | </div><!-- fragment --> |
| 583 | </div> |
| 584 | </div> |
| 585 | <a id="a2bb4ea256fbbf6d53068ca93bb4bc95c"></a> |
| 586 | <h2 class="memtitle"><span class="permalink"><a href="#a2bb4ea256fbbf6d53068ca93bb4bc95c">◆ </a></span>SetupSingleInputSingleOutput()</h2> |
| 587 | |
| 588 | <div class="memitem"> |
| 589 | <div class="memproto"> |
| 590 | <table class="mlabels"> |
| 591 | <tr> |
| 592 | <td class="mlabels-left"> |
| 593 | <table class="memname"> |
| 594 | <tr> |
| 595 | <td class="memname">void SetupSingleInputSingleOutput </td> |
| 596 | <td>(</td> |
| 597 | <td class="paramtype">const std::string & </td> |
| 598 | <td class="paramname"><em>inputName</em>, </td> |
| 599 | </tr> |
| 600 | <tr> |
| 601 | <td class="paramkey"></td> |
| 602 | <td></td> |
| 603 | <td class="paramtype">const std::string & </td> |
| 604 | <td class="paramname"><em>outputName</em> </td> |
| 605 | </tr> |
| 606 | <tr> |
| 607 | <td></td> |
| 608 | <td>)</td> |
| 609 | <td></td><td></td> |
| 610 | </tr> |
| 611 | </table> |
| 612 | </td> |
| 613 | <td class="mlabels-right"> |
| 614 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 615 | </tr> |
| 616 | </table> |
| 617 | </div><div class="memdoc"> |
| 618 | |
| 619 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00094">94</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 620 | |
| 621 | <p class="reference">References <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00061">Setup()</a>.</p> |
| 622 | <div class="fragment"><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  {</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// Store the input and output name so they don't need to be passed to the single-input-single-output RunTest().</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#a2f8365158b7c75e43897fbe804b7fc4f">m_SingleInputName</a> = inputName;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#add32b4d209a5b5d6ea6db94b9894ad75">m_SingleOutputName</a> = outputName;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="struct_parser_flatbuffers_fixture.html#a769404f2985a027a0d626fedfd4de1e9">Setup</a>();</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  }</div><div class="ttc" id="struct_parser_flatbuffers_fixture_html_a2f8365158b7c75e43897fbe804b7fc4f"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#a2f8365158b7c75e43897fbe804b7fc4f">ParserFlatbuffersFixture::m_SingleInputName</a></div><div class="ttdeci">std::string m_SingleInputName</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00058">ParserFlatbuffersFixture.hpp:58</a></div></div> |
| 623 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_add32b4d209a5b5d6ea6db94b9894ad75"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#add32b4d209a5b5d6ea6db94b9894ad75">ParserFlatbuffersFixture::m_SingleOutputName</a></div><div class="ttdeci">std::string m_SingleOutputName</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00059">ParserFlatbuffersFixture.hpp:59</a></div></div> |
| 624 | <div class="ttc" id="struct_parser_flatbuffers_fixture_html_a769404f2985a027a0d626fedfd4de1e9"><div class="ttname"><a href="struct_parser_flatbuffers_fixture.html#a769404f2985a027a0d626fedfd4de1e9">ParserFlatbuffersFixture::Setup</a></div><div class="ttdeci">void Setup()</div><div class="ttdef"><b>Definition:</b> <a href="_parser_flatbuffers_fixture_8hpp_source.html#l00061">ParserFlatbuffersFixture.hpp:61</a></div></div> |
| 625 | </div><!-- fragment --> |
| 626 | </div> |
| 627 | </div> |
| 628 | <h2 class="groupheader">Member Data Documentation</h2> |
| 629 | <a id="a9fbc789fd0aca759cb40737fdeb8ed63"></a> |
| 630 | <h2 class="memtitle"><span class="permalink"><a href="#a9fbc789fd0aca759cb40737fdeb8ed63">◆ </a></span>m_GraphBinary</h2> |
| 631 | |
| 632 | <div class="memitem"> |
| 633 | <div class="memproto"> |
| 634 | <table class="memname"> |
| 635 | <tr> |
| 636 | <td class="memname">std::vector<uint8_t> m_GraphBinary</td> |
| 637 | </tr> |
| 638 | </table> |
| 639 | </div><div class="memdoc"> |
| 640 | |
| 641 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00050">50</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 642 | |
| 643 | </div> |
| 644 | </div> |
| 645 | <a id="a803c86dca3acef653c1cc481a27be7a9"></a> |
| 646 | <h2 class="memtitle"><span class="permalink"><a href="#a803c86dca3acef653c1cc481a27be7a9">◆ </a></span>m_JsonString</h2> |
| 647 | |
| 648 | <div class="memitem"> |
| 649 | <div class="memproto"> |
| 650 | <table class="memname"> |
| 651 | <tr> |
| 652 | <td class="memname">std::string m_JsonString</td> |
| 653 | </tr> |
| 654 | </table> |
| 655 | </div><div class="memdoc"> |
| 656 | |
| 657 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00051">51</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 658 | |
| 659 | </div> |
| 660 | </div> |
| 661 | <a id="a0b81fa34e5ca505b9880755f702fafe7"></a> |
| 662 | <h2 class="memtitle"><span class="permalink"><a href="#a0b81fa34e5ca505b9880755f702fafe7">◆ </a></span>m_NetworkIdentifier</h2> |
| 663 | |
| 664 | <div class="memitem"> |
| 665 | <div class="memproto"> |
| 666 | <table class="memname"> |
| 667 | <tr> |
| 668 | <td class="memname"><a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">armnn::NetworkId</a> m_NetworkIdentifier</td> |
| 669 | </tr> |
| 670 | </table> |
| 671 | </div><div class="memdoc"> |
| 672 | |
| 673 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00054">54</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 674 | |
| 675 | <p class="reference">Referenced by <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00250">RunTest()</a>.</p> |
| 676 | |
| 677 | </div> |
| 678 | </div> |
| 679 | <a id="ad30eda63c4e66a0e2e3f538a2181f4ac"></a> |
| 680 | <h2 class="memtitle"><span class="permalink"><a href="#ad30eda63c4e66a0e2e3f538a2181f4ac">◆ </a></span>m_Parser</h2> |
| 681 | |
| 682 | <div class="memitem"> |
| 683 | <div class="memproto"> |
| 684 | <table class="memname"> |
| 685 | <tr> |
| 686 | <td class="memname">ITfLiteParserPtr m_Parser</td> |
| 687 | </tr> |
| 688 | </table> |
| 689 | </div><div class="memdoc"> |
| 690 | |
| 691 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00052">52</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 692 | |
| 693 | <p class="reference">Referenced by <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00039">ParserFlatbuffersFixture()</a>, and <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00250">RunTest()</a>.</p> |
| 694 | |
| 695 | </div> |
| 696 | </div> |
| 697 | <a id="aefd699eb0838261fbe9770d511f63f24"></a> |
| 698 | <h2 class="memtitle"><span class="permalink"><a href="#aefd699eb0838261fbe9770d511f63f24">◆ </a></span>m_Runtime</h2> |
| 699 | |
| 700 | <div class="memitem"> |
| 701 | <div class="memproto"> |
| 702 | <table class="memname"> |
| 703 | <tr> |
| 704 | <td class="memname"><a class="el" href="namespacearmnn.html#a150468a02bd7b2d2d061c4aaaee939f0">armnn::IRuntimePtr</a> m_Runtime</td> |
| 705 | </tr> |
| 706 | </table> |
| 707 | </div><div class="memdoc"> |
| 708 | |
| 709 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00053">53</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 710 | |
| 711 | <p class="reference">Referenced by <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00250">RunTest()</a>.</p> |
| 712 | |
| 713 | </div> |
| 714 | </div> |
| 715 | <a id="a2f8365158b7c75e43897fbe804b7fc4f"></a> |
| 716 | <h2 class="memtitle"><span class="permalink"><a href="#a2f8365158b7c75e43897fbe804b7fc4f">◆ </a></span>m_SingleInputName</h2> |
| 717 | |
| 718 | <div class="memitem"> |
| 719 | <div class="memproto"> |
| 720 | <table class="memname"> |
| 721 | <tr> |
| 722 | <td class="memname">std::string m_SingleInputName</td> |
| 723 | </tr> |
| 724 | </table> |
| 725 | </div><div class="memdoc"> |
| 726 | <p>If the single-input-single-output overload of <a class="el" href="struct_parser_flatbuffers_fixture.html#a769404f2985a027a0d626fedfd4de1e9">Setup()</a> is called, these will store the input and output name so they don't need to be passed to the single-input-single-output overload of <a class="el" href="struct_parser_flatbuffers_fixture.html#ad7406d5673bc2a8bc1efbdd4f4da140a">RunTest()</a>. </p> |
| 727 | |
| 728 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00058">58</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 729 | |
| 730 | <p class="reference">Referenced by <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00222">RunTest()</a>.</p> |
| 731 | |
| 732 | </div> |
| 733 | </div> |
| 734 | <a id="add32b4d209a5b5d6ea6db94b9894ad75"></a> |
| 735 | <h2 class="memtitle"><span class="permalink"><a href="#add32b4d209a5b5d6ea6db94b9894ad75">◆ </a></span>m_SingleOutputName</h2> |
| 736 | |
| 737 | <div class="memitem"> |
| 738 | <div class="memproto"> |
| 739 | <table class="memname"> |
| 740 | <tr> |
| 741 | <td class="memname">std::string m_SingleOutputName</td> |
| 742 | </tr> |
| 743 | </table> |
| 744 | </div><div class="memdoc"> |
| 745 | |
| 746 | <p class="definition">Definition at line <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00059">59</a> of file <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a>.</p> |
| 747 | |
| 748 | <p class="reference">Referenced by <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html#l00222">RunTest()</a>.</p> |
| 749 | |
| 750 | </div> |
| 751 | </div> |
| 752 | <hr/>The documentation for this struct was generated from the following file:<ul> |
| 753 | <li>src/armnnTfLiteParser/test/<a class="el" href="_parser_flatbuffers_fixture_8hpp_source.html">ParserFlatbuffersFixture.hpp</a></li> |
| 754 | </ul> |
| 755 | </div><!-- contents --> |
| 756 | </div><!-- doc-content --> |
| 757 | <!-- start footer part --> |
| 758 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 759 | <ul> |
| 760 | <li class="navelem"><a class="el" href="struct_parser_flatbuffers_fixture.html">ParserFlatbuffersFixture</a></li> |
| 761 | <li class="footer">Generated on Fri Mar 13 2020 16:07:01 for ArmNN by |
| 762 | <a href="http://www.doxygen.org/index.html"> |
| 763 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 764 | </ul> |
| 765 | </div> |
| 766 | </body> |
| 767 | </html> |