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: IQuantizationScheme Struct Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('structarmnn_1_1_i_quantization_scheme.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="structarmnn_1_1_i_quantization_scheme-members.html">List of all members</a> </div> |
| 86 | <div class="headertitle"> |
| 87 | <div class="title">IQuantizationScheme Struct 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="_network_quantization_scheme_8hpp_source.html">NetworkQuantizationScheme.hpp</a>></code></p> |
| 92 | <div class="dynheader"> |
| 93 | Inheritance diagram for IQuantizationScheme:</div> |
| 94 | <div class="dyncontent"> |
| 95 | <div class="center"> |
| 96 | <img src="structarmnn_1_1_i_quantization_scheme.png" usemap="#IQuantizationScheme_map" alt=""/> |
| 97 | <map id="IQuantizationScheme_map" name="IQuantizationScheme_map"> |
| 98 | <area href="structarmnn_1_1_q_asymm_s8_quantization_scheme.html" alt="QAsymmS8QuantizationScheme" shape="rect" coords="0,56,192,80"/> |
| 99 | <area href="structarmnn_1_1_q_asymm_u8_quantization_scheme.html" alt="QAsymmU8QuantizationScheme" shape="rect" coords="202,56,394,80"/> |
| 100 | <area href="structarmnn_1_1_q_symm16_quantization_scheme.html" alt="QSymm16QuantizationScheme" shape="rect" coords="404,56,596,80"/> |
| 101 | <area href="structarmnn_1_1_q_symm_s8_quantization_scheme.html" alt="QSymmS8QuantizationScheme" shape="rect" coords="606,56,798,80"/> |
| 102 | </map> |
| 103 | </div></div> |
| 104 | <table class="memberdecls"> |
| 105 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 106 | Public Member Functions</h2></td></tr> |
| 107 | <tr class="memitem:a6a5561395e9693f02258b49dfcc009b4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn.html#a9b8e5a95f8c061bbbcdb036915dcb61a">OffsetScalePair</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_quantization_scheme.html#a6a5561395e9693f02258b49dfcc009b4">ComputeScheme</a> (double min, double max) const =0</td></tr> |
| 108 | <tr class="separator:a6a5561395e9693f02258b49dfcc009b4"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | <tr class="memitem:a7ebe7ca1c6100440fcc130217f43561b"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_quantization_scheme.html#a7ebe7ca1c6100440fcc130217f43561b">NumBits</a> () const =0</td></tr> |
| 110 | <tr class="separator:a7ebe7ca1c6100440fcc130217f43561b"><td class="memSeparator" colspan="2"> </td></tr> |
| 111 | <tr class="memitem:ad23181f9f8fcc85758f62c49fc7ca23f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_quantization_scheme.html#ad23181f9f8fcc85758f62c49fc7ca23f">GetDataType</a> () const =0</td></tr> |
| 112 | <tr class="separator:ad23181f9f8fcc85758f62c49fc7ca23f"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:ac7ce71800ca0ebb1222958717a834c9a"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_quantization_scheme.html#ac7ce71800ca0ebb1222958717a834c9a">~IQuantizationScheme</a> ()</td></tr> |
| 114 | <tr class="separator:ac7ce71800ca0ebb1222958717a834c9a"><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="_network_quantization_scheme_8hpp_source.html#l00018">18</a> of file <a class="el" href="_network_quantization_scheme_8hpp_source.html">NetworkQuantizationScheme.hpp</a>.</p> |
| 119 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 120 | <a id="ac7ce71800ca0ebb1222958717a834c9a"></a> |
| 121 | <h2 class="memtitle"><span class="permalink"><a href="#ac7ce71800ca0ebb1222958717a834c9a">◆ </a></span>~IQuantizationScheme()</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="structarmnn_1_1_i_quantization_scheme.html">IQuantizationScheme</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="_network_quantization_scheme_8hpp_source.html#l00026">26</a> of file <a class="el" href="_network_quantization_scheme_8hpp_source.html">NetworkQuantizationScheme.hpp</a>.</p> |
| 144 | <div class="fragment"><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> {}</div></div><!-- fragment --> |
| 145 | </div> |
| 146 | </div> |
| 147 | <h2 class="groupheader">Member Function Documentation</h2> |
| 148 | <a id="a6a5561395e9693f02258b49dfcc009b4"></a> |
| 149 | <h2 class="memtitle"><span class="permalink"><a href="#a6a5561395e9693f02258b49dfcc009b4">◆ </a></span>ComputeScheme()</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 <a class="el" href="namespacearmnn.html#a9b8e5a95f8c061bbbcdb036915dcb61a">OffsetScalePair</a> ComputeScheme </td> |
| 159 | <td>(</td> |
| 160 | <td class="paramtype">double </td> |
| 161 | <td class="paramname"><em>min</em>, </td> |
| 162 | </tr> |
| 163 | <tr> |
| 164 | <td class="paramkey"></td> |
| 165 | <td></td> |
| 166 | <td class="paramtype">double </td> |
| 167 | <td class="paramname"><em>max</em> </td> |
| 168 | </tr> |
| 169 | <tr> |
| 170 | <td></td> |
| 171 | <td>)</td> |
| 172 | <td></td><td> const</td> |
| 173 | </tr> |
| 174 | </table> |
| 175 | </td> |
| 176 | <td class="mlabels-right"> |
| 177 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 178 | </tr> |
| 179 | </table> |
| 180 | </div><div class="memdoc"> |
| 181 | |
| 182 | <p>Implemented in <a class="el" href="structarmnn_1_1_q_symm16_quantization_scheme.html#a9fb07d8d7554a1502e732b8afa92040a">QSymm16QuantizationScheme</a>, <a class="el" href="structarmnn_1_1_q_symm_s8_quantization_scheme.html#a9fb07d8d7554a1502e732b8afa92040a">QSymmS8QuantizationScheme</a>, <a class="el" href="structarmnn_1_1_q_asymm_s8_quantization_scheme.html#a9fb07d8d7554a1502e732b8afa92040a">QAsymmS8QuantizationScheme</a>, and <a class="el" href="structarmnn_1_1_q_asymm_u8_quantization_scheme.html#a9fb07d8d7554a1502e732b8afa92040a">QAsymmU8QuantizationScheme</a>.</p> |
| 183 | |
| 184 | <p class="reference">Referenced by <a class="el" href="_quantizer_visitor_8cpp_source.html#l00014">QuantizerVisitor::QuantizerVisitor()</a>.</p> |
| 185 | |
| 186 | </div> |
| 187 | </div> |
| 188 | <a id="ad23181f9f8fcc85758f62c49fc7ca23f"></a> |
| 189 | <h2 class="memtitle"><span class="permalink"><a href="#ad23181f9f8fcc85758f62c49fc7ca23f">◆ </a></span>GetDataType()</h2> |
| 190 | |
| 191 | <div class="memitem"> |
| 192 | <div class="memproto"> |
| 193 | <table class="mlabels"> |
| 194 | <tr> |
| 195 | <td class="mlabels-left"> |
| 196 | <table class="memname"> |
| 197 | <tr> |
| 198 | <td class="memname">virtual <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> GetDataType </td> |
| 199 | <td>(</td> |
| 200 | <td class="paramname"></td><td>)</td> |
| 201 | <td> const</td> |
| 202 | </tr> |
| 203 | </table> |
| 204 | </td> |
| 205 | <td class="mlabels-right"> |
| 206 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 207 | </tr> |
| 208 | </table> |
| 209 | </div><div class="memdoc"> |
| 210 | |
| 211 | <p>Implemented in <a class="el" href="structarmnn_1_1_q_symm16_quantization_scheme.html#a57d67416d97cb7138e43656b43feb797">QSymm16QuantizationScheme</a>, <a class="el" href="structarmnn_1_1_q_symm_s8_quantization_scheme.html#a57d67416d97cb7138e43656b43feb797">QSymmS8QuantizationScheme</a>, <a class="el" href="structarmnn_1_1_q_asymm_s8_quantization_scheme.html#a57d67416d97cb7138e43656b43feb797">QAsymmS8QuantizationScheme</a>, and <a class="el" href="structarmnn_1_1_q_asymm_u8_quantization_scheme.html#a57d67416d97cb7138e43656b43feb797">QAsymmU8QuantizationScheme</a>.</p> |
| 212 | |
| 213 | <p class="reference">Referenced by <a class="el" href="_quantizer_visitor_8cpp_source.html#l00014">QuantizerVisitor::QuantizerVisitor()</a>.</p> |
| 214 | |
| 215 | </div> |
| 216 | </div> |
| 217 | <a id="a7ebe7ca1c6100440fcc130217f43561b"></a> |
| 218 | <h2 class="memtitle"><span class="permalink"><a href="#a7ebe7ca1c6100440fcc130217f43561b">◆ </a></span>NumBits()</h2> |
| 219 | |
| 220 | <div class="memitem"> |
| 221 | <div class="memproto"> |
| 222 | <table class="mlabels"> |
| 223 | <tr> |
| 224 | <td class="mlabels-left"> |
| 225 | <table class="memname"> |
| 226 | <tr> |
| 227 | <td class="memname">virtual int NumBits </td> |
| 228 | <td>(</td> |
| 229 | <td class="paramname"></td><td>)</td> |
| 230 | <td> const</td> |
| 231 | </tr> |
| 232 | </table> |
| 233 | </td> |
| 234 | <td class="mlabels-right"> |
| 235 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 236 | </tr> |
| 237 | </table> |
| 238 | </div><div class="memdoc"> |
| 239 | |
| 240 | <p>Implemented in <a class="el" href="structarmnn_1_1_q_symm16_quantization_scheme.html#a1046eb36ff708a1b84f9a6bf0103fbc7">QSymm16QuantizationScheme</a>, <a class="el" href="structarmnn_1_1_q_symm_s8_quantization_scheme.html#a1046eb36ff708a1b84f9a6bf0103fbc7">QSymmS8QuantizationScheme</a>, <a class="el" href="structarmnn_1_1_q_asymm_s8_quantization_scheme.html#a1046eb36ff708a1b84f9a6bf0103fbc7">QAsymmS8QuantizationScheme</a>, and <a class="el" href="structarmnn_1_1_q_asymm_u8_quantization_scheme.html#a1046eb36ff708a1b84f9a6bf0103fbc7">QAsymmU8QuantizationScheme</a>.</p> |
| 241 | |
| 242 | <p class="reference">Referenced by <a class="el" href="_network_quantization_scheme_8hpp_source.html#l00031">QAsymmU8QuantizationScheme::ComputeScheme()</a>, <a class="el" href="_network_quantization_scheme_8hpp_source.html#l00066">QAsymmS8QuantizationScheme::ComputeScheme()</a>, <a class="el" href="_network_quantization_scheme_8hpp_source.html#l00102">QSymmS8QuantizationScheme::ComputeScheme()</a>, and <a class="el" href="_network_quantization_scheme_8hpp_source.html#l00130">QSymm16QuantizationScheme::ComputeScheme()</a>.</p> |
| 243 | |
| 244 | </div> |
| 245 | </div> |
| 246 | <hr/>The documentation for this struct was generated from the following file:<ul> |
| 247 | <li>src/armnn/<a class="el" href="_network_quantization_scheme_8hpp_source.html">NetworkQuantizationScheme.hpp</a></li> |
| 248 | </ul> |
| 249 | </div><!-- contents --> |
| 250 | </div><!-- doc-content --> |
| 251 | <!-- start footer part --> |
| 252 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 253 | <ul> |
| 254 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_i_quantization_scheme.html">IQuantizationScheme</a></li> |
| 255 | <li class="footer">Generated on Fri Mar 13 2020 16:07:03 for ArmNN by |
| 256 | <a href="http://www.doxygen.org/index.html"> |
| 257 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 258 | </ul> |
| 259 | </div> |
| 260 | </body> |
| 261 | </html> |