Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 5 | <!-- HTML header for doxygen 1.8.13--> |
| 6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 8 | <head> |
| 9 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 10 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 11 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 12 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> |
| 13 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 14 | <title>ArmNN: tests/InferenceTest.hpp File Reference</title> |
| 15 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 16 | <script type="text/javascript" src="jquery.js"></script> |
| 17 | <script type="text/javascript" src="dynsections.js"></script> |
| 18 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 19 | <script type="text/javascript" src="resize.js"></script> |
| 20 | <script type="text/javascript" src="navtreedata.js"></script> |
| 21 | <script type="text/javascript" src="navtree.js"></script> |
| 22 | <script type="text/javascript"> |
| 23 | $(document).ready(initResizable); |
| 24 | </script> |
| 25 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 26 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 27 | <script type="text/javascript" src="search/search.js"></script> |
| 28 | <script type="text/x-mathjax-config"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 33 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 34 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 35 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 42 | <tr style="height: 56px;"> |
| 43 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| 44 | <td style="padding-left: 0.5em;"> |
| 45 | <div id="projectname"> |
| 46 |  <span id="projectnumber">20.02</span> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 53 | <!-- end header part --> |
| 54 | <!-- Generated by Doxygen 1.8.13 --> |
| 55 | <script type="text/javascript"> |
| 56 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('_inference_test_8hpp.xhtml','');}); |
| 80 | </script> |
| 81 | <div id="doc-content"> |
| 82 | <!-- window showing the filter options --> |
| 83 | <div id="MSearchSelectWindow" |
| 84 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 85 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 86 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 87 | </div> |
| 88 | |
| 89 | <!-- iframe showing the search results (closed by default) --> |
| 90 | <div id="MSearchResultsWindow"> |
| 91 | <iframe src="javascript:void(0)" frameborder="0" |
| 92 | name="MSearchResults" id="MSearchResults"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#nested-classes">Classes</a> | |
| 99 | <a href="#namespaces">Namespaces</a> | |
| 100 | <a href="#enum-members">Enumerations</a> | |
| 101 | <a href="#func-members">Functions</a> </div> |
| 102 | <div class="headertitle"> |
| 103 | <div class="title">InferenceTest.hpp File Reference</div> </div> |
| 104 | </div><!--header--> |
| 105 | <div class="contents"> |
| 106 | <div class="textblock"><code>#include "<a class="el" href="_inference_model_8hpp_source.xhtml">InferenceModel.hpp</a>"</code><br /> |
| 107 | <code>#include <<a class="el" href="_arm_n_n_8hpp_source.xhtml">armnn/ArmNN.hpp</a>></code><br /> |
| 108 | <code>#include <<a class="el" href="_logging_8hpp_source.xhtml">armnn/Logging.hpp</a>></code><br /> |
| 109 | <code>#include <<a class="el" href="_types_utils_8hpp_source.xhtml">armnn/TypesUtils.hpp</a>></code><br /> |
| 110 | <code>#include <<a class="el" href="_ignore_unused_8hpp_source.xhtml">armnn/utility/IgnoreUnused.hpp</a>></code><br /> |
| 111 | <code>#include <boost/program_options.hpp></code><br /> |
| 112 | <code>#include "<a class="el" href="_inference_test_8inl_source.xhtml">InferenceTest.inl</a>"</code><br /> |
| 113 | </div> |
| 114 | <p><a href="_inference_test_8hpp_source.xhtml">Go to the source code of this file.</a></p> |
| 115 | <table class="memberdecls"> |
| 116 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| 117 | Classes</h2></td></tr> |
| 118 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1test_1_1_test_framework_exception.xhtml">TestFrameworkException</a></td></tr> |
| 119 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 120 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1test_1_1_inference_test_options.xhtml">InferenceTestOptions</a></td></tr> |
| 121 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 122 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case.xhtml">IInferenceTestCase</a></td></tr> |
| 123 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case_provider.xhtml">IInferenceTestCaseProvider</a></td></tr> |
| 125 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1test_1_1_inference_model_test_case.xhtml">InferenceModelTestCase< TModel ></a></td></tr> |
| 127 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1test_1_1_classifier_test_case.xhtml">ClassifierTestCase< TTestCaseDatabase, TModel ></a></td></tr> |
| 129 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1test_1_1_classifier_test_case_provider.xhtml">ClassifierTestCaseProvider< TDatabase, InferenceModel ></a></td></tr> |
| 131 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | </table><table class="memberdecls"> |
| 133 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| 134 | Namespaces</h2></td></tr> |
| 135 | <tr class="memitem:namespacearmnn"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml">armnn</a></td></tr> |
| 136 | <tr class="memdesc:namespacearmnn"><td class="mdescLeft"> </td><td class="mdescRight">Copyright (c) 2020 ARM Limited. <br /></td></tr> |
| 137 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <tr class="memitem:namespacearmnn_1_1test"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_1_1test.xhtml">armnn::test</a></td></tr> |
| 139 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | </table><table class="memberdecls"> |
| 141 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> |
| 142 | Enumerations</h2></td></tr> |
| 143 | <tr class="memitem:a05b3d6105613d2d14099667a6b8ca67b"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_1_1test.xhtml#a05b3d6105613d2d14099667a6b8ca67b">TestCaseResult</a> { <a class="el" href="namespacearmnn_1_1test.xhtml#a05b3d6105613d2d14099667a6b8ca67baa60852f204ed8028c1c58808b746d115">Ok</a>, |
| 144 | <a class="el" href="namespacearmnn_1_1test.xhtml#a05b3d6105613d2d14099667a6b8ca67bad7c8c85bf79bbe1b7188497c32c3b0ca">Failed</a>, |
| 145 | <a class="el" href="namespacearmnn_1_1test.xhtml#a05b3d6105613d2d14099667a6b8ca67ba727b63583e01fa2b3952dab580c84dc2">Abort</a> |
| 146 | }</td></tr> |
| 147 | <tr class="separator:a05b3d6105613d2d14099667a6b8ca67b"><td class="memSeparator" colspan="2"> </td></tr> |
| 148 | </table><table class="memberdecls"> |
| 149 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 150 | Functions</h2></td></tr> |
| 151 | <tr class="memitem:a8022a6869bffa6233fec784a471c1680"><td class="memItemLeft" align="right" valign="top">std::istream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#a8022a6869bffa6233fec784a471c1680">operator>></a> (std::istream &in, <a class="el" href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456ae">armnn::Compute</a> &compute)</td></tr> |
| 152 | <tr class="separator:a8022a6869bffa6233fec784a471c1680"><td class="memSeparator" colspan="2"> </td></tr> |
| 153 | <tr class="memitem:a3c51506c471a4513dcc3364514d75f39"><td class="memItemLeft" align="right" valign="top">std::istream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#a3c51506c471a4513dcc3364514d75f39">operator>></a> (std::istream &in, <a class="el" href="classarmnn_1_1_backend_id.xhtml">armnn::BackendId</a> &backend)</td></tr> |
| 154 | <tr class="separator:a3c51506c471a4513dcc3364514d75f39"><td class="memSeparator" colspan="2"> </td></tr> |
| 155 | <tr class="memitem:ae2e622d6018bd48beabd765d4f6e5714"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_1_1test.xhtml#ae2e622d6018bd48beabd765d4f6e5714">ParseCommandLine</a> (int argc, char **argv, <a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case_provider.xhtml">IInferenceTestCaseProvider</a> &testCaseProvider, <a class="el" href="structarmnn_1_1test_1_1_inference_test_options.xhtml">InferenceTestOptions</a> &outParams)</td></tr> |
| 156 | <tr class="memdesc:ae2e622d6018bd48beabd765d4f6e5714"><td class="mdescLeft"> </td><td class="mdescRight">Parse the command line of an ArmNN (or referencetests) inference test program. <a href="namespacearmnn_1_1test.xhtml#ae2e622d6018bd48beabd765d4f6e5714">More...</a><br /></td></tr> |
| 157 | <tr class="separator:ae2e622d6018bd48beabd765d4f6e5714"><td class="memSeparator" colspan="2"> </td></tr> |
| 158 | <tr class="memitem:a8a678fb3a8864e31aeb77f857ae6fc43"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_1_1test.xhtml#a8a678fb3a8864e31aeb77f857ae6fc43">ValidateDirectory</a> (std::string &dir)</td></tr> |
| 159 | <tr class="separator:a8a678fb3a8864e31aeb77f857ae6fc43"><td class="memSeparator" colspan="2"> </td></tr> |
| 160 | <tr class="memitem:ab5a7cac4237e83d4f0d67d01dfb8ba9f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_1_1test.xhtml#ab5a7cac4237e83d4f0d67d01dfb8ba9f">InferenceTest</a> (const <a class="el" href="structarmnn_1_1test_1_1_inference_test_options.xhtml">InferenceTestOptions</a> &params, const std::vector< unsigned int > &defaultTestCaseIds, <a class="el" href="classarmnn_1_1test_1_1_i_inference_test_case_provider.xhtml">IInferenceTestCaseProvider</a> &testCaseProvider)</td></tr> |
| 161 | <tr class="separator:ab5a7cac4237e83d4f0d67d01dfb8ba9f"><td class="memSeparator" colspan="2"> </td></tr> |
| 162 | <tr class="memitem:a7ad751ee33bdcba0656fdb6e98eb17f1"><td class="memTemplParams" colspan="2">template<typename TConstructTestCaseProvider > </td></tr> |
| 163 | <tr class="memitem:a7ad751ee33bdcba0656fdb6e98eb17f1"><td class="memTemplItemLeft" align="right" valign="top">int </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearmnn_1_1test.xhtml#a7ad751ee33bdcba0656fdb6e98eb17f1">InferenceTestMain</a> (int argc, char *argv[], const std::vector< unsigned int > &defaultTestCaseIds, TConstructTestCaseProvider constructTestCaseProvider)</td></tr> |
| 164 | <tr class="separator:a7ad751ee33bdcba0656fdb6e98eb17f1"><td class="memSeparator" colspan="2"> </td></tr> |
| 165 | <tr class="memitem:a47dfae02e22fcca1b6b784873b0328d9"><td class="memTemplParams" colspan="2">template<typename TDatabase , typename TParser , typename TConstructDatabaseCallable > </td></tr> |
| 166 | <tr class="memitem:a47dfae02e22fcca1b6b784873b0328d9"><td class="memTemplItemLeft" align="right" valign="top">int </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearmnn_1_1test.xhtml#a47dfae02e22fcca1b6b784873b0328d9">ClassifierInferenceTestMain</a> (int argc, char *argv[], const char *modelFilename, bool isModelBinary, const char *inputBindingName, const char *outputBindingName, const std::vector< unsigned int > &defaultTestCaseIds, TConstructDatabaseCallable constructDatabase, const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a> *inputTensorShape=nullptr)</td></tr> |
| 167 | <tr class="separator:a47dfae02e22fcca1b6b784873b0328d9"><td class="memSeparator" colspan="2"> </td></tr> |
| 168 | </table> |
| 169 | </div><!-- contents --> |
| 170 | </div><!-- doc-content --> |
| 171 | <!-- start footer part --> |
| 172 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 173 | <ul> |
| 174 | <li class="navelem"><a class="el" href="dir_59425e443f801f1f2fd8bbe4959a3ccf.xhtml">tests</a></li><li class="navelem"><a class="el" href="_inference_test_8hpp.xhtml">InferenceTest.hpp</a></li> |
| 175 | <li class="footer">Generated on Fri Mar 13 2020 16:09:16 for ArmNN by |
| 176 | <a href="http://www.doxygen.org/index.html"> |
| 177 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 178 | </ul> |
| 179 | </div> |
| 180 | </body> |
| 181 | </html> |