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: CommandLineProcessor 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_quantizer_1_1_command_line_processor.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="#pro-attribs">Protected Attributes</a> | |
| 86 | <a href="classarmnn_quantizer_1_1_command_line_processor-members.html">List of all members</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">CommandLineProcessor Class Reference</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | |
| 92 | <p><code>#include <<a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>></code></p> |
| 93 | <table class="memberdecls"> |
| 94 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 95 | Public Member Functions</h2></td></tr> |
| 96 | <tr class="memitem:a2f7e28f477647e992871d50e7b793221"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a2f7e28f477647e992871d50e7b793221">ProcessCommandLine</a> (int argc, char *argv[])</td></tr> |
| 97 | <tr class="separator:a2f7e28f477647e992871d50e7b793221"><td class="memSeparator" colspan="2"> </td></tr> |
| 98 | <tr class="memitem:a71f5ab806743bf42f0556299af110015"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a71f5ab806743bf42f0556299af110015">GetInputFileName</a> ()</td></tr> |
| 99 | <tr class="separator:a71f5ab806743bf42f0556299af110015"><td class="memSeparator" colspan="2"> </td></tr> |
| 100 | <tr class="memitem:a2e9f3f315ce159881394511e49b827b2"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a2e9f3f315ce159881394511e49b827b2">GetCsvFileName</a> ()</td></tr> |
| 101 | <tr class="separator:a2e9f3f315ce159881394511e49b827b2"><td class="memSeparator" colspan="2"> </td></tr> |
| 102 | <tr class="memitem:aa33615da82b80ab2e379d7b2069e3644"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#aa33615da82b80ab2e379d7b2069e3644">GetCsvFileDirectory</a> ()</td></tr> |
| 103 | <tr class="separator:aa33615da82b80ab2e379d7b2069e3644"><td class="memSeparator" colspan="2"> </td></tr> |
| 104 | <tr class="memitem:a4358b78a2efe952366bc32b0d54e663e"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a4358b78a2efe952366bc32b0d54e663e">GetOutputDirectoryName</a> ()</td></tr> |
| 105 | <tr class="separator:a4358b78a2efe952366bc32b0d54e663e"><td class="memSeparator" colspan="2"> </td></tr> |
| 106 | <tr class="memitem:a98ba4e2ee687673cbf7546788c8ea099"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a98ba4e2ee687673cbf7546788c8ea099">GetOutputFileName</a> ()</td></tr> |
| 107 | <tr class="separator:a98ba4e2ee687673cbf7546788c8ea099"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | <tr class="memitem:a65f6aca5479ebf0814123ff8f1a528e3"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a65f6aca5479ebf0814123ff8f1a528e3">GetQuantizationScheme</a> ()</td></tr> |
| 109 | <tr class="separator:a65f6aca5479ebf0814123ff8f1a528e3"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | <tr class="memitem:ab15c4ff152f368723ed71c2bb5a89be9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_quantizer_1_1_quantization_data_set.html">QuantizationDataSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#ab15c4ff152f368723ed71c2bb5a89be9">GetQuantizationDataSet</a> ()</td></tr> |
| 111 | <tr class="separator:ab15c4ff152f368723ed71c2bb5a89be9"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:af84a4d480d3705770b752645816f1cfb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#af84a4d480d3705770b752645816f1cfb">HasPreservedDataType</a> ()</td></tr> |
| 113 | <tr class="separator:af84a4d480d3705770b752645816f1cfb"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | <tr class="memitem:a1bb287242ae5ec2837a77f083c27a2ac"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a1bb287242ae5ec2837a77f083c27a2ac">HasQuantizationData</a> ()</td></tr> |
| 115 | <tr class="separator:a1bb287242ae5ec2837a77f083c27a2ac"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | </table><table class="memberdecls"> |
| 117 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> |
| 118 | Protected Attributes</h2></td></tr> |
| 119 | <tr class="memitem:a7d1dcf01fee1566cbab614e2fbd3aebd"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a7d1dcf01fee1566cbab614e2fbd3aebd">m_InputFileName</a></td></tr> |
| 120 | <tr class="separator:a7d1dcf01fee1566cbab614e2fbd3aebd"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:a63a5c903eaabd717af1512ab5125af8d"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a63a5c903eaabd717af1512ab5125af8d">m_CsvFileName</a></td></tr> |
| 122 | <tr class="separator:a63a5c903eaabd717af1512ab5125af8d"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a7baaa17e2c06d703583ba8da8b53b43c"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a7baaa17e2c06d703583ba8da8b53b43c">m_CsvFileDirectory</a></td></tr> |
| 124 | <tr class="separator:a7baaa17e2c06d703583ba8da8b53b43c"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:aa64986ca8573f32773a8ab4d13c4984d"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#aa64986ca8573f32773a8ab4d13c4984d">m_OutputDirectory</a></td></tr> |
| 126 | <tr class="separator:aa64986ca8573f32773a8ab4d13c4984d"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:adf3d6dfc2019b8ce0c84e3eea7ae845e"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#adf3d6dfc2019b8ce0c84e3eea7ae845e">m_OutputFileName</a></td></tr> |
| 128 | <tr class="separator:adf3d6dfc2019b8ce0c84e3eea7ae845e"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:a39b10d2bffdb22af36545d10bf205c26"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a39b10d2bffdb22af36545d10bf205c26">m_QuantizationScheme</a></td></tr> |
| 130 | <tr class="separator:a39b10d2bffdb22af36545d10bf205c26"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:ab8c73d68c76881021059a2a06526d0fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_quantizer_1_1_quantization_data_set.html">QuantizationDataSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#ab8c73d68c76881021059a2a06526d0fa">m_QuantizationDataSet</a></td></tr> |
| 132 | <tr class="separator:ab8c73d68c76881021059a2a06526d0fa"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:a8c679cfea9ed505165ba3fd5564f433c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html#a8c679cfea9ed505165ba3fd5564f433c">m_PreserveDataType</a></td></tr> |
| 134 | <tr class="separator:a8c679cfea9ed505165ba3fd5564f433c"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | </table> |
| 136 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 137 | <div class="textblock"> |
| 138 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00025">25</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 139 | </div><h2 class="groupheader">Member Function Documentation</h2> |
| 140 | <a id="aa33615da82b80ab2e379d7b2069e3644"></a> |
| 141 | <h2 class="memtitle"><span class="permalink"><a href="#aa33615da82b80ab2e379d7b2069e3644">◆ </a></span>GetCsvFileDirectory()</h2> |
| 142 | |
| 143 | <div class="memitem"> |
| 144 | <div class="memproto"> |
| 145 | <table class="mlabels"> |
| 146 | <tr> |
| 147 | <td class="mlabels-left"> |
| 148 | <table class="memname"> |
| 149 | <tr> |
| 150 | <td class="memname">std::string GetCsvFileDirectory </td> |
| 151 | <td>(</td> |
| 152 | <td class="paramname"></td><td>)</td> |
| 153 | <td></td> |
| 154 | </tr> |
| 155 | </table> |
| 156 | </td> |
| 157 | <td class="mlabels-right"> |
| 158 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 159 | </tr> |
| 160 | </table> |
| 161 | </div><div class="memdoc"> |
| 162 | |
| 163 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00032">32</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 164 | |
| 165 | <p class="reference">References <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00043">CommandLineProcessor::m_CsvFileDirectory</a>.</p> |
| 166 | <div class="fragment"><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {<span class="keywordflow">return</span> <a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a7baaa17e2c06d703583ba8da8b53b43c">m_CsvFileDirectory</a>;}</div><div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_a7baaa17e2c06d703583ba8da8b53b43c"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#a7baaa17e2c06d703583ba8da8b53b43c">armnnQuantizer::CommandLineProcessor::m_CsvFileDirectory</a></div><div class="ttdeci">std::string m_CsvFileDirectory</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00043">CommandLineProcessor.hpp:43</a></div></div> |
| 167 | </div><!-- fragment --> |
| 168 | </div> |
| 169 | </div> |
| 170 | <a id="a2e9f3f315ce159881394511e49b827b2"></a> |
| 171 | <h2 class="memtitle"><span class="permalink"><a href="#a2e9f3f315ce159881394511e49b827b2">◆ </a></span>GetCsvFileName()</h2> |
| 172 | |
| 173 | <div class="memitem"> |
| 174 | <div class="memproto"> |
| 175 | <table class="mlabels"> |
| 176 | <tr> |
| 177 | <td class="mlabels-left"> |
| 178 | <table class="memname"> |
| 179 | <tr> |
| 180 | <td class="memname">std::string GetCsvFileName </td> |
| 181 | <td>(</td> |
| 182 | <td class="paramname"></td><td>)</td> |
| 183 | <td></td> |
| 184 | </tr> |
| 185 | </table> |
| 186 | </td> |
| 187 | <td class="mlabels-right"> |
| 188 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 189 | </tr> |
| 190 | </table> |
| 191 | </div><div class="memdoc"> |
| 192 | |
| 193 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00031">31</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 194 | |
| 195 | <p class="reference">References <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00042">CommandLineProcessor::m_CsvFileName</a>.</p> |
| 196 | <div class="fragment"><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> {<span class="keywordflow">return</span> <a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a63a5c903eaabd717af1512ab5125af8d">m_CsvFileName</a>;}</div><div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_a63a5c903eaabd717af1512ab5125af8d"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#a63a5c903eaabd717af1512ab5125af8d">armnnQuantizer::CommandLineProcessor::m_CsvFileName</a></div><div class="ttdeci">std::string m_CsvFileName</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00042">CommandLineProcessor.hpp:42</a></div></div> |
| 197 | </div><!-- fragment --> |
| 198 | </div> |
| 199 | </div> |
| 200 | <a id="a71f5ab806743bf42f0556299af110015"></a> |
| 201 | <h2 class="memtitle"><span class="permalink"><a href="#a71f5ab806743bf42f0556299af110015">◆ </a></span>GetInputFileName()</h2> |
| 202 | |
| 203 | <div class="memitem"> |
| 204 | <div class="memproto"> |
| 205 | <table class="mlabels"> |
| 206 | <tr> |
| 207 | <td class="mlabels-left"> |
| 208 | <table class="memname"> |
| 209 | <tr> |
| 210 | <td class="memname">std::string GetInputFileName </td> |
| 211 | <td>(</td> |
| 212 | <td class="paramname"></td><td>)</td> |
| 213 | <td></td> |
| 214 | </tr> |
| 215 | </table> |
| 216 | </td> |
| 217 | <td class="mlabels-right"> |
| 218 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 219 | </tr> |
| 220 | </table> |
| 221 | </div><div class="memdoc"> |
| 222 | |
| 223 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00030">30</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 224 | |
| 225 | <p class="reference">References <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00041">CommandLineProcessor::m_InputFileName</a>.</p> |
| 226 | |
| 227 | <p class="reference">Referenced by <a class="el" href="_arm_n_n_quantizer_main_8cpp_source.html#l00017">main()</a>.</p> |
| 228 | <div class="fragment"><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {<span class="keywordflow">return</span> <a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a7d1dcf01fee1566cbab614e2fbd3aebd">m_InputFileName</a>;}</div><div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_a7d1dcf01fee1566cbab614e2fbd3aebd"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#a7d1dcf01fee1566cbab614e2fbd3aebd">armnnQuantizer::CommandLineProcessor::m_InputFileName</a></div><div class="ttdeci">std::string m_InputFileName</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00041">CommandLineProcessor.hpp:41</a></div></div> |
| 229 | </div><!-- fragment --> |
| 230 | </div> |
| 231 | </div> |
| 232 | <a id="a4358b78a2efe952366bc32b0d54e663e"></a> |
| 233 | <h2 class="memtitle"><span class="permalink"><a href="#a4358b78a2efe952366bc32b0d54e663e">◆ </a></span>GetOutputDirectoryName()</h2> |
| 234 | |
| 235 | <div class="memitem"> |
| 236 | <div class="memproto"> |
| 237 | <table class="mlabels"> |
| 238 | <tr> |
| 239 | <td class="mlabels-left"> |
| 240 | <table class="memname"> |
| 241 | <tr> |
| 242 | <td class="memname">std::string GetOutputDirectoryName </td> |
| 243 | <td>(</td> |
| 244 | <td class="paramname"></td><td>)</td> |
| 245 | <td></td> |
| 246 | </tr> |
| 247 | </table> |
| 248 | </td> |
| 249 | <td class="mlabels-right"> |
| 250 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 251 | </tr> |
| 252 | </table> |
| 253 | </div><div class="memdoc"> |
| 254 | |
| 255 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00033">33</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 256 | |
| 257 | <p class="reference">References <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00044">CommandLineProcessor::m_OutputDirectory</a>.</p> |
| 258 | |
| 259 | <p class="reference">Referenced by <a class="el" href="_arm_n_n_quantizer_main_8cpp_source.html#l00017">main()</a>.</p> |
| 260 | <div class="fragment"><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {<span class="keywordflow">return</span> <a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#aa64986ca8573f32773a8ab4d13c4984d">m_OutputDirectory</a>;}</div><div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_aa64986ca8573f32773a8ab4d13c4984d"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#aa64986ca8573f32773a8ab4d13c4984d">armnnQuantizer::CommandLineProcessor::m_OutputDirectory</a></div><div class="ttdeci">std::string m_OutputDirectory</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00044">CommandLineProcessor.hpp:44</a></div></div> |
| 261 | </div><!-- fragment --> |
| 262 | </div> |
| 263 | </div> |
| 264 | <a id="a98ba4e2ee687673cbf7546788c8ea099"></a> |
| 265 | <h2 class="memtitle"><span class="permalink"><a href="#a98ba4e2ee687673cbf7546788c8ea099">◆ </a></span>GetOutputFileName()</h2> |
| 266 | |
| 267 | <div class="memitem"> |
| 268 | <div class="memproto"> |
| 269 | <table class="mlabels"> |
| 270 | <tr> |
| 271 | <td class="mlabels-left"> |
| 272 | <table class="memname"> |
| 273 | <tr> |
| 274 | <td class="memname">std::string GetOutputFileName </td> |
| 275 | <td>(</td> |
| 276 | <td class="paramname"></td><td>)</td> |
| 277 | <td></td> |
| 278 | </tr> |
| 279 | </table> |
| 280 | </td> |
| 281 | <td class="mlabels-right"> |
| 282 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 283 | </tr> |
| 284 | </table> |
| 285 | </div><div class="memdoc"> |
| 286 | |
| 287 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00034">34</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 288 | |
| 289 | <p class="reference">References <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00045">CommandLineProcessor::m_OutputFileName</a>.</p> |
| 290 | |
| 291 | <p class="reference">Referenced by <a class="el" href="_arm_n_n_quantizer_main_8cpp_source.html#l00017">main()</a>.</p> |
| 292 | <div class="fragment"><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> {<span class="keywordflow">return</span> <a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#adf3d6dfc2019b8ce0c84e3eea7ae845e">m_OutputFileName</a>;}</div><div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_adf3d6dfc2019b8ce0c84e3eea7ae845e"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#adf3d6dfc2019b8ce0c84e3eea7ae845e">armnnQuantizer::CommandLineProcessor::m_OutputFileName</a></div><div class="ttdeci">std::string m_OutputFileName</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00045">CommandLineProcessor.hpp:45</a></div></div> |
| 293 | </div><!-- fragment --> |
| 294 | </div> |
| 295 | </div> |
| 296 | <a id="ab15c4ff152f368723ed71c2bb5a89be9"></a> |
| 297 | <h2 class="memtitle"><span class="permalink"><a href="#ab15c4ff152f368723ed71c2bb5a89be9">◆ </a></span>GetQuantizationDataSet()</h2> |
| 298 | |
| 299 | <div class="memitem"> |
| 300 | <div class="memproto"> |
| 301 | <table class="mlabels"> |
| 302 | <tr> |
| 303 | <td class="mlabels-left"> |
| 304 | <table class="memname"> |
| 305 | <tr> |
| 306 | <td class="memname"><a class="el" href="classarmnn_quantizer_1_1_quantization_data_set.html">QuantizationDataSet</a> GetQuantizationDataSet </td> |
| 307 | <td>(</td> |
| 308 | <td class="paramname"></td><td>)</td> |
| 309 | <td></td> |
| 310 | </tr> |
| 311 | </table> |
| 312 | </td> |
| 313 | <td class="mlabels-right"> |
| 314 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 315 | </tr> |
| 316 | </table> |
| 317 | </div><div class="memdoc"> |
| 318 | |
| 319 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00036">36</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 320 | |
| 321 | <p class="reference">References <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00047">CommandLineProcessor::m_QuantizationDataSet</a>.</p> |
| 322 | |
| 323 | <p class="reference">Referenced by <a class="el" href="_arm_n_n_quantizer_main_8cpp_source.html#l00017">main()</a>.</p> |
| 324 | <div class="fragment"><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {<span class="keywordflow">return</span> <a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#ab8c73d68c76881021059a2a06526d0fa">m_QuantizationDataSet</a>;}</div><div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_ab8c73d68c76881021059a2a06526d0fa"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#ab8c73d68c76881021059a2a06526d0fa">armnnQuantizer::CommandLineProcessor::m_QuantizationDataSet</a></div><div class="ttdeci">QuantizationDataSet m_QuantizationDataSet</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00047">CommandLineProcessor.hpp:47</a></div></div> |
| 325 | </div><!-- fragment --> |
| 326 | </div> |
| 327 | </div> |
| 328 | <a id="a65f6aca5479ebf0814123ff8f1a528e3"></a> |
| 329 | <h2 class="memtitle"><span class="permalink"><a href="#a65f6aca5479ebf0814123ff8f1a528e3">◆ </a></span>GetQuantizationScheme()</h2> |
| 330 | |
| 331 | <div class="memitem"> |
| 332 | <div class="memproto"> |
| 333 | <table class="mlabels"> |
| 334 | <tr> |
| 335 | <td class="mlabels-left"> |
| 336 | <table class="memname"> |
| 337 | <tr> |
| 338 | <td class="memname">std::string GetQuantizationScheme </td> |
| 339 | <td>(</td> |
| 340 | <td class="paramname"></td><td>)</td> |
| 341 | <td></td> |
| 342 | </tr> |
| 343 | </table> |
| 344 | </td> |
| 345 | <td class="mlabels-right"> |
| 346 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 347 | </tr> |
| 348 | </table> |
| 349 | </div><div class="memdoc"> |
| 350 | |
| 351 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00035">35</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 352 | |
| 353 | <p class="reference">References <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00046">CommandLineProcessor::m_QuantizationScheme</a>.</p> |
| 354 | |
| 355 | <p class="reference">Referenced by <a class="el" href="_arm_n_n_quantizer_main_8cpp_source.html#l00017">main()</a>.</p> |
| 356 | <div class="fragment"><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {<span class="keywordflow">return</span> <a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a39b10d2bffdb22af36545d10bf205c26">m_QuantizationScheme</a>;}</div><div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_a39b10d2bffdb22af36545d10bf205c26"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#a39b10d2bffdb22af36545d10bf205c26">armnnQuantizer::CommandLineProcessor::m_QuantizationScheme</a></div><div class="ttdeci">std::string m_QuantizationScheme</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00046">CommandLineProcessor.hpp:46</a></div></div> |
| 357 | </div><!-- fragment --> |
| 358 | </div> |
| 359 | </div> |
| 360 | <a id="af84a4d480d3705770b752645816f1cfb"></a> |
| 361 | <h2 class="memtitle"><span class="permalink"><a href="#af84a4d480d3705770b752645816f1cfb">◆ </a></span>HasPreservedDataType()</h2> |
| 362 | |
| 363 | <div class="memitem"> |
| 364 | <div class="memproto"> |
| 365 | <table class="mlabels"> |
| 366 | <tr> |
| 367 | <td class="mlabels-left"> |
| 368 | <table class="memname"> |
| 369 | <tr> |
| 370 | <td class="memname">bool HasPreservedDataType </td> |
| 371 | <td>(</td> |
| 372 | <td class="paramname"></td><td>)</td> |
| 373 | <td></td> |
| 374 | </tr> |
| 375 | </table> |
| 376 | </td> |
| 377 | <td class="mlabels-right"> |
| 378 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 379 | </tr> |
| 380 | </table> |
| 381 | </div><div class="memdoc"> |
| 382 | |
| 383 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00037">37</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 384 | |
| 385 | <p class="reference">References <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00048">CommandLineProcessor::m_PreserveDataType</a>.</p> |
| 386 | |
| 387 | <p class="reference">Referenced by <a class="el" href="_arm_n_n_quantizer_main_8cpp_source.html#l00017">main()</a>.</p> |
| 388 | <div class="fragment"><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> {<span class="keywordflow">return</span> <a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a8c679cfea9ed505165ba3fd5564f433c">m_PreserveDataType</a>;}</div><div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_a8c679cfea9ed505165ba3fd5564f433c"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#a8c679cfea9ed505165ba3fd5564f433c">armnnQuantizer::CommandLineProcessor::m_PreserveDataType</a></div><div class="ttdeci">bool m_PreserveDataType</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00048">CommandLineProcessor.hpp:48</a></div></div> |
| 389 | </div><!-- fragment --> |
| 390 | </div> |
| 391 | </div> |
| 392 | <a id="a1bb287242ae5ec2837a77f083c27a2ac"></a> |
| 393 | <h2 class="memtitle"><span class="permalink"><a href="#a1bb287242ae5ec2837a77f083c27a2ac">◆ </a></span>HasQuantizationData()</h2> |
| 394 | |
| 395 | <div class="memitem"> |
| 396 | <div class="memproto"> |
| 397 | <table class="mlabels"> |
| 398 | <tr> |
| 399 | <td class="mlabels-left"> |
| 400 | <table class="memname"> |
| 401 | <tr> |
| 402 | <td class="memname">bool HasQuantizationData </td> |
| 403 | <td>(</td> |
| 404 | <td class="paramname"></td><td>)</td> |
| 405 | <td></td> |
| 406 | </tr> |
| 407 | </table> |
| 408 | </td> |
| 409 | <td class="mlabels-right"> |
| 410 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 411 | </tr> |
| 412 | </table> |
| 413 | </div><div class="memdoc"> |
| 414 | |
| 415 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00038">38</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 416 | |
| 417 | <p class="reference">References <a class="el" href="_quantization_data_set_8hpp_source.html#l00029">QuantizationDataSet::IsEmpty()</a>, and <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00047">CommandLineProcessor::m_QuantizationDataSet</a>.</p> |
| 418 | |
| 419 | <p class="reference">Referenced by <a class="el" href="_arm_n_n_quantizer_main_8cpp_source.html#l00017">main()</a>.</p> |
| 420 | <div class="fragment"><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {<span class="keywordflow">return</span> !<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#ab8c73d68c76881021059a2a06526d0fa">m_QuantizationDataSet</a>.<a class="code" href="classarmnn_quantizer_1_1_quantization_data_set.html#a8e12342fc420701fbffd97025421575a">IsEmpty</a>();}</div><div class="ttc" id="classarmnn_quantizer_1_1_quantization_data_set_html_a8e12342fc420701fbffd97025421575a"><div class="ttname"><a href="classarmnn_quantizer_1_1_quantization_data_set.html#a8e12342fc420701fbffd97025421575a">armnnQuantizer::QuantizationDataSet::IsEmpty</a></div><div class="ttdeci">bool IsEmpty() const</div><div class="ttdef"><b>Definition:</b> <a href="_quantization_data_set_8hpp_source.html#l00029">QuantizationDataSet.hpp:29</a></div></div> |
| 421 | <div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_ab8c73d68c76881021059a2a06526d0fa"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#ab8c73d68c76881021059a2a06526d0fa">armnnQuantizer::CommandLineProcessor::m_QuantizationDataSet</a></div><div class="ttdeci">QuantizationDataSet m_QuantizationDataSet</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00047">CommandLineProcessor.hpp:47</a></div></div> |
| 422 | </div><!-- fragment --> |
| 423 | </div> |
| 424 | </div> |
| 425 | <a id="a2f7e28f477647e992871d50e7b793221"></a> |
| 426 | <h2 class="memtitle"><span class="permalink"><a href="#a2f7e28f477647e992871d50e7b793221">◆ </a></span>ProcessCommandLine()</h2> |
| 427 | |
| 428 | <div class="memitem"> |
| 429 | <div class="memproto"> |
| 430 | <table class="memname"> |
| 431 | <tr> |
| 432 | <td class="memname">bool ProcessCommandLine </td> |
| 433 | <td>(</td> |
| 434 | <td class="paramtype">int </td> |
| 435 | <td class="paramname"><em>argc</em>, </td> |
| 436 | </tr> |
| 437 | <tr> |
| 438 | <td class="paramkey"></td> |
| 439 | <td></td> |
| 440 | <td class="paramtype">char * </td> |
| 441 | <td class="paramname"><em>argv</em>[] </td> |
| 442 | </tr> |
| 443 | <tr> |
| 444 | <td></td> |
| 445 | <td>)</td> |
| 446 | <td></td><td></td> |
| 447 | </tr> |
| 448 | </table> |
| 449 | </div><div class="memdoc"> |
| 450 | |
| 451 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00085">85</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html">CommandLineProcessor.cpp</a>.</p> |
| 452 | |
| 453 | <p class="reference">References <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00043">CommandLineProcessor::m_CsvFileDirectory</a>, <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00042">CommandLineProcessor::m_CsvFileName</a>, <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00041">CommandLineProcessor::m_InputFileName</a>, <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00044">CommandLineProcessor::m_OutputDirectory</a>, <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00045">CommandLineProcessor::m_OutputFileName</a>, <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00048">CommandLineProcessor::m_PreserveDataType</a>, <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00047">CommandLineProcessor::m_QuantizationDataSet</a>, <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00046">CommandLineProcessor::m_QuantizationScheme</a>, <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00017">armnnQuantizer::ValidateOutputDirectory()</a>, <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00045">armnnQuantizer::ValidateProvidedFile()</a>, and <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00062">armnnQuantizer::ValidateQuantizationScheme()</a>.</p> |
| 454 | |
| 455 | <p class="reference">Referenced by <a class="el" href="_arm_n_n_quantizer_main_8cpp_source.html#l00017">main()</a>.</p> |
| 456 | <div class="fragment"><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">namespace </span>po = boost::program_options;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  po::options_description desc(<span class="stringliteral">"Options"</span>);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">try</span></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>  desc.add_options()</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  (<span class="stringliteral">"help,h"</span>, <span class="stringliteral">"Display help messages"</span>)</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  (<span class="stringliteral">"infile,f"</span>, po::value<std::string>(&<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a7d1dcf01fee1566cbab614e2fbd3aebd">m_InputFileName</a>)->required(),</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="stringliteral">"Input file containing float 32 ArmNN Input Graph"</span>)</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  (<span class="stringliteral">"scheme,s"</span>, po::value<std::string>(&<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a39b10d2bffdb22af36545d10bf205c26">m_QuantizationScheme</a>)->default_value(<span class="stringliteral">"QAsymm8"</span>),</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="stringliteral">"Quantization scheme, \"QAsymm8\" or \"QSymm16\", default value QAsymm8"</span>)</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  (<span class="stringliteral">"csvfile,c"</span>, po::value<std::string>(&<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a63a5c903eaabd717af1512ab5125af8d">m_CsvFileName</a>)->default_value(<span class="stringliteral">""</span>),</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="stringliteral">"CSV file containing paths for RAW input tensors"</span>)</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  (<span class="stringliteral">"preserve-data-type,p"</span>, po::bool_switch(&<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a8c679cfea9ed505165ba3fd5564f433c">m_PreserveDataType</a>)->default_value(<span class="keyword">false</span>),</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="stringliteral">"Preserve the input and output data types"</span>)</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  (<span class="stringliteral">"outdir,d"</span>, po::value<std::string>(&<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#aa64986ca8573f32773a8ab4d13c4984d">m_OutputDirectory</a>)->required(),</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="stringliteral">"Directory that output file will be written to"</span>)</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  (<span class="stringliteral">"outfile,o"</span>, po::value<std::string>(&<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#adf3d6dfc2019b8ce0c84e3eea7ae845e">m_OutputFileName</a>)->required(), <span class="stringliteral">"ArmNN output file name"</span>);</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="keywordflow">catch</span> (<span class="keyword">const</span> std::exception& e)</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  {</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  std::cerr << <span class="stringliteral">"Fatal internal error: ["</span> << e.what() << <span class="stringliteral">"]"</span> << std::endl;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</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>  po::variables_map vm;</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">try</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  {</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  po::store(po::parse_command_line(argc, argv, desc), vm);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">if</span> (vm.count(<span class="stringliteral">"help"</span>) || argc <= 1)</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>  std::cout << <span class="stringliteral">"Convert a Fp32 ArmNN model to a quantized ArmNN model."</span> << std::endl;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  std::cout << std::endl;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  std::cout << desc << std::endl;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</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> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  po::notify(vm);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  }</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">catch</span> (<span class="keyword">const</span> po::error& e)</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  {</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  std::cerr << e.what() << std::endl << std::endl;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  std::cerr << desc << std::endl;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  }</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">if</span> (!<a class="code" href="namespacearmnn_quantizer.html#aeff6c00ca10f0433e12ddf17f59425f8">armnnQuantizer::ValidateProvidedFile</a>(<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a7d1dcf01fee1566cbab614e2fbd3aebd">m_InputFileName</a>))</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  {</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  }</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">if</span> (!<a class="code" href="namespacearmnn_quantizer.html#a23b67d4cd304c7bde724f50135d90769">ValidateQuantizationScheme</a>(<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a39b10d2bffdb22af36545d10bf205c26">m_QuantizationScheme</a>))</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  }</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a63a5c903eaabd717af1512ab5125af8d">m_CsvFileName</a> != <span class="stringliteral">""</span>)</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  {</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">if</span> (!<a class="code" href="namespacearmnn_quantizer.html#aeff6c00ca10f0433e12ddf17f59425f8">armnnQuantizer::ValidateProvidedFile</a>(<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a63a5c903eaabd717af1512ab5125af8d">m_CsvFileName</a>))</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  {</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  }</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  {</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  boost::filesystem::path csvFilePath(<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a63a5c903eaabd717af1512ab5125af8d">m_CsvFileName</a>);</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a7baaa17e2c06d703583ba8da8b53b43c">m_CsvFileDirectory</a> = csvFilePath.parent_path().c_str();</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  }</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="comment">// If CSV file is defined, create a QuantizationDataSet for specified CSV file.</span></div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#ab8c73d68c76881021059a2a06526d0fa">m_QuantizationDataSet</a> = QuantizationDataSet(<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#a63a5c903eaabd717af1512ab5125af8d">m_CsvFileName</a>);</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  }</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">if</span> (!<a class="code" href="namespacearmnn_quantizer.html#af3f2172356efe007c3be8ffcf3d38fb4">armnnQuantizer::ValidateOutputDirectory</a>(<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#aa64986ca8573f32773a8ab4d13c4984d">m_OutputDirectory</a>))</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  {</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  }</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  std::string output(<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#aa64986ca8573f32773a8ab4d13c4984d">m_OutputDirectory</a>);</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  output.append(<a class="code" href="classarmnn_quantizer_1_1_command_line_processor.html#adf3d6dfc2019b8ce0c84e3eea7ae845e">m_OutputFileName</a>);</div><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>  <span class="keywordflow">if</span> (boost::filesystem::exists(output))</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  {</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  std::cerr << <span class="stringliteral">"Output file ["</span> << output << <span class="stringliteral">"] already exists"</span> << std::endl;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  }</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> }</div><div class="ttc" id="namespacearmnn_quantizer_html_a23b67d4cd304c7bde724f50135d90769"><div class="ttname"><a href="namespacearmnn_quantizer.html#a23b67d4cd304c7bde724f50135d90769">armnnQuantizer::ValidateQuantizationScheme</a></div><div class="ttdeci">bool ValidateQuantizationScheme(const std::string &scheme)</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00062">CommandLineProcessor.cpp:62</a></div></div> |
| 457 | <div class="ttc" id="namespacearmnn_quantizer_html_aeff6c00ca10f0433e12ddf17f59425f8"><div class="ttname"><a href="namespacearmnn_quantizer.html#aeff6c00ca10f0433e12ddf17f59425f8">armnnQuantizer::ValidateProvidedFile</a></div><div class="ttdeci">bool ValidateProvidedFile(const std::string &inputFileName)</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00045">CommandLineProcessor.cpp:45</a></div></div> |
| 458 | <div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_a7d1dcf01fee1566cbab614e2fbd3aebd"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#a7d1dcf01fee1566cbab614e2fbd3aebd">armnnQuantizer::CommandLineProcessor::m_InputFileName</a></div><div class="ttdeci">std::string m_InputFileName</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00041">CommandLineProcessor.hpp:41</a></div></div> |
| 459 | <div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_a8c679cfea9ed505165ba3fd5564f433c"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#a8c679cfea9ed505165ba3fd5564f433c">armnnQuantizer::CommandLineProcessor::m_PreserveDataType</a></div><div class="ttdeci">bool m_PreserveDataType</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00048">CommandLineProcessor.hpp:48</a></div></div> |
| 460 | <div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_a39b10d2bffdb22af36545d10bf205c26"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#a39b10d2bffdb22af36545d10bf205c26">armnnQuantizer::CommandLineProcessor::m_QuantizationScheme</a></div><div class="ttdeci">std::string m_QuantizationScheme</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00046">CommandLineProcessor.hpp:46</a></div></div> |
| 461 | <div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_a7baaa17e2c06d703583ba8da8b53b43c"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#a7baaa17e2c06d703583ba8da8b53b43c">armnnQuantizer::CommandLineProcessor::m_CsvFileDirectory</a></div><div class="ttdeci">std::string m_CsvFileDirectory</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00043">CommandLineProcessor.hpp:43</a></div></div> |
| 462 | <div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_adf3d6dfc2019b8ce0c84e3eea7ae845e"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#adf3d6dfc2019b8ce0c84e3eea7ae845e">armnnQuantizer::CommandLineProcessor::m_OutputFileName</a></div><div class="ttdeci">std::string m_OutputFileName</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00045">CommandLineProcessor.hpp:45</a></div></div> |
| 463 | <div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_aa64986ca8573f32773a8ab4d13c4984d"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#aa64986ca8573f32773a8ab4d13c4984d">armnnQuantizer::CommandLineProcessor::m_OutputDirectory</a></div><div class="ttdeci">std::string m_OutputDirectory</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00044">CommandLineProcessor.hpp:44</a></div></div> |
| 464 | <div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_a63a5c903eaabd717af1512ab5125af8d"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#a63a5c903eaabd717af1512ab5125af8d">armnnQuantizer::CommandLineProcessor::m_CsvFileName</a></div><div class="ttdeci">std::string m_CsvFileName</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00042">CommandLineProcessor.hpp:42</a></div></div> |
| 465 | <div class="ttc" id="namespacearmnn_quantizer_html_af3f2172356efe007c3be8ffcf3d38fb4"><div class="ttname"><a href="namespacearmnn_quantizer.html#af3f2172356efe007c3be8ffcf3d38fb4">armnnQuantizer::ValidateOutputDirectory</a></div><div class="ttdeci">bool ValidateOutputDirectory(std::string &dir)</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00017">CommandLineProcessor.cpp:17</a></div></div> |
| 466 | <div class="ttc" id="classarmnn_quantizer_1_1_command_line_processor_html_ab8c73d68c76881021059a2a06526d0fa"><div class="ttname"><a href="classarmnn_quantizer_1_1_command_line_processor.html#ab8c73d68c76881021059a2a06526d0fa">armnnQuantizer::CommandLineProcessor::m_QuantizationDataSet</a></div><div class="ttdeci">QuantizationDataSet m_QuantizationDataSet</div><div class="ttdef"><b>Definition:</b> <a href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00047">CommandLineProcessor.hpp:47</a></div></div> |
| 467 | </div><!-- fragment --> |
| 468 | </div> |
| 469 | </div> |
| 470 | <h2 class="groupheader">Member Data Documentation</h2> |
| 471 | <a id="a7baaa17e2c06d703583ba8da8b53b43c"></a> |
| 472 | <h2 class="memtitle"><span class="permalink"><a href="#a7baaa17e2c06d703583ba8da8b53b43c">◆ </a></span>m_CsvFileDirectory</h2> |
| 473 | |
| 474 | <div class="memitem"> |
| 475 | <div class="memproto"> |
| 476 | <table class="mlabels"> |
| 477 | <tr> |
| 478 | <td class="mlabels-left"> |
| 479 | <table class="memname"> |
| 480 | <tr> |
| 481 | <td class="memname">std::string m_CsvFileDirectory</td> |
| 482 | </tr> |
| 483 | </table> |
| 484 | </td> |
| 485 | <td class="mlabels-right"> |
| 486 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 487 | </tr> |
| 488 | </table> |
| 489 | </div><div class="memdoc"> |
| 490 | |
| 491 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00043">43</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 492 | |
| 493 | <p class="reference">Referenced by <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00032">CommandLineProcessor::GetCsvFileDirectory()</a>, and <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00085">CommandLineProcessor::ProcessCommandLine()</a>.</p> |
| 494 | |
| 495 | </div> |
| 496 | </div> |
| 497 | <a id="a63a5c903eaabd717af1512ab5125af8d"></a> |
| 498 | <h2 class="memtitle"><span class="permalink"><a href="#a63a5c903eaabd717af1512ab5125af8d">◆ </a></span>m_CsvFileName</h2> |
| 499 | |
| 500 | <div class="memitem"> |
| 501 | <div class="memproto"> |
| 502 | <table class="mlabels"> |
| 503 | <tr> |
| 504 | <td class="mlabels-left"> |
| 505 | <table class="memname"> |
| 506 | <tr> |
| 507 | <td class="memname">std::string m_CsvFileName</td> |
| 508 | </tr> |
| 509 | </table> |
| 510 | </td> |
| 511 | <td class="mlabels-right"> |
| 512 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 513 | </tr> |
| 514 | </table> |
| 515 | </div><div class="memdoc"> |
| 516 | |
| 517 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00042">42</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 518 | |
| 519 | <p class="reference">Referenced by <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00031">CommandLineProcessor::GetCsvFileName()</a>, and <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00085">CommandLineProcessor::ProcessCommandLine()</a>.</p> |
| 520 | |
| 521 | </div> |
| 522 | </div> |
| 523 | <a id="a7d1dcf01fee1566cbab614e2fbd3aebd"></a> |
| 524 | <h2 class="memtitle"><span class="permalink"><a href="#a7d1dcf01fee1566cbab614e2fbd3aebd">◆ </a></span>m_InputFileName</h2> |
| 525 | |
| 526 | <div class="memitem"> |
| 527 | <div class="memproto"> |
| 528 | <table class="mlabels"> |
| 529 | <tr> |
| 530 | <td class="mlabels-left"> |
| 531 | <table class="memname"> |
| 532 | <tr> |
| 533 | <td class="memname">std::string m_InputFileName</td> |
| 534 | </tr> |
| 535 | </table> |
| 536 | </td> |
| 537 | <td class="mlabels-right"> |
| 538 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 539 | </tr> |
| 540 | </table> |
| 541 | </div><div class="memdoc"> |
| 542 | |
| 543 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00041">41</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 544 | |
| 545 | <p class="reference">Referenced by <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00030">CommandLineProcessor::GetInputFileName()</a>, and <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00085">CommandLineProcessor::ProcessCommandLine()</a>.</p> |
| 546 | |
| 547 | </div> |
| 548 | </div> |
| 549 | <a id="aa64986ca8573f32773a8ab4d13c4984d"></a> |
| 550 | <h2 class="memtitle"><span class="permalink"><a href="#aa64986ca8573f32773a8ab4d13c4984d">◆ </a></span>m_OutputDirectory</h2> |
| 551 | |
| 552 | <div class="memitem"> |
| 553 | <div class="memproto"> |
| 554 | <table class="mlabels"> |
| 555 | <tr> |
| 556 | <td class="mlabels-left"> |
| 557 | <table class="memname"> |
| 558 | <tr> |
| 559 | <td class="memname">std::string m_OutputDirectory</td> |
| 560 | </tr> |
| 561 | </table> |
| 562 | </td> |
| 563 | <td class="mlabels-right"> |
| 564 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 565 | </tr> |
| 566 | </table> |
| 567 | </div><div class="memdoc"> |
| 568 | |
| 569 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00044">44</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 570 | |
| 571 | <p class="reference">Referenced by <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00033">CommandLineProcessor::GetOutputDirectoryName()</a>, and <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00085">CommandLineProcessor::ProcessCommandLine()</a>.</p> |
| 572 | |
| 573 | </div> |
| 574 | </div> |
| 575 | <a id="adf3d6dfc2019b8ce0c84e3eea7ae845e"></a> |
| 576 | <h2 class="memtitle"><span class="permalink"><a href="#adf3d6dfc2019b8ce0c84e3eea7ae845e">◆ </a></span>m_OutputFileName</h2> |
| 577 | |
| 578 | <div class="memitem"> |
| 579 | <div class="memproto"> |
| 580 | <table class="mlabels"> |
| 581 | <tr> |
| 582 | <td class="mlabels-left"> |
| 583 | <table class="memname"> |
| 584 | <tr> |
| 585 | <td class="memname">std::string m_OutputFileName</td> |
| 586 | </tr> |
| 587 | </table> |
| 588 | </td> |
| 589 | <td class="mlabels-right"> |
| 590 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 591 | </tr> |
| 592 | </table> |
| 593 | </div><div class="memdoc"> |
| 594 | |
| 595 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00045">45</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 596 | |
| 597 | <p class="reference">Referenced by <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00034">CommandLineProcessor::GetOutputFileName()</a>, and <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00085">CommandLineProcessor::ProcessCommandLine()</a>.</p> |
| 598 | |
| 599 | </div> |
| 600 | </div> |
| 601 | <a id="a8c679cfea9ed505165ba3fd5564f433c"></a> |
| 602 | <h2 class="memtitle"><span class="permalink"><a href="#a8c679cfea9ed505165ba3fd5564f433c">◆ </a></span>m_PreserveDataType</h2> |
| 603 | |
| 604 | <div class="memitem"> |
| 605 | <div class="memproto"> |
| 606 | <table class="mlabels"> |
| 607 | <tr> |
| 608 | <td class="mlabels-left"> |
| 609 | <table class="memname"> |
| 610 | <tr> |
| 611 | <td class="memname">bool m_PreserveDataType</td> |
| 612 | </tr> |
| 613 | </table> |
| 614 | </td> |
| 615 | <td class="mlabels-right"> |
| 616 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 617 | </tr> |
| 618 | </table> |
| 619 | </div><div class="memdoc"> |
| 620 | |
| 621 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00048">48</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 622 | |
| 623 | <p class="reference">Referenced by <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00037">CommandLineProcessor::HasPreservedDataType()</a>, and <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00085">CommandLineProcessor::ProcessCommandLine()</a>.</p> |
| 624 | |
| 625 | </div> |
| 626 | </div> |
| 627 | <a id="ab8c73d68c76881021059a2a06526d0fa"></a> |
| 628 | <h2 class="memtitle"><span class="permalink"><a href="#ab8c73d68c76881021059a2a06526d0fa">◆ </a></span>m_QuantizationDataSet</h2> |
| 629 | |
| 630 | <div class="memitem"> |
| 631 | <div class="memproto"> |
| 632 | <table class="mlabels"> |
| 633 | <tr> |
| 634 | <td class="mlabels-left"> |
| 635 | <table class="memname"> |
| 636 | <tr> |
| 637 | <td class="memname"><a class="el" href="classarmnn_quantizer_1_1_quantization_data_set.html">QuantizationDataSet</a> m_QuantizationDataSet</td> |
| 638 | </tr> |
| 639 | </table> |
| 640 | </td> |
| 641 | <td class="mlabels-right"> |
| 642 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 643 | </tr> |
| 644 | </table> |
| 645 | </div><div class="memdoc"> |
| 646 | |
| 647 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00047">47</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 648 | |
| 649 | <p class="reference">Referenced by <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00036">CommandLineProcessor::GetQuantizationDataSet()</a>, <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00038">CommandLineProcessor::HasQuantizationData()</a>, and <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00085">CommandLineProcessor::ProcessCommandLine()</a>.</p> |
| 650 | |
| 651 | </div> |
| 652 | </div> |
| 653 | <a id="a39b10d2bffdb22af36545d10bf205c26"></a> |
| 654 | <h2 class="memtitle"><span class="permalink"><a href="#a39b10d2bffdb22af36545d10bf205c26">◆ </a></span>m_QuantizationScheme</h2> |
| 655 | |
| 656 | <div class="memitem"> |
| 657 | <div class="memproto"> |
| 658 | <table class="mlabels"> |
| 659 | <tr> |
| 660 | <td class="mlabels-left"> |
| 661 | <table class="memname"> |
| 662 | <tr> |
| 663 | <td class="memname">std::string m_QuantizationScheme</td> |
| 664 | </tr> |
| 665 | </table> |
| 666 | </td> |
| 667 | <td class="mlabels-right"> |
| 668 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 669 | </tr> |
| 670 | </table> |
| 671 | </div><div class="memdoc"> |
| 672 | |
| 673 | <p class="definition">Definition at line <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00046">46</a> of file <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a>.</p> |
| 674 | |
| 675 | <p class="reference">Referenced by <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html#l00035">CommandLineProcessor::GetQuantizationScheme()</a>, and <a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html#l00085">CommandLineProcessor::ProcessCommandLine()</a>.</p> |
| 676 | |
| 677 | </div> |
| 678 | </div> |
| 679 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 680 | <li>src/armnnQuantizer/<a class="el" href="src_2armnn_quantizer_2_command_line_processor_8hpp_source.html">CommandLineProcessor.hpp</a></li> |
| 681 | <li>src/armnnQuantizer/<a class="el" href="src_2armnn_quantizer_2_command_line_processor_8cpp_source.html">CommandLineProcessor.cpp</a></li> |
| 682 | </ul> |
| 683 | </div><!-- contents --> |
| 684 | </div><!-- doc-content --> |
| 685 | <!-- start footer part --> |
| 686 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 687 | <ul> |
| 688 | <li class="navelem"><a class="el" href="namespacearmnn_quantizer.html">armnnQuantizer</a></li><li class="navelem"><a class="el" href="classarmnn_quantizer_1_1_command_line_processor.html">CommandLineProcessor</a></li> |
| 689 | <li class="footer">Generated on Fri Mar 13 2020 16:07:06 for ArmNN by |
| 690 | <a href="http://www.doxygen.org/index.html"> |
| 691 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 692 | </ul> |
| 693 | </div> |
| 694 | </body> |
| 695 | </html> |