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: IInferenceTestCaseProvider Class 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('classarmnn_1_1test_1_1_i_inference_test_case_provider.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="classarmnn_1_1test_1_1_i_inference_test_case_provider-members.html">List of all members</a> </div> |
| 86 | <div class="headertitle"> |
| 87 | <div class="title">IInferenceTestCaseProvider Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> |
| 88 | </div><!--header--> |
| 89 | <div class="contents"> |
| 90 | |
| 91 | <p><code>#include <<a class="el" href="_inference_test_8hpp_source.html">InferenceTest.hpp</a>></code></p> |
| 92 | <div class="dynheader"> |
| 93 | Inheritance diagram for IInferenceTestCaseProvider:</div> |
| 94 | <div class="dyncontent"> |
| 95 | <div class="center"> |
| 96 | <img src="classarmnn_1_1test_1_1_i_inference_test_case_provider.png" usemap="#IInferenceTestCaseProvider_map" alt=""/> |
| 97 | <map id="IInferenceTestCaseProvider_map" name="IInferenceTestCaseProvider_map"> |
| 98 | <area href="classarmnn_1_1test_1_1_classifier_test_case_provider.html" alt="ClassifierTestCaseProvider< TDatabase, InferenceModel >" shape="rect" coords="0,56,348,80"/> |
| 99 | <area href="class_yolo_test_case_provider.html" alt="YoloTestCaseProvider< Model >" shape="rect" coords="358,56,706,80"/> |
| 100 | </map> |
| 101 | </div></div> |
| 102 | <table class="memberdecls"> |
| 103 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 104 | Public Member Functions</h2></td></tr> |
| 105 | <tr class="memitem:a63e4bc6c42594357e52b06e386b48d30"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case_provider.html#a63e4bc6c42594357e52b06e386b48d30">~IInferenceTestCaseProvider</a> ()</td></tr> |
| 106 | <tr class="separator:a63e4bc6c42594357e52b06e386b48d30"><td class="memSeparator" colspan="2"> </td></tr> |
| 107 | <tr class="memitem:a27a71d8461ce2165add6978c34a625f1"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case_provider.html#a27a71d8461ce2165add6978c34a625f1">AddCommandLineOptions</a> (boost::program_options::options_description &<a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>)</td></tr> |
| 108 | <tr class="separator:a27a71d8461ce2165add6978c34a625f1"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | <tr class="memitem:a0b5cdedc222fce2b18000949f0699880"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case_provider.html#a0b5cdedc222fce2b18000949f0699880">ProcessCommandLineOptions</a> (const <a class="el" href="structarmnn_1_1test_1_1_inference_test_options.html">InferenceTestOptions</a> &commonOptions)</td></tr> |
| 110 | <tr class="separator:a0b5cdedc222fce2b18000949f0699880"><td class="memSeparator" colspan="2"> </td></tr> |
| 111 | <tr class="memitem:a04734602cd9aa5125174458128b3b418"><td class="memItemLeft" align="right" valign="top">virtual std::unique_ptr< <a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case.html">IInferenceTestCase</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case_provider.html#a04734602cd9aa5125174458128b3b418">GetTestCase</a> (unsigned int testCaseId)=0</td></tr> |
| 112 | <tr class="separator:a04734602cd9aa5125174458128b3b418"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:a88bbd5a851f1148bf5a90db7779be261"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case_provider.html#a88bbd5a851f1148bf5a90db7779be261">OnInferenceTestFinished</a> ()</td></tr> |
| 114 | <tr class="separator:a88bbd5a851f1148bf5a90db7779be261"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | </table> |
| 116 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 117 | <div class="textblock"> |
| 118 | <p class="definition">Definition at line <a class="el" href="_inference_test_8hpp_source.html#l00089">89</a> of file <a class="el" href="_inference_test_8hpp_source.html">InferenceTest.hpp</a>.</p> |
| 119 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 120 | <a id="a63e4bc6c42594357e52b06e386b48d30"></a> |
| 121 | <h2 class="memtitle"><span class="permalink"><a href="#a63e4bc6c42594357e52b06e386b48d30">◆ </a></span>~IInferenceTestCaseProvider()</h2> |
| 122 | |
| 123 | <div class="memitem"> |
| 124 | <div class="memproto"> |
| 125 | <table class="mlabels"> |
| 126 | <tr> |
| 127 | <td class="mlabels-left"> |
| 128 | <table class="memname"> |
| 129 | <tr> |
| 130 | <td class="memname">virtual ~<a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case_provider.html">IInferenceTestCaseProvider</a> </td> |
| 131 | <td>(</td> |
| 132 | <td class="paramname"></td><td>)</td> |
| 133 | <td></td> |
| 134 | </tr> |
| 135 | </table> |
| 136 | </td> |
| 137 | <td class="mlabels-right"> |
| 138 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> |
| 139 | </tr> |
| 140 | </table> |
| 141 | </div><div class="memdoc"> |
| 142 | |
| 143 | <p class="definition">Definition at line <a class="el" href="_inference_test_8hpp_source.html#l00092">92</a> of file <a class="el" href="_inference_test_8hpp_source.html">InferenceTest.hpp</a>.</p> |
| 144 | <div class="fragment"><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> {}</div></div><!-- fragment --> |
| 145 | </div> |
| 146 | </div> |
| 147 | <h2 class="groupheader">Member Function Documentation</h2> |
| 148 | <a id="a27a71d8461ce2165add6978c34a625f1"></a> |
| 149 | <h2 class="memtitle"><span class="permalink"><a href="#a27a71d8461ce2165add6978c34a625f1">◆ </a></span>AddCommandLineOptions()</h2> |
| 150 | |
| 151 | <div class="memitem"> |
| 152 | <div class="memproto"> |
| 153 | <table class="mlabels"> |
| 154 | <tr> |
| 155 | <td class="mlabels-left"> |
| 156 | <table class="memname"> |
| 157 | <tr> |
| 158 | <td class="memname">virtual void AddCommandLineOptions </td> |
| 159 | <td>(</td> |
| 160 | <td class="paramtype">boost::program_options::options_description & </td> |
| 161 | <td class="paramname"><em>options</em></td><td>)</td> |
| 162 | <td></td> |
| 163 | </tr> |
| 164 | </table> |
| 165 | </td> |
| 166 | <td class="mlabels-right"> |
| 167 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> |
| 168 | </tr> |
| 169 | </table> |
| 170 | </div><div class="memdoc"> |
| 171 | |
| 172 | <p>Reimplemented in <a class="el" href="class_yolo_test_case_provider.html#a0afe329e01f054a13860244e24514041">YoloTestCaseProvider< Model ></a>, and <a class="el" href="classarmnn_1_1test_1_1_classifier_test_case_provider.html#aa16e606c01629be4f9c261e5d09fa00a">ClassifierTestCaseProvider< TDatabase, InferenceModel ></a>.</p> |
| 173 | |
| 174 | <p class="definition">Definition at line <a class="el" href="_inference_test_8hpp_source.html#l00094">94</a> of file <a class="el" href="_inference_test_8hpp_source.html">InferenceTest.hpp</a>.</p> |
| 175 | |
| 176 | <p class="reference">Referenced by <a class="el" href="_inference_test_8cpp_source.html#l00031">armnn::test::ParseCommandLine()</a>.</p> |
| 177 | <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>  boost::ignore_unused(<a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>);</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  };</div><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> |
| 178 | </div><!-- fragment --> |
| 179 | </div> |
| 180 | </div> |
| 181 | <a id="a04734602cd9aa5125174458128b3b418"></a> |
| 182 | <h2 class="memtitle"><span class="permalink"><a href="#a04734602cd9aa5125174458128b3b418">◆ </a></span>GetTestCase()</h2> |
| 183 | |
| 184 | <div class="memitem"> |
| 185 | <div class="memproto"> |
| 186 | <table class="mlabels"> |
| 187 | <tr> |
| 188 | <td class="mlabels-left"> |
| 189 | <table class="memname"> |
| 190 | <tr> |
| 191 | <td class="memname">virtual std::unique_ptr<<a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case.html">IInferenceTestCase</a>> GetTestCase </td> |
| 192 | <td>(</td> |
| 193 | <td class="paramtype">unsigned int </td> |
| 194 | <td class="paramname"><em>testCaseId</em></td><td>)</td> |
| 195 | <td></td> |
| 196 | </tr> |
| 197 | </table> |
| 198 | </td> |
| 199 | <td class="mlabels-right"> |
| 200 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 201 | </tr> |
| 202 | </table> |
| 203 | </div><div class="memdoc"> |
| 204 | |
| 205 | <p>Implemented in <a class="el" href="class_yolo_test_case_provider.html#a61a75d35706bb8dd986431ae6aec3440">YoloTestCaseProvider< Model ></a>, and <a class="el" href="classarmnn_1_1test_1_1_classifier_test_case_provider.html#ab5ab4ef07d28ff282c5e3109deed810e">ClassifierTestCaseProvider< TDatabase, InferenceModel ></a>.</p> |
| 206 | |
| 207 | <p class="reference">Referenced by <a class="el" href="_inference_test_8cpp_source.html#l00120">armnn::test::InferenceTest()</a>.</p> |
| 208 | |
| 209 | </div> |
| 210 | </div> |
| 211 | <a id="a88bbd5a851f1148bf5a90db7779be261"></a> |
| 212 | <h2 class="memtitle"><span class="permalink"><a href="#a88bbd5a851f1148bf5a90db7779be261">◆ </a></span>OnInferenceTestFinished()</h2> |
| 213 | |
| 214 | <div class="memitem"> |
| 215 | <div class="memproto"> |
| 216 | <table class="mlabels"> |
| 217 | <tr> |
| 218 | <td class="mlabels-left"> |
| 219 | <table class="memname"> |
| 220 | <tr> |
| 221 | <td class="memname">virtual bool OnInferenceTestFinished </td> |
| 222 | <td>(</td> |
| 223 | <td class="paramname"></td><td>)</td> |
| 224 | <td></td> |
| 225 | </tr> |
| 226 | </table> |
| 227 | </td> |
| 228 | <td class="mlabels-right"> |
| 229 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> |
| 230 | </tr> |
| 231 | </table> |
| 232 | </div><div class="memdoc"> |
| 233 | |
| 234 | <p>Reimplemented in <a class="el" href="classarmnn_1_1test_1_1_classifier_test_case_provider.html#a57a7735851dc40abdb1328e6f97f7b0f">ClassifierTestCaseProvider< TDatabase, InferenceModel ></a>.</p> |
| 235 | |
| 236 | <p class="definition">Definition at line <a class="el" href="_inference_test_8hpp_source.html#l00104">104</a> of file <a class="el" href="_inference_test_8hpp_source.html">InferenceTest.hpp</a>.</p> |
| 237 | |
| 238 | <p class="reference">Referenced by <a class="el" href="_inference_test_8cpp_source.html#l00120">armnn::test::InferenceTest()</a>.</p> |
| 239 | <div class="fragment"><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> { <span class="keywordflow">return</span> <span class="keyword">true</span>; };</div></div><!-- fragment --> |
| 240 | </div> |
| 241 | </div> |
| 242 | <a id="a0b5cdedc222fce2b18000949f0699880"></a> |
| 243 | <h2 class="memtitle"><span class="permalink"><a href="#a0b5cdedc222fce2b18000949f0699880">◆ </a></span>ProcessCommandLineOptions()</h2> |
| 244 | |
| 245 | <div class="memitem"> |
| 246 | <div class="memproto"> |
| 247 | <table class="mlabels"> |
| 248 | <tr> |
| 249 | <td class="mlabels-left"> |
| 250 | <table class="memname"> |
| 251 | <tr> |
| 252 | <td class="memname">virtual bool ProcessCommandLineOptions </td> |
| 253 | <td>(</td> |
| 254 | <td class="paramtype">const <a class="el" href="structarmnn_1_1test_1_1_inference_test_options.html">InferenceTestOptions</a> & </td> |
| 255 | <td class="paramname"><em>commonOptions</em></td><td>)</td> |
| 256 | <td></td> |
| 257 | </tr> |
| 258 | </table> |
| 259 | </td> |
| 260 | <td class="mlabels-right"> |
| 261 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> |
| 262 | </tr> |
| 263 | </table> |
| 264 | </div><div class="memdoc"> |
| 265 | |
| 266 | <p>Reimplemented in <a class="el" href="class_yolo_test_case_provider.html#a3db0a72dcdf01942b66d4537087a931e">YoloTestCaseProvider< Model ></a>, and <a class="el" href="classarmnn_1_1test_1_1_classifier_test_case_provider.html#ad0077cdc7e406ec5e942e2a148edc077">ClassifierTestCaseProvider< TDatabase, InferenceModel ></a>.</p> |
| 267 | |
| 268 | <p class="definition">Definition at line <a class="el" href="_inference_test_8hpp_source.html#l00098">98</a> of file <a class="el" href="_inference_test_8hpp_source.html">InferenceTest.hpp</a>.</p> |
| 269 | |
| 270 | <p class="reference">Referenced by <a class="el" href="_inference_test_8cpp_source.html#l00031">armnn::test::ParseCommandLine()</a>.</p> |
| 271 | <div class="fragment"><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  {</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  boost::ignore_unused(commonOptions);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  };</div></div><!-- fragment --> |
| 272 | </div> |
| 273 | </div> |
| 274 | <hr/>The documentation for this class was generated from the following file:<ul> |
| 275 | <li>tests/<a class="el" href="_inference_test_8hpp_source.html">InferenceTest.hpp</a></li> |
| 276 | </ul> |
| 277 | </div><!-- contents --> |
| 278 | </div><!-- doc-content --> |
| 279 | <!-- start footer part --> |
| 280 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 281 | <ul> |
| 282 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="namespacearmnn_1_1test.html">test</a></li><li class="navelem"><a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case_provider.html">IInferenceTestCaseProvider</a></li> |
| 283 | <li class="footer">Generated on Fri Mar 13 2020 16:07:06 for ArmNN by |
| 284 | <a href="http://www.doxygen.org/index.html"> |
| 285 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 286 | </ul> |
| 287 | </div> |
| 288 | </body> |
| 289 | </html> |