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: src/armnn/QuantizerVisitor.cpp Source File</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('_quantizer_visitor_8cpp_source.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="headertitle"> |
| 84 | <div class="title">QuantizerVisitor.cpp</div> </div> |
| 85 | </div><!--header--> |
| 86 | <div class="contents"> |
| 87 | <a href="_quantizer_visitor_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright © 2017 Arm Ltd. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// SPDX-License-Identifier: MIT</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "<a class="code" href="_network_8hpp.html">Network.hpp</a>"</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "<a class="code" href="_quantizer_visitor_8hpp.html">QuantizerVisitor.hpp</a>"</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "<a class="code" href="_static_range_visitor_8hpp.html">StaticRangeVisitor.hpp</a>"</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include "<a class="code" href="_network_quantizer_utils_8hpp.html">NetworkQuantizerUtils.hpp</a>"</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">namespace </span><a class="code" href="namespacearmnn.html">armnn</a></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> {</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a72d00eb366b367af08007d472d5edebb"> 14</a></span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a72d00eb366b367af08007d472d5edebb">QuantizerVisitor::QuantizerVisitor</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_range_tracker.html">RangeTracker</a>& rangeTracker,</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_i_quantization_scheme.html">IQuantizationScheme</a>* quantizationScheme,</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keywordtype">bool</span> preserveType)</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  : m_Ranges(rangeTracker)</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  , m_QuantizedNetwork(<a class="code" href="classarmnn_1_1_i_network.html">INetwork</a>::Create())</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  , m_QuantizationScheme(quantizationScheme)</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  , m_PreserveType(preserveType)</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> }</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">void</span> QuantizerVisitor::SetQuantizedInputConnections(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* srcLayer,</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* quantizedLayer)</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  BOOST_ASSERT(srcLayer);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < srcLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a9c2cba04b6d7ace4fc2a2436b82a5a63">GetNumInputSlots</a>(); i++)</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_input_slot.html">IInputSlot</a>& srcInputSlot = srcLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a6ec9e0eb66d7d6a01240492a0b18104c">GetInputSlot</a>(i);</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_input_slot.html">InputSlot</a>* inputSlot = boost::polymorphic_downcast<const InputSlot*>(&srcInputSlot);</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  BOOST_ASSERT(inputSlot);</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_output_slot.html">OutputSlot</a>* outputSlot = inputSlot-><a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>();</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  BOOST_ASSERT(outputSlot);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> slotIdx = outputSlot-><a class="code" href="classarmnn_1_1_output_slot.html#a27545b353e48a739981d345b64bb9dc9">CalculateIndexOnOwner</a>();</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="classarmnn_1_1_layer.html">Layer</a>& layerToFind = outputSlot-><a class="code" href="classarmnn_1_1_output_slot.html#a7ddaf04177053a536f0e7be83a642bc6">GetOwningLayer</a>();</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">auto</span> found = m_OriginalToQuantizedGuidMap.find(layerToFind.<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">if</span> (found == m_OriginalToQuantizedGuidMap.end())</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="comment">// Error in graph traversal order</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  BOOST_ASSERT_MSG(<span class="keyword">false</span>, <span class="stringliteral">"Error in graph traversal"</span>);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// Connect the slots in the quantized model</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* prevQuantizedLayer = m_QuantizedGuidToLayerMap[found->second];</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classarmnn_1_1_i_input_slot.html">IInputSlot</a>& newInputSlot = quantizedLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a6ec9e0eb66d7d6a01240492a0b18104c">GetInputSlot</a>(i);</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="classarmnn_1_1_i_output_slot.html">IOutputSlot</a>& newOutputSlot = prevQuantizedLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a80ac4eda2e7f2757ec9dd96fc96dbd16">GetOutputSlot</a>(slotIdx);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  newOutputSlot.<a class="code" href="classarmnn_1_1_i_output_slot.html#ac1835f8756a9f03c02fcf9664e3a0fce">Connect</a>(newInputSlot);</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// Fetch the min/max ranges that were computed earlier</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">auto</span> range = m_Ranges.<a class="code" href="classarmnn_1_1_range_tracker.html#a507bae23f59e94b4161886ebe663cdf4">GetRange</a>(layerToFind.<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>(), slotIdx);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="namespacearmnn.html#a9b8e5a95f8c061bbbcdb036915dcb61a">OffsetScalePair</a> qParams = m_QuantizationScheme-><a class="code" href="structarmnn_1_1_i_quantization_scheme.html#a6a5561395e9693f02258b49dfcc009b4">ComputeScheme</a>(range.first, range.second);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="comment">// Set the quantization params</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>(outputSlot-><a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>());</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>.SetDataType(m_QuantizationScheme-><a class="code" href="structarmnn_1_1_i_quantization_scheme.html#ad23181f9f8fcc85758f62c49fc7ca23f">GetDataType</a>());</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>.SetQuantizationOffset(qParams.second);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>.SetQuantizationScale(qParams.first);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  newOutputSlot.<a class="code" href="classarmnn_1_1_i_output_slot.html#a5ee4a6c9a2481245487b1b1a70d20fd0">SetTensorInfo</a>(<a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  }</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> }</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> QuantizerVisitor::CreateQuantizedBias(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* srcLayer,</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>& weights,</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a>& biases,</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  std::vector<int32_t>& backing)</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  BOOST_ASSERT(srcLayer);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_input_slot.html">IInputSlot</a>& srcInputSlot = srcLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a6ec9e0eb66d7d6a01240492a0b18104c">GetInputSlot</a>(0);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">auto</span> inputSlot = boost::polymorphic_downcast<const InputSlot*>(&srcInputSlot);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  BOOST_ASSERT(inputSlot);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_output_slot.html">OutputSlot</a>* outputSlot = inputSlot->GetConnectedOutputSlot();</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  BOOST_ASSERT(outputSlot);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> slotIdx = outputSlot-><a class="code" href="classarmnn_1_1_output_slot.html#a27545b353e48a739981d345b64bb9dc9">CalculateIndexOnOwner</a>();</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="classarmnn_1_1_layer.html">Layer</a>& layerToFind = outputSlot-><a class="code" href="classarmnn_1_1_output_slot.html#a7ddaf04177053a536f0e7be83a642bc6">GetOwningLayer</a>();</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">auto</span> found = m_OriginalToQuantizedGuidMap.find(layerToFind.<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">if</span> (found == m_OriginalToQuantizedGuidMap.end())</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  {</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="comment">// Error in graph traversal order</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  BOOST_ASSERT_MSG(<span class="keyword">false</span>, <span class="stringliteral">"Error in graph traversal"</span>);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordflow">return</span> biases.<a class="code" href="classarmnn_1_1_optional_reference_switch.html#a77c7d528ac063d870b8c8426ec81c1c3">value</a>();</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</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>  <span class="comment">// Fetch the min/max ranges that were computed earlier</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">auto</span> range = m_Ranges.<a class="code" href="classarmnn_1_1_range_tracker.html#a507bae23f59e94b4161886ebe663cdf4">GetRange</a>(layerToFind.<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>(), slotIdx);</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="namespacearmnn.html#a9b8e5a95f8c061bbbcdb036915dcb61a">OffsetScalePair</a> qParams = m_QuantizationScheme-><a class="code" href="structarmnn_1_1_i_quantization_scheme.html#a6a5561395e9693f02258b49dfcc009b4">ComputeScheme</a>(range.first, range.second);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">// Get the quantization scale based on input and weight scale</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">float</span> scale = qParams.first * weights.<a class="code" href="classarmnn_1_1_base_tensor.html#a8aeddebdcf02e1832b22203c08a6b678">GetInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a047ca888c43bd7fb5702853bf72410d0">GetQuantizationScale</a>();</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// Set up quantized bias tensor info and allocate space</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> qInfo(biases.<a class="code" href="classarmnn_1_1_optional_reference_switch.html#a77c7d528ac063d870b8c8426ec81c1c3">value</a>().GetInfo().GetShape(), <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7">DataType::Signed32</a>, scale, 0);</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  backing.resize(biases.<a class="code" href="classarmnn_1_1_optional_reference_switch.html#a77c7d528ac063d870b8c8426ec81c1c3">value</a>().GetInfo().GetNumElements());</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// Convert values to int32</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < backing.size(); ++i)</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  {</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordtype">float</span> fp32Value = <span class="keyword">static_cast<</span><span class="keyword">const </span><span class="keywordtype">float</span>*<span class="keyword">></span>(biases.<a class="code" href="classarmnn_1_1_optional_reference_switch.html#a77c7d528ac063d870b8c8426ec81c1c3">value</a>().GetMemoryArea())[i];</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  backing[i] = boost::numeric_cast<int32_t>(fp32Value * ( 1 / scale ));</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> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(qInfo, backing);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> }</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="keywordtype">void</span> QuantizerVisitor::RecordLayer(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* srcLayer, <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* quantizedLayer)</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>  m_OriginalToQuantizedGuidMap.insert(std::make_pair(srcLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#afb5e65c770f6cee222db8af7581541a6">GetGuid</a>(), quantizedLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#afb5e65c770f6cee222db8af7581541a6">GetGuid</a>()));</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  m_QuantizedGuidToLayerMap.insert(std::make_pair(quantizedLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#afb5e65c770f6cee222db8af7581541a6">GetGuid</a>(), quantizedLayer));</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> }</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a4abca3536debe2dac00f1d6a0b14a435"> 116</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a4abca3536debe2dac00f1d6a0b14a435">QuantizerVisitor::VisitAbsLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer, <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</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>  <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a237f88794e504388160a87813b66b9e3">VisitElementwiseUnaryLayer</a>(layer, <a class="code" href="structarmnn_1_1_elementwise_unary_descriptor.html">ElementwiseUnaryDescriptor</a>(<a class="code" href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">UnaryOperation::Abs</a>), name);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> }</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#af493528dec93f39f5081dbefb40bff75"> 121</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#af493528dec93f39f5081dbefb40bff75">QuantizerVisitor::VisitActivationLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_activation_descriptor.html">ActivationDescriptor</a>& activationDescriptor,</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</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>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddActivationLayer(activationDescriptor, name);</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> }</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a7cb4ef1bc9588c4319144460c288022f"> 130</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a7cb4ef1bc9588c4319144460c288022f">QuantizerVisitor::VisitAdditionLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer, <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> {</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddAdditionLayer(name);</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> }</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a2482bba03a17e59a8ead45530e8efea5"> 137</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a2482bba03a17e59a8ead45530e8efea5">QuantizerVisitor::VisitArgMinMaxLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_arg_min_max_descriptor.html">ArgMinMaxDescriptor</a>& argMinMaxDescriptor,</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> {</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddArgMinMaxLayer(argMinMaxDescriptor, name);</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  SetQuantizedInputConnections(layer, newLayer);</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> </div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a1532cb8f551812e784ccc14faae407b9"> 146</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a1532cb8f551812e784ccc14faae407b9">QuantizerVisitor::VisitBatchNormalizationLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_batch_normalization_descriptor.html">BatchNormalizationDescriptor</a>& desc,</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>& mean,</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>& variance,</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>& beta,</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>& gamma,</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> {</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  std::vector<uint8_t> meanBacking;</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qMean = <a class="code" href="namespacearmnn.html#a310dd804fd70eadb1e8854325e63f0bd">CreateQuantizedConst</a>(mean, meanBacking);</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>  std::vector<uint8_t> varianceBacking;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qVariance = <a class="code" href="namespacearmnn.html#a310dd804fd70eadb1e8854325e63f0bd">CreateQuantizedConst</a>(variance, varianceBacking);</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>  std::vector<uint8_t> betaBacking;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qBeta = <a class="code" href="namespacearmnn.html#a310dd804fd70eadb1e8854325e63f0bd">CreateQuantizedConst</a>(beta, betaBacking);</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>  std::vector<uint8_t> gammaBacking;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qGamma = <a class="code" href="namespacearmnn.html#a310dd804fd70eadb1e8854325e63f0bd">CreateQuantizedConst</a>(gamma, gammaBacking);</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>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddBatchNormalizationLayer(desc,</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  qMean,</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  qVariance,</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  qBeta,</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  qGamma,</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  name);</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> </div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> }</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#af5d09e03a578afa9c0bb8afd11c65485"> 177</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#af5d09e03a578afa9c0bb8afd11c65485">QuantizerVisitor::VisitBatchToSpaceNdLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_batch_to_space_nd_descriptor.html">BatchToSpaceNdDescriptor</a>& batchToSpaceNdDescriptor,</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> {</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddBatchToSpaceNdLayer(batchToSpaceNdDescriptor, name);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> }</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a6a1adf7bf81e5cbb74b4cc4e8946c653"> 186</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a6a1adf7bf81e5cbb74b4cc4e8946c653">QuantizerVisitor::VisitComparisonLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_comparison_descriptor.html">ComparisonDescriptor</a>& comparisonDescriptor,</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> {</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddComparisonLayer(comparisonDescriptor, name);</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> }</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#afb527e0c7c30b56da911fee8c7b7a011"> 195</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#afb527e0c7c30b56da911fee8c7b7a011">QuantizerVisitor::VisitConcatLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a>& originsDescriptor,</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> {</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddConcatLayer(originsDescriptor, name);</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> }</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#aeb652d74e4b3596e85b22c2d52144f73"> 204</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#aeb652d74e4b3596e85b22c2d52144f73">QuantizerVisitor::VisitConstantLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>& input,</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span> {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  std::vector<uint8_t> inputBacking;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qInput = <a class="code" href="namespacearmnn.html#a310dd804fd70eadb1e8854325e63f0bd">CreateQuantizedConst</a>(input, inputBacking);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddConstantLayer(qInput, name);</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> }</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#ac2f379ba77b06095e0c024e232ec1fd4"> 215</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#ac2f379ba77b06095e0c024e232ec1fd4">QuantizerVisitor::VisitConvolution2dLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_convolution2d_descriptor.html">Convolution2dDescriptor</a>& convolution2dDescriptor,</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>& weights,</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a>& biases,</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> {</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  std::vector<uint8_t> weightsBacking;</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qWeights = <a class="code" href="namespacearmnn.html#a310dd804fd70eadb1e8854325e63f0bd">CreateQuantizedConst</a>(weights, weightsBacking);</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a> optionalQBiases;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  std::vector<int32_t> biasesBacking;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> </div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">if</span> (biases.<a class="code" href="classarmnn_1_1_optional_base.html#a86b749ce2c4bc627fa8a1fcfaf0e314f">has_value</a>())</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  {</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qBiases = CreateQuantizedBias(layer, qWeights, biases, biasesBacking);</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  optionalQBiases = <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a>(qBiases);</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  }</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddConvolution2dLayer(convolution2dDescriptor,</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  qWeights,</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  optionalQBiases,</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  name);</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> }</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span> </div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#ac0daac0e6ce49805580a8a50a8d3d514"> 241</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#ac0daac0e6ce49805580a8a50a8d3d514">QuantizerVisitor::VisitDepthToSpaceLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html">DepthToSpaceDescriptor</a>& descriptor,</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span> {</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddDepthToSpaceLayer(descriptor, name);</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span> }</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> </div><div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a554e88817e6fd98645388873a108f868"> 250</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a554e88817e6fd98645388873a108f868">QuantizerVisitor::VisitDepthwiseConvolution2dLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html">DepthwiseConvolution2dDescriptor</a>& desc,</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>& weights,</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a>& biases,</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span> {</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  std::vector<uint8_t> weightsBacking;</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qWeights = <a class="code" href="namespacearmnn.html#a310dd804fd70eadb1e8854325e63f0bd">CreateQuantizedConst</a>(weights, weightsBacking);</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a> optionalQBiases;</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  std::vector<int32_t> biasesBacking;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">if</span> (biases.<a class="code" href="classarmnn_1_1_optional_base.html#a86b749ce2c4bc627fa8a1fcfaf0e314f">has_value</a>())</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  {</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qBiases = CreateQuantizedBias(layer, qWeights, biases, biasesBacking);</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  optionalQBiases = <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a>(qBiases);</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  }</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddDepthwiseConvolution2dLayer(desc,</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  qWeights,</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  optionalQBiases,</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  name);</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> }</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a237f88794e504388160a87813b66b9e3"> 276</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a237f88794e504388160a87813b66b9e3">QuantizerVisitor::VisitElementwiseUnaryLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_elementwise_unary_descriptor.html">ElementwiseUnaryDescriptor</a>& elementwiseUnaryDescriptor,</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> {</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddElementwiseUnaryLayer(elementwiseUnaryDescriptor, name);</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> }</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span> </div><div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#abbdd655f9e0bec625369079ed97f1328"> 285</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#abbdd655f9e0bec625369079ed97f1328">QuantizerVisitor::VisitFullyConnectedLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer,</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_fully_connected_descriptor.html">FullyConnectedDescriptor</a>& desc,</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>& weights,</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a>& biases,</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *name)</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> {</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  std::vector<uint8_t> weightsBacking;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qWeights = <a class="code" href="namespacearmnn.html#a310dd804fd70eadb1e8854325e63f0bd">CreateQuantizedConst</a>(weights, weightsBacking);</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a> optionalQBiases;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  std::vector<int32_t> biasesBacking;</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> </div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keywordflow">if</span> (biases.<a class="code" href="classarmnn_1_1_optional_base.html#a86b749ce2c4bc627fa8a1fcfaf0e314f">has_value</a>())</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  {</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qBiases = CreateQuantizedBias(layer, qWeights, biases, biasesBacking);</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  optionalQBiases = <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a>(qBiases);</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  }</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span> </div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddFullyConnectedLayer(desc,</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  qWeights,</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  optionalQBiases,</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  name);</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span> }</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span> </div><div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a2ca539d734553e606c0134940e444298"> 311</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a2ca539d734553e606c0134940e444298">QuantizerVisitor::VisitInputLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, <a class="code" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> <span class="keywordtype">id</span>, <span class="keyword">const</span> <span class="keywordtype">char</span> *name)</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span> {</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> dataType = layer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a80ac4eda2e7f2757ec9dd96fc96dbd16">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#aea909c7327109228ef618d459015def3">GetDataType</a>();</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* inputLayer = m_QuantizedNetwork->AddInputLayer(<span class="keywordtype">id</span>, name);</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> </div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">if</span> (m_PreserveType && (dataType == <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">DataType::Float32</a> || dataType == <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">DataType::Float16</a>))</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  {</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* quantizeLayer = m_QuantizedNetwork->AddQuantizeLayer();</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  inputLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a80ac4eda2e7f2757ec9dd96fc96dbd16">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_i_output_slot.html#ac1835f8756a9f03c02fcf9664e3a0fce">Connect</a>(quantizeLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a6ec9e0eb66d7d6a01240492a0b18104c">GetInputSlot</a>(0));</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  inputLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a80ac4eda2e7f2757ec9dd96fc96dbd16">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_i_output_slot.html#a5ee4a6c9a2481245487b1b1a70d20fd0">SetTensorInfo</a>(layer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a80ac4eda2e7f2757ec9dd96fc96dbd16">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>());</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  RecordLayer(layer, quantizeLayer);</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  }</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  {</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  RecordLayer(layer, inputLayer);</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  }</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> }</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span> </div><div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#ac6da520014db9cd2d4bede451e37ca0a"> 329</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#ac6da520014db9cd2d4bede451e37ca0a">QuantizerVisitor::VisitInstanceNormalizationLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_instance_normalization_descriptor.html">InstanceNormalizationDescriptor</a>& descriptor,</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span> {</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddInstanceNormalizationLayer(descriptor, name);</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span> }</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> </div><div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#abe0c29cd370a84c3e669d28dda18afb7"> 338</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#abe0c29cd370a84c3e669d28dda18afb7">QuantizerVisitor::VisitLogSoftmaxLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_softmax_descriptor.html">LogSoftmaxDescriptor</a>& logSoftmaxDescriptor,</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> {</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddLogSoftmaxLayer(logSoftmaxDescriptor, name);</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span> }</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span> </div><div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a0a2f55bda910ccf8816d2678b7c980b6"> 347</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a0a2f55bda910ccf8816d2678b7c980b6">QuantizerVisitor::VisitMeanLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_mean_descriptor.html">MeanDescriptor</a>& meanDescriptor,</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span> {</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddMeanLayer(meanDescriptor, name);</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span> }</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div><div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a1c587861e672cedaedd1f32bbce44afc"> 356</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a1c587861e672cedaedd1f32bbce44afc">QuantizerVisitor::VisitMultiplicationLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span> {</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddMultiplicationLayer(name);</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span> }</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span> </div><div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#ab0946e6e13740185d7b7939720f347f1"> 364</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#ab0946e6e13740185d7b7939720f347f1">QuantizerVisitor::VisitNormalizationLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">armnn::IConnectableLayer</a>* layer,</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_normalization_descriptor.html">armnn::NormalizationDescriptor</a>& normalizationDescriptor,</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span> {</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddNormalizationLayer(normalizationDescriptor, name);</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span> }</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span> </div><div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#ac75d60924c52b96ea6f9567fcfa2db10"> 373</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#ac75d60924c52b96ea6f9567fcfa2db10">QuantizerVisitor::VisitOutputLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer, <a class="code" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> <span class="keywordtype">id</span>, <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span> {</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.html">TensorInfo</a>& <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a> = layer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a6ec9e0eb66d7d6a01240492a0b18104c">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_i_input_slot.html#a81fbf6103761e55061b62ba989b00f10">GetConnection</a>()-><a class="code" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>();</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a>& dataType = info.<a class="code" href="classarmnn_1_1_tensor_info.html#aea909c7327109228ef618d459015def3">GetDataType</a>();</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* outputLayer = m_QuantizedNetwork->AddOutputLayer(<span class="keywordtype">id</span>, name);</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span> </div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keywordflow">if</span> (m_PreserveType && (dataType == <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">DataType::Float32</a> || dataType == <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">DataType::Float16</a>))</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  {</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* dequantizeLayer = m_QuantizedNetwork->AddDequantizeLayer();</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  RecordLayer(layer, dequantizeLayer);</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  SetQuantizedInputConnections(layer, dequantizeLayer);</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  dequantizeLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a80ac4eda2e7f2757ec9dd96fc96dbd16">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_i_output_slot.html#ac1835f8756a9f03c02fcf9664e3a0fce">Connect</a>(outputLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a6ec9e0eb66d7d6a01240492a0b18104c">GetInputSlot</a>(0));</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  dequantizeLayer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a80ac4eda2e7f2757ec9dd96fc96dbd16">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_i_output_slot.html#a5ee4a6c9a2481245487b1b1a70d20fd0">SetTensorInfo</a>(info);</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  }</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  {</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  RecordLayer(layer, outputLayer);</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  SetQuantizedInputConnections(layer, outputLayer);</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  }</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span> }</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> </div><div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a0b4b2e9b5578bf50197c6929a6a48071"> 394</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a0b4b2e9b5578bf50197c6929a6a48071">QuantizerVisitor::VisitPadLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_pad_descriptor.html">PadDescriptor</a>& padDescriptor,</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span> {</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddPadLayer(padDescriptor, name);</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span> }</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span> </div><div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a8667c9d0c42575e31c7a630fea8c7256"> 403</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a8667c9d0c42575e31c7a630fea8c7256">QuantizerVisitor::VisitPermuteLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_permute_descriptor.html">PermuteDescriptor</a>& permuteDescriptor,</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span> {</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddPermuteLayer(permuteDescriptor, name);</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span> }</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div><div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#aaee763832ceb783dcffde56e1c1a6d93"> 412</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#aaee763832ceb783dcffde56e1c1a6d93">QuantizerVisitor::VisitPooling2dLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_pooling2d_descriptor.html">Pooling2dDescriptor</a>& pooling2dDescriptor,</div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span> {</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddPooling2dLayer(pooling2dDescriptor, name);</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span> }</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span> </div><div class="line"><a name="l00421"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a34f5745a60988b4a109ec213f8d0cb77"> 421</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a34f5745a60988b4a109ec213f8d0cb77">QuantizerVisitor::VisitPreluLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span> {</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddPreluLayer(name);</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00427"></a><span class="lineno"> 427</span> }</div><div class="line"><a name="l00428"></a><span class="lineno"> 428</span> </div><div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a4a7f7f33591fd91e8fb1c08d06c0733a"> 429</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a4a7f7f33591fd91e8fb1c08d06c0733a">QuantizerVisitor::VisitReshapeLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_reshape_descriptor.html">ReshapeDescriptor</a>& reshapeDescriptor,</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span> {</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddReshapeLayer(reshapeDescriptor, name);</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span> }</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span> </div><div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a5abbca55c908440acecfa6e0f921092d"> 438</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a5abbca55c908440acecfa6e0f921092d">QuantizerVisitor::VisitResizeBilinearLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_resize_bilinear_descriptor.html">ResizeBilinearDescriptor</a>& resizeBilinearDescriptor,</div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span> {</div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <a class="code" href="structarmnn_1_1_resize_descriptor.html">ResizeDescriptor</a> resizeDescriptor;</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  resizeDescriptor.<a class="code" href="structarmnn_1_1_resize_descriptor.html#a869254cb56968986a78a79e1d6d4a86b">m_Method</a> = <a class="code" href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f">ResizeMethod::Bilinear</a>;</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  resizeDescriptor.<a class="code" href="structarmnn_1_1_resize_descriptor.html#adcf5037208faac36c0788239a073f75c">m_TargetWidth</a> = resizeBilinearDescriptor.<a class="code" href="structarmnn_1_1_resize_bilinear_descriptor.html#adcf5037208faac36c0788239a073f75c">m_TargetWidth</a>;</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  resizeDescriptor.<a class="code" href="structarmnn_1_1_resize_descriptor.html#a46c3fa15c46fb0d1dcdc24d0ea5cb5cd">m_TargetHeight</a> = resizeBilinearDescriptor.<a class="code" href="structarmnn_1_1_resize_bilinear_descriptor.html#a46c3fa15c46fb0d1dcdc24d0ea5cb5cd">m_TargetHeight</a>;</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  resizeDescriptor.<a class="code" href="structarmnn_1_1_resize_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a> = resizeBilinearDescriptor.<a class="code" href="structarmnn_1_1_resize_bilinear_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a>;</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span> </div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a7eea0e93f066099f3549fef15881a4cb">VisitResizeLayer</a>(layer, resizeDescriptor, name);</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span> }</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span> </div><div class="line"><a name="l00451"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a7eea0e93f066099f3549fef15881a4cb"> 451</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a7eea0e93f066099f3549fef15881a4cb">QuantizerVisitor::VisitResizeLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_resize_descriptor.html">ResizeDescriptor</a>& resizeDescriptor,</div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span> {</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddResizeLayer(resizeDescriptor, name);</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span> }</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span> </div><div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a990bfe643729a7dedcc55da1f7d1b3bf"> 460</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a990bfe643729a7dedcc55da1f7d1b3bf">QuantizerVisitor::VisitRsqrtLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer, <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span> {</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a237f88794e504388160a87813b66b9e3">VisitElementwiseUnaryLayer</a>(layer, <a class="code" href="structarmnn_1_1_elementwise_unary_descriptor.html">ElementwiseUnaryDescriptor</a>(<a class="code" href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">UnaryOperation::Rsqrt</a>), name);</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span> }</div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span> </div><div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a20a228046c2aacd8664e50841af84e2b"> 465</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a20a228046c2aacd8664e50841af84e2b">QuantizerVisitor::VisitSliceLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_slice_descriptor.html">SliceDescriptor</a>& sliceDescriptor,</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span> {</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddSliceLayer(sliceDescriptor, name);</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span> }</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span> </div><div class="line"><a name="l00474"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a98f34d2511f43324833060154cbdba8d"> 474</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a98f34d2511f43324833060154cbdba8d">QuantizerVisitor::VisitSoftmaxLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_softmax_descriptor.html">SoftmaxDescriptor</a>& softmaxDescriptor,</div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span> {</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddSoftmaxLayer(softmaxDescriptor, name);</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span> }</div><div class="line"><a name="l00482"></a><span class="lineno"> 482</span> </div><div class="line"><a name="l00483"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a8e327cc6432697fd55d6b91e554360d9"> 483</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a8e327cc6432697fd55d6b91e554360d9">QuantizerVisitor::VisitSpaceToBatchNdLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_space_to_batch_nd_descriptor.html">SpaceToBatchNdDescriptor</a>& spaceToBatchNdDescriptor,</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00486"></a><span class="lineno"> 486</span> {</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddSpaceToBatchNdLayer(spaceToBatchNdDescriptor, name);</div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span> }</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span> </div><div class="line"><a name="l00492"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a2c416fbd39598732dd3c6255ceaf1b66"> 492</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a2c416fbd39598732dd3c6255ceaf1b66">QuantizerVisitor::VisitSpaceToDepthLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html">SpaceToDepthDescriptor</a>& spaceToDepthDescriptor,</div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span> {</div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddSpaceToDepthLayer(spaceToDepthDescriptor, name);</div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span> }</div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span> </div><div class="line"><a name="l00501"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#afbea8aa2295f2ab71ea5bb64ccd47871"> 501</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#afbea8aa2295f2ab71ea5bb64ccd47871">QuantizerVisitor::VisitSplitterLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_views_descriptor.html">SplitterDescriptor</a>& splitterDescriptor,</div><div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00504"></a><span class="lineno"> 504</span> {</div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddSplitterLayer(splitterDescriptor, name);</div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00508"></a><span class="lineno"> 508</span> }</div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span> </div><div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a1b4325b20242a2db0922f68aea195d00"> 510</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a1b4325b20242a2db0922f68aea195d00">QuantizerVisitor::VisitStackLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_stack_descriptor.html">StackDescriptor</a>& stackDescriptor,</div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span> {</div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddStackLayer(stackDescriptor, name);</div><div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00516"></a><span class="lineno"> 516</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00517"></a><span class="lineno"> 517</span> }</div><div class="line"><a name="l00518"></a><span class="lineno"> 518</span> </div><div class="line"><a name="l00519"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a61b7aa0305e7c45a625f7835fa26b9b6"> 519</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a61b7aa0305e7c45a625f7835fa26b9b6">QuantizerVisitor::VisitStridedSliceLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_strided_slice_descriptor.html">StridedSliceDescriptor</a>& stridedSliceDescriptor,</div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span> {</div><div class="line"><a name="l00523"></a><span class="lineno"> 523</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddStridedSliceLayer(stridedSliceDescriptor, name);</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span> }</div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span> </div><div class="line"><a name="l00528"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#abffdcc9b528d64b510103f5b280e246e"> 528</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#abffdcc9b528d64b510103f5b280e246e">QuantizerVisitor::VisitSubtractionLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span> {</div><div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddSubtractionLayer(name);</div><div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00534"></a><span class="lineno"> 534</span> }</div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span> </div><div class="line"><a name="l00536"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantizer_visitor.html#a9e7ddd6c869af052317c6de0df53c942"> 536</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantizer_visitor.html#a9e7ddd6c869af052317c6de0df53c942">QuantizerVisitor::VisitTransposeConvolution2dLayer</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer,</div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_transpose_convolution2d_descriptor.html">TransposeConvolution2dDescriptor</a>& descriptor,</div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>& weights,</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a>& biases,</div><div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span> {</div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  <span class="comment">// quantize weights</span></div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span>  std::vector<uint8_t> weightsBacking;</div><div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qWeights = <a class="code" href="namespacearmnn.html#a310dd804fd70eadb1e8854325e63f0bd">CreateQuantizedConst</a>(weights, weightsBacking);</div><div class="line"><a name="l00545"></a><span class="lineno"> 545</span> </div><div class="line"><a name="l00546"></a><span class="lineno"> 546</span>  <span class="comment">// quantize biases</span></div><div class="line"><a name="l00547"></a><span class="lineno"> 547</span>  std::vector<int32_t> biasesBacking;</div><div class="line"><a name="l00548"></a><span class="lineno"> 548</span>  <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a> optionalQBiases;</div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  <span class="keywordflow">if</span> (biases.<a class="code" href="classarmnn_1_1_optional_base.html#a86b749ce2c4bc627fa8a1fcfaf0e314f">has_value</a>())</div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span>  {</div><div class="line"><a name="l00551"></a><span class="lineno"> 551</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> qBiases = CreateQuantizedBias(layer, qWeights, biases, biasesBacking);</div><div class="line"><a name="l00552"></a><span class="lineno"> 552</span>  optionalQBiases = <a class="code" href="classarmnn_1_1_optional.html">Optional<ConstTensor></a>(qBiases);</div><div class="line"><a name="l00553"></a><span class="lineno"> 553</span>  }</div><div class="line"><a name="l00554"></a><span class="lineno"> 554</span> </div><div class="line"><a name="l00555"></a><span class="lineno"> 555</span>  <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* newLayer = m_QuantizedNetwork->AddTransposeConvolution2dLayer(descriptor,</div><div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  qWeights,</div><div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  optionalQBiases,</div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span>  name);</div><div class="line"><a name="l00559"></a><span class="lineno"> 559</span> </div><div class="line"><a name="l00560"></a><span class="lineno"> 560</span>  RecordLayer(layer, newLayer);</div><div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  SetQuantizedInputConnections(layer, newLayer);</div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span> }</div><div class="line"><a name="l00563"></a><span class="lineno"> 563</span> </div><div class="line"><a name="l00564"></a><span class="lineno"> 564</span> } <span class="comment">//namespace armnn</span></div><div class="ttc" id="classarmnn_1_1_input_slot_html"><div class="ttname"><a href="classarmnn_1_1_input_slot.html">armnn::InputSlot</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00041">Layer.hpp:41</a></div></div> |
| 88 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a34f5745a60988b4a109ec213f8d0cb77"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a34f5745a60988b4a109ec213f8d0cb77">armnn::QuantizerVisitor::VisitPreluLayer</a></div><div class="ttdeci">void VisitPreluLayer(const IConnectableLayer *layer, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00421">QuantizerVisitor.cpp:421</a></div></div> |
| 89 | <div class="ttc" id="classarmnn_1_1_i_input_slot_html_a81fbf6103761e55061b62ba989b00f10"><div class="ttname"><a href="classarmnn_1_1_i_input_slot.html#a81fbf6103761e55061b62ba989b00f10">armnn::IInputSlot::GetConnection</a></div><div class="ttdeci">virtual const IOutputSlot * GetConnection() const =0</div></div> |
| 90 | <div class="ttc" id="classarmnn_1_1_i_connectable_layer_html_afb5e65c770f6cee222db8af7581541a6"><div class="ttname"><a href="classarmnn_1_1_i_connectable_layer.html#afb5e65c770f6cee222db8af7581541a6">armnn::IConnectableLayer::GetGuid</a></div><div class="ttdeci">virtual LayerGuid GetGuid() const =0</div></div> |
| 91 | <div class="ttc" id="classarmnn_1_1_layer_html_a8dc12f0ee5b232d397bd18ced1a72a64"><div class="ttname"><a href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">armnn::Layer::GetGuid</a></div><div class="ttdeci">LayerGuid GetGuid() const final</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00316">Layer.hpp:316</a></div></div> |
| 92 | <div class="ttc" id="classarmnn_1_1_input_slot_html_a9effd325a6d512a3f8ff4bd207d53255"><div class="ttname"><a href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">armnn::InputSlot::GetConnectedOutputSlot</a></div><div class="ttdeci">const OutputSlot * GetConnectedOutputSlot() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00055">Layer.hpp:55</a></div></div> |
| 93 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a61b7aa0305e7c45a625f7835fa26b9b6"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a61b7aa0305e7c45a625f7835fa26b9b6">armnn::QuantizerVisitor::VisitStridedSliceLayer</a></div><div class="ttdeci">void VisitStridedSliceLayer(const IConnectableLayer *layer, const StridedSliceDescriptor &stridedSliceDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00519">QuantizerVisitor.cpp:519</a></div></div> |
| 94 | <div class="ttc" id="classarmnn_1_1_i_connectable_layer_html_a6ec9e0eb66d7d6a01240492a0b18104c"><div class="ttname"><a href="classarmnn_1_1_i_connectable_layer.html#a6ec9e0eb66d7d6a01240492a0b18104c">armnn::IConnectableLayer::GetInputSlot</a></div><div class="ttdeci">virtual const IInputSlot & GetInputSlot(unsigned int index) const =0</div></div> |
| 95 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a554e88817e6fd98645388873a108f868"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a554e88817e6fd98645388873a108f868">armnn::QuantizerVisitor::VisitDepthwiseConvolution2dLayer</a></div><div class="ttdeci">void VisitDepthwiseConvolution2dLayer(const IConnectableLayer *layer, const DepthwiseConvolution2dDescriptor &desc, const ConstTensor &weights, const Optional< ConstTensor > &biases, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00250">QuantizerVisitor.cpp:250</a></div></div> |
| 96 | <div class="ttc" id="structarmnn_1_1_batch_to_space_nd_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_batch_to_space_nd_descriptor.html">armnn::BatchToSpaceNdDescriptor</a></div><div class="ttdoc">A BatchToSpaceNdDescriptor for the BatchToSpaceNdLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00657">Descriptors.hpp:657</a></div></div> |
| 97 | <div class="ttc" id="structarmnn_1_1_normalization_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_normalization_descriptor.html">armnn::NormalizationDescriptor</a></div><div class="ttdoc">A NormalizationDescriptor for the NormalizationLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00551">Descriptors.hpp:551</a></div></div> |
| 98 | <div class="ttc" id="classarmnn_1_1_const_tensor_html"><div class="ttname"><a href="classarmnn_1_1_const_tensor.html">armnn::ConstTensor</a></div><div class="ttdoc">A tensor defined by a TensorInfo (shape and data type) and an immutable backing store. </div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00199">Tensor.hpp:199</a></div></div> |
| 99 | <div class="ttc" id="classarmnn_1_1_i_output_slot_html_a9943775a364fc4ab53b85ac88f311886"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">armnn::IOutputSlot::GetTensorInfo</a></div><div class="ttdeci">virtual const TensorInfo & GetTensorInfo() const =0</div></div> |
| 100 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a20a228046c2aacd8664e50841af84e2b"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a20a228046c2aacd8664e50841af84e2b">armnn::QuantizerVisitor::VisitSliceLayer</a></div><div class="ttdeci">void VisitSliceLayer(const IConnectableLayer *layer, const SliceDescriptor &sliceDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00465">QuantizerVisitor.cpp:465</a></div></div> |
| 101 | <div class="ttc" id="structarmnn_1_1_i_quantization_scheme_html_a6a5561395e9693f02258b49dfcc009b4"><div class="ttname"><a href="structarmnn_1_1_i_quantization_scheme.html#a6a5561395e9693f02258b49dfcc009b4">armnn::IQuantizationScheme::ComputeScheme</a></div><div class="ttdeci">virtual OffsetScalePair ComputeScheme(double min, double max) const =0</div></div> |
| 102 | <div class="ttc" id="structarmnn_1_1_i_quantization_scheme_html"><div class="ttname"><a href="structarmnn_1_1_i_quantization_scheme.html">armnn::IQuantizationScheme</a></div><div class="ttdef"><b>Definition:</b> <a href="_network_quantization_scheme_8hpp_source.html#l00018">NetworkQuantizationScheme.hpp:18</a></div></div> |
| 103 | <div class="ttc" id="classarmnn_1_1_optional_html"><div class="ttname"><a href="classarmnn_1_1_optional.html">armnn::Optional</a></div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.html#l00270">Optional.hpp:270</a></div></div> |
| 104 | <div class="ttc" id="namespacearmnn_html_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div> |
| 105 | <div class="ttc" id="structarmnn_1_1_resize_descriptor_html_a46c3fa15c46fb0d1dcdc24d0ea5cb5cd"><div class="ttname"><a href="structarmnn_1_1_resize_descriptor.html#a46c3fa15c46fb0d1dcdc24d0ea5cb5cd">armnn::ResizeDescriptor::m_TargetHeight</a></div><div class="ttdeci">uint32_t m_TargetHeight</div><div class="ttdoc">Target height value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00746">Descriptors.hpp:746</a></div></div> |
| 106 | <div class="ttc" id="classarmnn_1_1_output_slot_html"><div class="ttname"><a href="classarmnn_1_1_output_slot.html">armnn::OutputSlot</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00083">Layer.hpp:83</a></div></div> |
| 107 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a237f88794e504388160a87813b66b9e3"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a237f88794e504388160a87813b66b9e3">armnn::QuantizerVisitor::VisitElementwiseUnaryLayer</a></div><div class="ttdeci">void VisitElementwiseUnaryLayer(const IConnectableLayer *layer, const ElementwiseUnaryDescriptor &elementwiseUnaryDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00276">QuantizerVisitor.cpp:276</a></div></div> |
| 108 | <div class="ttc" id="classarmnn_1_1_layer_html"><div class="ttname"><a href="classarmnn_1_1_layer.html">armnn::Layer</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00209">Layer.hpp:209</a></div></div> |
| 109 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a4a7f7f33591fd91e8fb1c08d06c0733a"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a4a7f7f33591fd91e8fb1c08d06c0733a">armnn::QuantizerVisitor::VisitReshapeLayer</a></div><div class="ttdeci">void VisitReshapeLayer(const IConnectableLayer *layer, const ReshapeDescriptor &reshapeDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00429">QuantizerVisitor.cpp:429</a></div></div> |
| 110 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a1532cb8f551812e784ccc14faae407b9"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a1532cb8f551812e784ccc14faae407b9">armnn::QuantizerVisitor::VisitBatchNormalizationLayer</a></div><div class="ttdeci">void VisitBatchNormalizationLayer(const IConnectableLayer *layer, const BatchNormalizationDescriptor &desc, const ConstTensor &mean, const ConstTensor &variance, const ConstTensor &beta, const ConstTensor &gamma, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00146">QuantizerVisitor.cpp:146</a></div></div> |
| 111 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a72d00eb366b367af08007d472d5edebb"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a72d00eb366b367af08007d472d5edebb">armnn::QuantizerVisitor::QuantizerVisitor</a></div><div class="ttdeci">QuantizerVisitor(const RangeTracker &rangeTracker, const IQuantizationScheme *quantizationScheme, bool preserveType=false)</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00014">QuantizerVisitor.cpp:14</a></div></div> |
| 112 | <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> |
| 113 | <div class="ttc" id="namespacearmnn_html_a310dd804fd70eadb1e8854325e63f0bd"><div class="ttname"><a href="namespacearmnn.html#a310dd804fd70eadb1e8854325e63f0bd">armnn::CreateQuantizedConst</a></div><div class="ttdeci">ConstTensor CreateQuantizedConst(const ConstTensor &tensor, std::vector< uint8_t > &backing)</div><div class="ttdef"><b>Definition:</b> <a href="_network_quantizer_utils_8cpp_source.html#l00015">NetworkQuantizerUtils.cpp:15</a></div></div> |
| 114 | <div class="ttc" id="structarmnn_1_1_resize_descriptor_html_a6089e1ca91914015777ea780a513131a"><div class="ttname"><a href="structarmnn_1_1_resize_descriptor.html#a6089e1ca91914015777ea780a513131a">armnn::ResizeDescriptor::m_DataLayout</a></div><div class="ttdeci">DataLayout m_DataLayout</div><div class="ttdoc">The data layout to be used (NCHW, NHWC). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00751">Descriptors.hpp:751</a></div></div> |
| 115 | <div class="ttc" id="structarmnn_1_1_pad_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_pad_descriptor.html">armnn::PadDescriptor</a></div><div class="ttdoc">A PadDescriptor for the PadLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00901">Descriptors.hpp:901</a></div></div> |
| 116 | <div class="ttc" id="structarmnn_1_1_activation_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_activation_descriptor.html">armnn::ActivationDescriptor</a></div><div class="ttdoc">An ActivationDescriptor for the ActivationLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00020">Descriptors.hpp:20</a></div></div> |
| 117 | <div class="ttc" id="structarmnn_1_1_batch_normalization_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_batch_normalization_descriptor.html">armnn::BatchNormalizationDescriptor</a></div><div class="ttdoc">A BatchNormalizationDescriptor for the BatchNormalizationLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00610">Descriptors.hpp:610</a></div></div> |
| 118 | <div class="ttc" id="structarmnn_1_1_resize_descriptor_html_a869254cb56968986a78a79e1d6d4a86b"><div class="ttname"><a href="structarmnn_1_1_resize_descriptor.html#a869254cb56968986a78a79e1d6d4a86b">armnn::ResizeDescriptor::m_Method</a></div><div class="ttdeci">ResizeMethod m_Method</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00749">Descriptors.hpp:749</a></div></div> |
| 119 | <div class="ttc" id="namespacearmnn_html_a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6"><div class="ttname"><a href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::ActivationFunction::Abs</a></div></div> |
| 120 | <div class="ttc" id="_network_8hpp_html"><div class="ttname"><a href="_network_8hpp.html">Network.hpp</a></div></div> |
| 121 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a7cb4ef1bc9588c4319144460c288022f"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a7cb4ef1bc9588c4319144460c288022f">armnn::QuantizerVisitor::VisitAdditionLayer</a></div><div class="ttdeci">void VisitAdditionLayer(const IConnectableLayer *layer, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00130">QuantizerVisitor.cpp:130</a></div></div> |
| 122 | <div class="ttc" id="_quantizer_visitor_8hpp_html"><div class="ttname"><a href="_quantizer_visitor_8hpp.html">QuantizerVisitor.hpp</a></div></div> |
| 123 | <div class="ttc" id="structarmnn_1_1_resize_bilinear_descriptor_html_adcf5037208faac36c0788239a073f75c"><div class="ttname"><a href="structarmnn_1_1_resize_bilinear_descriptor.html#adcf5037208faac36c0788239a073f75c">armnn::ResizeBilinearDescriptor::m_TargetWidth</a></div><div class="ttdeci">uint32_t m_TargetWidth</div><div class="ttdoc">Target width value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00716">Descriptors.hpp:716</a></div></div> |
| 124 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_aeb652d74e4b3596e85b22c2d52144f73"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#aeb652d74e4b3596e85b22c2d52144f73">armnn::QuantizerVisitor::VisitConstantLayer</a></div><div class="ttdeci">void VisitConstantLayer(const IConnectableLayer *layer, const ConstTensor &input, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00204">QuantizerVisitor.cpp:204</a></div></div> |
| 125 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_ab0946e6e13740185d7b7939720f347f1"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#ab0946e6e13740185d7b7939720f347f1">armnn::QuantizerVisitor::VisitNormalizationLayer</a></div><div class="ttdeci">void VisitNormalizationLayer(const IConnectableLayer *layer, const NormalizationDescriptor &normalizationDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00364">QuantizerVisitor.cpp:364</a></div></div> |
| 126 | <div class="ttc" id="_static_range_visitor_8hpp_html"><div class="ttname"><a href="_static_range_visitor_8hpp.html">StaticRangeVisitor.hpp</a></div></div> |
| 127 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html">armnn::ViewsDescriptor</a></div><div class="ttdoc">A ViewsDescriptor for the SplitterLayer. Descriptor to configure the splitting process. Number of Views must be equal to the number of outputs, and their order must match - e.g. first view corresponds to the first output, second view to the second output, etc. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00190">Descriptors.hpp:190</a></div></div> |
| 128 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_abe0c29cd370a84c3e669d28dda18afb7"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#abe0c29cd370a84c3e669d28dda18afb7">armnn::QuantizerVisitor::VisitLogSoftmaxLayer</a></div><div class="ttdeci">void VisitLogSoftmaxLayer(const IConnectableLayer *layer, const LogSoftmaxDescriptor &logSoftmaxDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00338">QuantizerVisitor.cpp:338</a></div></div> |
| 129 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 130 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_abbdd655f9e0bec625369079ed97f1328"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#abbdd655f9e0bec625369079ed97f1328">armnn::QuantizerVisitor::VisitFullyConnectedLayer</a></div><div class="ttdeci">void VisitFullyConnectedLayer(const IConnectableLayer *layer, const FullyConnectedDescriptor &desc, const ConstTensor &weights, const Optional< ConstTensor > &biases, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00285">QuantizerVisitor.cpp:285</a></div></div> |
| 131 | <div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html">armnn::SpaceToDepthDescriptor</a></div><div class="ttdoc">A SpaceToDepthDescriptor for the SpaceToDepthLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00810">Descriptors.hpp:810</a></div></div> |
| 132 | <div class="ttc" id="structarmnn_1_1_resize_bilinear_descriptor_html_a6089e1ca91914015777ea780a513131a"><div class="ttname"><a href="structarmnn_1_1_resize_bilinear_descriptor.html#a6089e1ca91914015777ea780a513131a">armnn::ResizeBilinearDescriptor::m_DataLayout</a></div><div class="ttdeci">DataLayout m_DataLayout</div><div class="ttdoc">The data layout to be used (NCHW, NHWC). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00720">Descriptors.hpp:720</a></div></div> |
| 133 | <div class="ttc" id="classarmnn_1_1_i_output_slot_html_a5ee4a6c9a2481245487b1b1a70d20fd0"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.html#a5ee4a6c9a2481245487b1b1a70d20fd0">armnn::IOutputSlot::SetTensorInfo</a></div><div class="ttdeci">virtual void SetTensorInfo(const TensorInfo &tensorInfo)=0</div></div> |
| 134 | <div class="ttc" id="structarmnn_1_1_reshape_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_reshape_descriptor.html">armnn::ReshapeDescriptor</a></div><div class="ttdoc">A ReshapeDescriptor for the ReshapeLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00758">Descriptors.hpp:758</a></div></div> |
| 135 | <div class="ttc" id="structarmnn_1_1_i_quantization_scheme_html_ad23181f9f8fcc85758f62c49fc7ca23f"><div class="ttname"><a href="structarmnn_1_1_i_quantization_scheme.html#ad23181f9f8fcc85758f62c49fc7ca23f">armnn::IQuantizationScheme::GetDataType</a></div><div class="ttdeci">virtual DataType GetDataType() const =0</div></div> |
| 136 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_afb527e0c7c30b56da911fee8c7b7a011"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#afb527e0c7c30b56da911fee8c7b7a011">armnn::QuantizerVisitor::VisitConcatLayer</a></div><div class="ttdeci">void VisitConcatLayer(const IConnectableLayer *layer, const OriginsDescriptor &originsDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00195">QuantizerVisitor.cpp:195</a></div></div> |
| 137 | <div class="ttc" id="structarmnn_1_1_transpose_convolution2d_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_transpose_convolution2d_descriptor.html">armnn::TransposeConvolution2dDescriptor</a></div><div class="ttdoc">A TransposeConvolution2dDescriptor for the TransposeConvolution2dLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l01079">Descriptors.hpp:1079</a></div></div> |
| 138 | <div class="ttc" id="structarmnn_1_1_elementwise_unary_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_elementwise_unary_descriptor.html">armnn::ElementwiseUnaryDescriptor</a></div><div class="ttdoc">A ElementwiseUnaryDescriptor for the ElementwiseUnaryLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00082">Descriptors.hpp:82</a></div></div> |
| 139 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_ac2f379ba77b06095e0c024e232ec1fd4"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#ac2f379ba77b06095e0c024e232ec1fd4">armnn::QuantizerVisitor::VisitConvolution2dLayer</a></div><div class="ttdeci">void VisitConvolution2dLayer(const IConnectableLayer *layer, const Convolution2dDescriptor &convolution2dDescriptor, const ConstTensor &weights, const Optional< ConstTensor > &biases, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00215">QuantizerVisitor.cpp:215</a></div></div> |
| 140 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a8667c9d0c42575e31c7a630fea8c7256"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a8667c9d0c42575e31c7a630fea8c7256">armnn::QuantizerVisitor::VisitPermuteLayer</a></div><div class="ttdeci">void VisitPermuteLayer(const IConnectableLayer *layer, const PermuteDescriptor &permuteDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00403">QuantizerVisitor.cpp:403</a></div></div> |
| 141 | <div class="ttc" id="classarmnn_1_1_i_network_html"><div class="ttname"><a href="classarmnn_1_1_i_network.html">armnn::INetwork</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_network_8hpp_source.html#l00089">INetwork.hpp:89</a></div></div> |
| 142 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_aaee763832ceb783dcffde56e1c1a6d93"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#aaee763832ceb783dcffde56e1c1a6d93">armnn::QuantizerVisitor::VisitPooling2dLayer</a></div><div class="ttdeci">void VisitPooling2dLayer(const IConnectableLayer *layer, const Pooling2dDescriptor &pooling2dDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00412">QuantizerVisitor.cpp:412</a></div></div> |
| 143 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_abffdcc9b528d64b510103f5b280e246e"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#abffdcc9b528d64b510103f5b280e246e">armnn::QuantizerVisitor::VisitSubtractionLayer</a></div><div class="ttdeci">void VisitSubtractionLayer(const IConnectableLayer *layer, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00528">QuantizerVisitor.cpp:528</a></div></div> |
| 144 | <div class="ttc" id="_network_quantizer_utils_8hpp_html"><div class="ttname"><a href="_network_quantizer_utils_8hpp.html">NetworkQuantizerUtils.hpp</a></div></div> |
| 145 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a2c416fbd39598732dd3c6255ceaf1b66"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a2c416fbd39598732dd3c6255ceaf1b66">armnn::QuantizerVisitor::VisitSpaceToDepthLayer</a></div><div class="ttdeci">void VisitSpaceToDepthLayer(const IConnectableLayer *layer, const SpaceToDepthDescriptor &spaceToDepthDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00492">QuantizerVisitor.cpp:492</a></div></div> |
| 146 | <div class="ttc" id="classarmnn_1_1_output_slot_html_a27545b353e48a739981d345b64bb9dc9"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#a27545b353e48a739981d345b64bb9dc9">armnn::OutputSlot::CalculateIndexOnOwner</a></div><div class="ttdeci">unsigned int CalculateIndexOnOwner() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00125">Layer.cpp:125</a></div></div> |
| 147 | <div class="ttc" id="structarmnn_1_1_instance_normalization_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_instance_normalization_descriptor.html">armnn::InstanceNormalizationDescriptor</a></div><div class="ttdoc">An InstanceNormalizationDescriptor for InstanceNormalizationLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00629">Descriptors.hpp:629</a></div></div> |
| 148 | <div class="ttc" id="classarmnn_1_1_i_input_slot_html"><div class="ttname"><a href="classarmnn_1_1_i_input_slot.html">armnn::IInputSlot</a></div><div class="ttdoc">An input connection slot for a layer. The input slot can be connected to an output slot of the preced...</div><div class="ttdef"><b>Definition:</b> <a href="_i_network_8hpp_source.html#l00024">INetwork.hpp:24</a></div></div> |
| 149 | <div class="ttc" id="structarmnn_1_1_fully_connected_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_fully_connected_descriptor.html">armnn::FullyConnectedDescriptor</a></div><div class="ttdoc">A FullyConnectedDescriptor for the FullyConnectedLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00373">Descriptors.hpp:373</a></div></div> |
| 150 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a5abbca55c908440acecfa6e0f921092d"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a5abbca55c908440acecfa6e0f921092d">armnn::QuantizerVisitor::VisitResizeBilinearLayer</a></div><div class="ttdeci">void VisitResizeBilinearLayer(const IConnectableLayer *layer, const ResizeBilinearDescriptor &resizeDesc, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00438">QuantizerVisitor.cpp:438</a></div></div> |
| 151 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a9e7ddd6c869af052317c6de0df53c942"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a9e7ddd6c869af052317c6de0df53c942">armnn::QuantizerVisitor::VisitTransposeConvolution2dLayer</a></div><div class="ttdeci">void VisitTransposeConvolution2dLayer(const IConnectableLayer *layer, const TransposeConvolution2dDescriptor &descriptor, const ConstTensor &weights, const Optional< ConstTensor > &biases, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00536">QuantizerVisitor.cpp:536</a></div></div> |
| 152 | <div class="ttc" id="namespacearmnn_html"><div class="ttname"><a href="namespacearmnn.html">armnn</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_helper_8hpp_source.html#l00011">BackendHelper.hpp:11</a></div></div> |
| 153 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7">armnn::DataType::Signed32</a></div></div> |
| 154 | <div class="ttc" id="classarmnn_1_1_base_tensor_html_a8aeddebdcf02e1832b22203c08a6b678"><div class="ttname"><a href="classarmnn_1_1_base_tensor.html#a8aeddebdcf02e1832b22203c08a6b678">armnn::BaseTensor::GetInfo</a></div><div class="ttdeci">const TensorInfo & GetInfo() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00167">Tensor.hpp:167</a></div></div> |
| 155 | <div class="ttc" id="structarmnn_1_1_stack_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_stack_descriptor.html">armnn::StackDescriptor</a></div><div class="ttdoc">A StackDescriptor for the StackLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00950">Descriptors.hpp:950</a></div></div> |
| 156 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a98f34d2511f43324833060154cbdba8d"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a98f34d2511f43324833060154cbdba8d">armnn::QuantizerVisitor::VisitSoftmaxLayer</a></div><div class="ttdeci">void VisitSoftmaxLayer(const IConnectableLayer *layer, const SoftmaxDescriptor &softmaxDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00474">QuantizerVisitor.cpp:474</a></div></div> |
| 157 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a0b4b2e9b5578bf50197c6929a6a48071"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a0b4b2e9b5578bf50197c6929a6a48071">armnn::QuantizerVisitor::VisitPadLayer</a></div><div class="ttdeci">void VisitPadLayer(const IConnectableLayer *, const PadDescriptor &, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00394">QuantizerVisitor.cpp:394</a></div></div> |
| 158 | <div class="ttc" id="structarmnn_1_1_resize_bilinear_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_resize_bilinear_descriptor.html">armnn::ResizeBilinearDescriptor</a></div><div class="ttdoc">A ResizeBilinearDescriptor for the ResizeBilinearLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00707">Descriptors.hpp:707</a></div></div> |
| 159 | <div class="ttc" id="structarmnn_1_1_softmax_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_softmax_descriptor.html">armnn::SoftmaxDescriptor</a></div><div class="ttdoc">A SoftmaxDescriptor for the SoftmaxLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00123">Descriptors.hpp:123</a></div></div> |
| 160 | <div class="ttc" id="classarmnn_1_1_i_output_slot_html"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.html">armnn::IOutputSlot</a></div><div class="ttdoc">An output connection slot for a layer. The output slot may be connected to 1 or more input slots of s...</div><div class="ttdef"><b>Definition:</b> <a href="_i_network_8hpp_source.html#l00037">INetwork.hpp:37</a></div></div> |
| 161 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a1c587861e672cedaedd1f32bbce44afc"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a1c587861e672cedaedd1f32bbce44afc">armnn::QuantizerVisitor::VisitMultiplicationLayer</a></div><div class="ttdeci">void VisitMultiplicationLayer(const IConnectableLayer *layer, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00356">QuantizerVisitor.cpp:356</a></div></div> |
| 162 | <div class="ttc" id="structarmnn_1_1_resize_descriptor_html_adcf5037208faac36c0788239a073f75c"><div class="ttname"><a href="structarmnn_1_1_resize_descriptor.html#adcf5037208faac36c0788239a073f75c">armnn::ResizeDescriptor::m_TargetWidth</a></div><div class="ttdeci">uint32_t m_TargetWidth</div><div class="ttdoc">Target width value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00744">Descriptors.hpp:744</a></div></div> |
| 163 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a1b4325b20242a2db0922f68aea195d00"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a1b4325b20242a2db0922f68aea195d00">armnn::QuantizerVisitor::VisitStackLayer</a></div><div class="ttdeci">void VisitStackLayer(const IConnectableLayer *layer, const StackDescriptor &stackDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00510">QuantizerVisitor.cpp:510</a></div></div> |
| 164 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a6a1adf7bf81e5cbb74b4cc4e8946c653"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a6a1adf7bf81e5cbb74b4cc4e8946c653">armnn::QuantizerVisitor::VisitComparisonLayer</a></div><div class="ttdeci">void VisitComparisonLayer(const IConnectableLayer *layer, const ComparisonDescriptor &comparisonDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00186">QuantizerVisitor.cpp:186</a></div></div> |
| 165 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_af493528dec93f39f5081dbefb40bff75"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#af493528dec93f39f5081dbefb40bff75">armnn::QuantizerVisitor::VisitActivationLayer</a></div><div class="ttdeci">void VisitActivationLayer(const IConnectableLayer *layer, const ActivationDescriptor &activationDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00121">QuantizerVisitor.cpp:121</a></div></div> |
| 166 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a0a2f55bda910ccf8816d2678b7c980b6"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a0a2f55bda910ccf8816d2678b7c980b6">armnn::QuantizerVisitor::VisitMeanLayer</a></div><div class="ttdeci">void VisitMeanLayer(const IConnectableLayer *layer, const MeanDescriptor &meanDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00347">QuantizerVisitor.cpp:347</a></div></div> |
| 167 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a2ca539d734553e606c0134940e444298"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a2ca539d734553e606c0134940e444298">armnn::QuantizerVisitor::VisitInputLayer</a></div><div class="ttdeci">void VisitInputLayer(const IConnectableLayer *layer, LayerBindingId id, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00311">QuantizerVisitor.cpp:311</a></div></div> |
| 168 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a></div><div class="ttdeci">DataType</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00032">Types.hpp:32</a></div></div> |
| 169 | <div class="ttc" id="classarmnn_1_1_range_tracker_html_a507bae23f59e94b4161886ebe663cdf4"><div class="ttname"><a href="classarmnn_1_1_range_tracker.html#a507bae23f59e94b4161886ebe663cdf4">armnn::RangeTracker::GetRange</a></div><div class="ttdeci">MinMaxRange GetRange(LayerGuid guid, unsigned int idx) const</div><div class="ttdoc">Retrieve the Range for a particular output slot on a particular layer. </div><div class="ttdef"><b>Definition:</b> <a href="_range_tracker_8cpp_source.html#l00029">RangeTracker.cpp:29</a></div></div> |
| 170 | <div class="ttc" id="classarmnn_1_1_range_tracker_html"><div class="ttname"><a href="classarmnn_1_1_range_tracker.html">armnn::RangeTracker</a></div><div class="ttdef"><b>Definition:</b> <a href="_range_tracker_8hpp_source.html#l00017">RangeTracker.hpp:17</a></div></div> |
| 171 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_afbea8aa2295f2ab71ea5bb64ccd47871"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#afbea8aa2295f2ab71ea5bb64ccd47871">armnn::QuantizerVisitor::VisitSplitterLayer</a></div><div class="ttdeci">void VisitSplitterLayer(const IConnectableLayer *layer, const SplitterDescriptor &splitterDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00501">QuantizerVisitor.cpp:501</a></div></div> |
| 172 | <div class="ttc" id="classarmnn_1_1_i_connectable_layer_html"><div class="ttname"><a href="classarmnn_1_1_i_connectable_layer.html">armnn::IConnectableLayer</a></div><div class="ttdoc">Interface for a layer that is connectable to other layers via InputSlots and OutputSlots. </div><div class="ttdef"><b>Definition:</b> <a href="_i_network_8hpp_source.html#l00061">INetwork.hpp:61</a></div></div> |
| 173 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 174 | <div class="ttc" id="classarmnn_1_1_tensor_info_html_aea909c7327109228ef618d459015def3"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#aea909c7327109228ef618d459015def3">armnn::TensorInfo::GetDataType</a></div><div class="ttdeci">DataType GetDataType() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00095">Tensor.hpp:95</a></div></div> |
| 175 | <div class="ttc" id="structarmnn_1_1_pooling2d_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_pooling2d_descriptor.html">armnn::Pooling2dDescriptor</a></div><div class="ttdoc">A Pooling2dDescriptor for the Pooling2dLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00313">Descriptors.hpp:313</a></div></div> |
| 176 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_af5d09e03a578afa9c0bb8afd11c65485"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#af5d09e03a578afa9c0bb8afd11c65485">armnn::QuantizerVisitor::VisitBatchToSpaceNdLayer</a></div><div class="ttdeci">void VisitBatchToSpaceNdLayer(const IConnectableLayer *layer, const BatchToSpaceNdDescriptor &batchToSpaceNdDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00177">QuantizerVisitor.cpp:177</a></div></div> |
| 177 | <div class="ttc" id="classarmnn_1_1_i_connectable_layer_html_a9c2cba04b6d7ace4fc2a2436b82a5a63"><div class="ttname"><a href="classarmnn_1_1_i_connectable_layer.html#a9c2cba04b6d7ace4fc2a2436b82a5a63">armnn::IConnectableLayer::GetNumInputSlots</a></div><div class="ttdeci">virtual unsigned int GetNumInputSlots() const =0</div></div> |
| 178 | <div class="ttc" id="structarmnn_1_1_slice_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_slice_descriptor.html">armnn::SliceDescriptor</a></div><div class="ttdoc">A SliceDescriptor for the SliceLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00927">Descriptors.hpp:927</a></div></div> |
| 179 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_ac6da520014db9cd2d4bede451e37ca0a"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#ac6da520014db9cd2d4bede451e37ca0a">armnn::QuantizerVisitor::VisitInstanceNormalizationLayer</a></div><div class="ttdeci">void VisitInstanceNormalizationLayer(const IConnectableLayer *layer, const InstanceNormalizationDescriptor &instanceNormalizationDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00329">QuantizerVisitor.cpp:329</a></div></div> |
| 180 | <div class="ttc" id="namespacearmnn_html_a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f"><div class="ttname"><a href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f">armnn::ResizeMethod::Bilinear</a></div></div> |
| 181 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a4abca3536debe2dac00f1d6a0b14a435"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a4abca3536debe2dac00f1d6a0b14a435">armnn::QuantizerVisitor::VisitAbsLayer</a></div><div class="ttdeci">void VisitAbsLayer(const IConnectableLayer *layer, const char *name=nullptr) override</div><div class="ttdoc">Functions to quantize the individual layers, overridden from ILayerVisitor. </div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00116">QuantizerVisitor.cpp:116</a></div></div> |
| 182 | <div class="ttc" id="structarmnn_1_1_depthwise_convolution2d_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_depthwise_convolution2d_descriptor.html">armnn::DepthwiseConvolution2dDescriptor</a></div><div class="ttdoc">A DepthwiseConvolution2dDescriptor for the DepthwiseConvolution2dLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00444">Descriptors.hpp:444</a></div></div> |
| 183 | <div class="ttc" id="namespacearmnn_html_a9b8e5a95f8c061bbbcdb036915dcb61a"><div class="ttname"><a href="namespacearmnn.html#a9b8e5a95f8c061bbbcdb036915dcb61a">armnn::OffsetScalePair</a></div><div class="ttdeci">std::pair< float, int > OffsetScalePair</div><div class="ttdef"><b>Definition:</b> <a href="_network_quantization_scheme_8hpp_source.html#l00016">NetworkQuantizationScheme.hpp:16</a></div></div> |
| 184 | <div class="ttc" id="namespacearmnn_html_a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4"><div class="ttname"><a href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">armnn::UnaryOperation::Rsqrt</a></div></div> |
| 185 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_ac75d60924c52b96ea6f9567fcfa2db10"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#ac75d60924c52b96ea6f9567fcfa2db10">armnn::QuantizerVisitor::VisitOutputLayer</a></div><div class="ttdeci">void VisitOutputLayer(const IConnectableLayer *layer, LayerBindingId id, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00373">QuantizerVisitor.cpp:373</a></div></div> |
| 186 | <div class="ttc" id="structarmnn_1_1_permute_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_permute_descriptor.html">armnn::PermuteDescriptor</a></div><div class="ttdoc">A PermuteDescriptor for the PermuteLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00102">Descriptors.hpp:102</a></div></div> |
| 187 | <div class="ttc" id="structarmnn_1_1_convolution2d_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_convolution2d_descriptor.html">armnn::Convolution2dDescriptor</a></div><div class="ttdoc">A Convolution2dDescriptor for the Convolution2dLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00392">Descriptors.hpp:392</a></div></div> |
| 188 | <div class="ttc" id="structarmnn_1_1_resize_bilinear_descriptor_html_a46c3fa15c46fb0d1dcdc24d0ea5cb5cd"><div class="ttname"><a href="structarmnn_1_1_resize_bilinear_descriptor.html#a46c3fa15c46fb0d1dcdc24d0ea5cb5cd">armnn::ResizeBilinearDescriptor::m_TargetHeight</a></div><div class="ttdeci">uint32_t m_TargetHeight</div><div class="ttdoc">Target height value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00718">Descriptors.hpp:718</a></div></div> |
| 189 | <div class="ttc" id="structarmnn_1_1_mean_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_mean_descriptor.html">armnn::MeanDescriptor</a></div><div class="ttdoc">A MeanDescriptor for the MeanLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00877">Descriptors.hpp:877</a></div></div> |
| 190 | <div class="ttc" id="classarmnn_1_1_i_output_slot_html_ac1835f8756a9f03c02fcf9664e3a0fce"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.html#ac1835f8756a9f03c02fcf9664e3a0fce">armnn::IOutputSlot::Connect</a></div><div class="ttdeci">virtual int Connect(IInputSlot &destination)=0</div></div> |
| 191 | <div class="ttc" id="structarmnn_1_1_space_to_batch_nd_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_space_to_batch_nd_descriptor.html">armnn::SpaceToBatchNdDescriptor</a></div><div class="ttdoc">A SpaceToBatchNdDescriptor for the SpaceToBatchNdLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00778">Descriptors.hpp:778</a></div></div> |
| 192 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a7eea0e93f066099f3549fef15881a4cb"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a7eea0e93f066099f3549fef15881a4cb">armnn::QuantizerVisitor::VisitResizeLayer</a></div><div class="ttdeci">void VisitResizeLayer(const IConnectableLayer *layer, const ResizeDescriptor &resizeDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00451">QuantizerVisitor.cpp:451</a></div></div> |
| 193 | <div class="ttc" id="classarmnn_1_1_output_slot_html_ada2ad7d1caeeb4ef6195c8925fad6a65"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">armnn::OutputSlot::GetTensorInfo</a></div><div class="ttdeci">const TensorInfo & GetTensorInfo() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00063">Layer.cpp:63</a></div></div> |
| 194 | <div class="ttc" id="structarmnn_1_1_arg_min_max_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_arg_min_max_descriptor.html">armnn::ArgMinMaxDescriptor</a></div><div class="ttdoc">An ArgMinMaxDescriptor for ArgMinMaxLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00043">Descriptors.hpp:43</a></div></div> |
| 195 | <div class="ttc" id="classarmnn_1_1_optional_base_html_a86b749ce2c4bc627fa8a1fcfaf0e314f"><div class="ttname"><a href="classarmnn_1_1_optional_base.html#a86b749ce2c4bc627fa8a1fcfaf0e314f">armnn::OptionalBase::has_value</a></div><div class="ttdeci">bool has_value() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.html#l00053">Optional.hpp:53</a></div></div> |
| 196 | <div class="ttc" id="classarmnn_1_1_output_slot_html_a7ddaf04177053a536f0e7be83a642bc6"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#a7ddaf04177053a536f0e7be83a642bc6">armnn::OutputSlot::GetOwningLayer</a></div><div class="ttdeci">Layer & GetOwningLayer() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00115">Layer.hpp:115</a></div></div> |
| 197 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_ac0daac0e6ce49805580a8a50a8d3d514"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#ac0daac0e6ce49805580a8a50a8d3d514">armnn::QuantizerVisitor::VisitDepthToSpaceLayer</a></div><div class="ttdeci">void VisitDepthToSpaceLayer(const IConnectableLayer *layer, const DepthToSpaceDescriptor &depthToSpaceDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00241">QuantizerVisitor.cpp:241</a></div></div> |
| 198 | <div class="ttc" id="namespacearmnn_html_ab8cf8f9fb6792e654c2d8d8382f6f01b"><div class="ttname"><a href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">armnn::LayerBindingId</a></div><div class="ttdeci">int LayerBindingId</div><div class="ttdoc">Type of identifiers for bindable layers (inputs, outputs). </div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00168">Types.hpp:168</a></div></div> |
| 199 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a2482bba03a17e59a8ead45530e8efea5"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a2482bba03a17e59a8ead45530e8efea5">armnn::QuantizerVisitor::VisitArgMinMaxLayer</a></div><div class="ttdeci">void VisitArgMinMaxLayer(const IConnectableLayer *layer, const ArgMinMaxDescriptor &argMinMaxDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00137">QuantizerVisitor.cpp:137</a></div></div> |
| 200 | <div class="ttc" id="structarmnn_1_1_resize_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_resize_descriptor.html">armnn::ResizeDescriptor</a></div><div class="ttdoc">A ResizeDescriptor for the ResizeLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00724">Descriptors.hpp:724</a></div></div> |
| 201 | <div class="ttc" id="structarmnn_1_1_comparison_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_comparison_descriptor.html">armnn::ComparisonDescriptor</a></div><div class="ttdoc">A ComparisonDescriptor for the ComparisonLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00062">Descriptors.hpp:62</a></div></div> |
| 202 | <div class="ttc" id="classarmnn_1_1_i_connectable_layer_html_a80ac4eda2e7f2757ec9dd96fc96dbd16"><div class="ttname"><a href="classarmnn_1_1_i_connectable_layer.html#a80ac4eda2e7f2757ec9dd96fc96dbd16">armnn::IConnectableLayer::GetOutputSlot</a></div><div class="ttdeci">virtual const IOutputSlot & GetOutputSlot(unsigned int index) const =0</div></div> |
| 203 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a990bfe643729a7dedcc55da1f7d1b3bf"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a990bfe643729a7dedcc55da1f7d1b3bf">armnn::QuantizerVisitor::VisitRsqrtLayer</a></div><div class="ttdeci">void VisitRsqrtLayer(const IConnectableLayer *, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00460">QuantizerVisitor.cpp:460</a></div></div> |
| 204 | <div class="ttc" id="classarmnn_1_1_tensor_info_html_a047ca888c43bd7fb5702853bf72410d0"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a047ca888c43bd7fb5702853bf72410d0">armnn::TensorInfo::GetQuantizationScale</a></div><div class="ttdeci">float GetQuantizationScale() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.html#l00247">Tensor.cpp:247</a></div></div> |
| 205 | <div class="ttc" id="classarmnn_1_1_quantizer_visitor_html_a8e327cc6432697fd55d6b91e554360d9"><div class="ttname"><a href="classarmnn_1_1_quantizer_visitor.html#a8e327cc6432697fd55d6b91e554360d9">armnn::QuantizerVisitor::VisitSpaceToBatchNdLayer</a></div><div class="ttdeci">void VisitSpaceToBatchNdLayer(const IConnectableLayer *layer, const SpaceToBatchNdDescriptor &spaceToBatchNdDescriptor, const char *name=nullptr) override</div><div class="ttdef"><b>Definition:</b> <a href="_quantizer_visitor_8cpp_source.html#l00483">QuantizerVisitor.cpp:483</a></div></div> |
| 206 | <div class="ttc" id="structarmnn_1_1_origins_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.html">armnn::OriginsDescriptor</a></div><div class="ttdoc">An OriginsDescriptor for the ConcatLayer. Descriptor to configure the concatenation process...</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00147">Descriptors.hpp:147</a></div></div> |
| 207 | <div class="ttc" id="classarmnn_1_1_optional_reference_switch_html_a77c7d528ac063d870b8c8426ec81c1c3"><div class="ttname"><a href="classarmnn_1_1_optional_reference_switch.html#a77c7d528ac063d870b8c8426ec81c1c3">armnn::OptionalReferenceSwitch< std::is_reference< T >::value, T >::value</a></div><div class="ttdeci">const T & value() const</div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.html#l00146">Optional.hpp:146</a></div></div> |
| 208 | <div class="ttc" id="structarmnn_1_1_strided_slice_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_strided_slice_descriptor.html">armnn::StridedSliceDescriptor</a></div><div class="ttdoc">A StridedSliceDescriptor for the StridedSliceLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l01002">Descriptors.hpp:1002</a></div></div> |
| 209 | </div><!-- fragment --></div><!-- contents --> |
| 210 | </div><!-- doc-content --> |
| 211 | <!-- start footer part --> |
| 212 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 213 | <ul> |
| 214 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_e0a84d05c80a2ef4231141dcbbeac5c8.html">armnn</a></li><li class="navelem"><a class="el" href="_quantizer_visitor_8cpp.html">QuantizerVisitor.cpp</a></li> |
| 215 | <li class="footer">Generated on Fri Mar 13 2020 16:06:54 for ArmNN by |
| 216 | <a href="http://www.doxygen.org/index.html"> |
| 217 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 218 | </ul> |
| 219 | </div> |
| 220 | </body> |
| 221 | </html> |