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/StaticRangeVisitor.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('_static_range_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">StaticRangeVisitor.cpp</div> </div> |
| 85 | </div><!--header--> |
| 86 | <div class="contents"> |
| 87 | <a href="_static_range_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="_static_range_visitor_8hpp.html">StaticRangeVisitor.hpp</a>"</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <boost/core/ignore_unused.hpp></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <<a class="code" href="_descriptors_8hpp.html">armnn/Descriptors.hpp</a>></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <<a class="code" href="_types_8hpp.html">armnn/Types.hpp</a>></span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <limits></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"> 14</span> <span class="keyword">namespace </span><a class="code" href="namespacearmnn.html">armnn</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#ad9a8ed92b7844396ca754c269a88f813"> 17</a></span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#ad9a8ed92b7844396ca754c269a88f813">StaticRangeVisitor::StaticRangeVisitor</a>(<a class="code" href="classarmnn_1_1_range_tracker.html">RangeTracker</a>& rangeTracker)</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  : m_RangeTracker(rangeTracker)</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> {}</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keywordtype">void</span> StaticRangeVisitor::SetRange(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* layer, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputIdx, <span class="keywordtype">float</span> min, <span class="keywordtype">float</span> max)</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>  m_RangeTracker.<a class="code" href="classarmnn_1_1_range_tracker.html#a2f058d459a4f21569be3266227f2f6e5">SetRange</a>(layer, outputIdx, min, max);</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> }</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">void</span> StaticRangeVisitor::ForwardParentParameters(<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="l00027"></a><span class="lineno"> 27</span> {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">const</span> <span class="keyword">auto</span> parentRange = m_RangeTracker.<a class="code" href="classarmnn_1_1_range_tracker.html#a507bae23f59e94b4161886ebe663cdf4">GetRange</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#ad0c3555b126975ad6b3e250fe2a59534">GetOwningLayerGuid</a>(), 0);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  SetRange(layer, 0, parentRange.first, parentRange.second);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#a7cb4ef1bc9588c4319144460c288022f"> 32</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#a7cb4ef1bc9588c4319144460c288022f">StaticRangeVisitor::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="l00033"></a><span class="lineno"> 33</span> {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  SetRange(layer, 0, -20.f, 20.f);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> }</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#a1532cb8f551812e784ccc14faae407b9"> 38</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#a1532cb8f551812e784ccc14faae407b9">StaticRangeVisitor::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="l00039"></a><span class="lineno"> 39</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="l00040"></a><span class="lineno"> 40</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="l00041"></a><span class="lineno"> 41</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="l00042"></a><span class="lineno"> 42</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="l00043"></a><span class="lineno"> 43</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="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</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>  boost::ignore_unused(desc);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  boost::ignore_unused(mean);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  boost::ignore_unused(variance);</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  boost::ignore_unused(beta);</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  boost::ignore_unused(gamma);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  SetRange(layer, 0, -15.0f, 15.0f);</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> }</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#ac2f379ba77b06095e0c024e232ec1fd4"> 55</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#ac2f379ba77b06095e0c024e232ec1fd4">StaticRangeVisitor::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="l00056"></a><span class="lineno"> 56</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="l00057"></a><span class="lineno"> 57</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="l00058"></a><span class="lineno"> 58</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="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> {</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  boost::ignore_unused(convolution2dDescriptor);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  boost::ignore_unused(weights);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  boost::ignore_unused(biases);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  SetRange(layer, 0, -15.0f, 15.0f);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> }</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#a554e88817e6fd98645388873a108f868"> 68</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#a554e88817e6fd98645388873a108f868">StaticRangeVisitor::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="l00069"></a><span class="lineno"> 69</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="l00070"></a><span class="lineno"> 70</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="l00071"></a><span class="lineno"> 71</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="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> {</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  boost::ignore_unused(desc);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  boost::ignore_unused(weights);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  boost::ignore_unused(biases);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  SetRange(layer, 0, -15.0f, 15.0f);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#af493528dec93f39f5081dbefb40bff75"> 81</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#af493528dec93f39f5081dbefb40bff75">StaticRangeVisitor::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="l00082"></a><span class="lineno"> 82</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="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> {</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordflow">switch</span> (activationDescriptor.<a class="code" href="structarmnn_1_1_activation_descriptor.html#af10fa7883e3579950f477bee92a64844">m_Function</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>  <span class="comment">// Range is 0, 15 for Abs, Linear, ReLu and Soft ReLu</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">ActivationFunction::Abs</a>:</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa32a843da6ea40ab3b17a3421ccdf671b">ActivationFunction::Linear</a>:</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa3d90c0a5ab3fcf8e6f6608cb3d3a1559">ActivationFunction::ReLu</a>:</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa6bba7052636d1740303b1b2ef3b53fef">ActivationFunction::SoftReLu</a>:</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  SetRange(layer, 0, 0.f, 15.f);</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d">ActivationFunction::BoundedReLu</a>:</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  SetRange(layer, 0, 0.f, activationDescriptor.<a class="code" href="structarmnn_1_1_activation_descriptor.html#a017b2990003a014234f13e999dc7c689">m_A</a>);</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa23b68da1de2b77d74da9da2635722a3e">ActivationFunction::TanH</a>:</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  SetRange(layer, 0, -1.f, 1.f);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaacb7667f5ec2f6e8a5943b781ba6c2735">ActivationFunction::LeakyReLu</a>:</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  SetRange(layer, 0, -5.f, 15.f);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  SetRange(layer, 0, -15.f, 15.f);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  }</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> }</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#ac98eae261af6c8d5f7161a01a1959e72"> 110</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#ac98eae261af6c8d5f7161a01a1959e72">StaticRangeVisitor::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="l00111"></a><span class="lineno"> 111</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="l00112"></a><span class="lineno"> 112</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="l00113"></a><span class="lineno"> 113</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="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *name)</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> {</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  boost::ignore_unused(desc);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  boost::ignore_unused(weights);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  boost::ignore_unused(biases);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  SetRange(layer, 0, -15.0f, 15.0f);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> }</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#ad5532a4626c0228acc7b01fa0f5515eb"> 123</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#ad5532a4626c0228acc7b01fa0f5515eb">StaticRangeVisitor::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="l00124"></a><span class="lineno"> 124</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="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> {</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  boost::ignore_unused(permuteDescriptor);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  ForwardParentParameters(layer);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> }</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#a8e327cc6432697fd55d6b91e554360d9"> 132</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#a8e327cc6432697fd55d6b91e554360d9">StaticRangeVisitor::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="l00133"></a><span class="lineno"> 133</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="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</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>  boost::ignore_unused(spaceToBatchNdDescriptor);</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  ForwardParentParameters(layer);</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> }</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#aaca77d69321f5ba94d639fe40dbd0b1c"> 141</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#aaca77d69321f5ba94d639fe40dbd0b1c">StaticRangeVisitor::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="l00142"></a><span class="lineno"> 142</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="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</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>  boost::ignore_unused(pooling2dDescriptor);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  ForwardParentParameters(layer);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> }</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#a98f34d2511f43324833060154cbdba8d"> 150</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#a98f34d2511f43324833060154cbdba8d">StaticRangeVisitor::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="l00151"></a><span class="lineno"> 151</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="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>  boost::ignore_unused(softmaxDescriptor);</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  SetRange(layer, 0, 0.f, 1.f);</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> }</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#afb527e0c7c30b56da911fee8c7b7a011"> 159</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#afb527e0c7c30b56da911fee8c7b7a011">StaticRangeVisitor::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="l00160"></a><span class="lineno"> 160</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="l00161"></a><span class="lineno"> 161</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</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>  boost::ignore_unused(originsDescriptor);</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordtype">float</span> min = std::numeric_limits<float>::max();</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordtype">float</span> max = std::numeric_limits<float>::lowest();</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < layer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a9c2cba04b6d7ace4fc2a2436b82a5a63">GetNumInputSlots</a>(); ++i)</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_output_slot.html">IOutputSlot</a>* outputSlot = layer-><a class="code" href="classarmnn_1_1_i_connectable_layer.html#a6ec9e0eb66d7d6a01240492a0b18104c">GetInputSlot</a>(i).<a class="code" href="classarmnn_1_1_i_input_slot.html#a81fbf6103761e55061b62ba989b00f10">GetConnection</a>();</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_guid.html">LayerGuid</a> layerId = outputSlot-><a class="code" href="classarmnn_1_1_i_output_slot.html#ad0c3555b126975ad6b3e250fe2a59534">GetOwningLayerGuid</a>();</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> slotIndex = outputSlot-><a class="code" href="classarmnn_1_1_i_output_slot.html#a41d30a9cd272e05986d71a69d6ad618b">CalculateIndexOnOwner</a>();</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="classarmnn_1_1_range_tracker.html#a997e96288bdb106c922202e3f33d5d7b">RangeTracker::MinMaxRange</a> range = m_RangeTracker.<a class="code" href="classarmnn_1_1_range_tracker.html#a507bae23f59e94b4161886ebe663cdf4">GetRange</a>(layerId, slotIndex);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  min = std::min(min, range.first);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  max = std::max(max, range.second);</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>  SetRange(layer, 0, min, max);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> }</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#aeb652d74e4b3596e85b22c2d52144f73"> 179</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#aeb652d74e4b3596e85b22c2d52144f73">StaticRangeVisitor::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="l00180"></a><span class="lineno"> 180</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="l00181"></a><span class="lineno"> 181</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> {</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  boost::ignore_unused(name);</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>  <span class="keywordflow">if</span> (input.<a class="code" href="classarmnn_1_1_base_tensor.html#aea909c7327109228ef618d459015def3">GetDataType</a>() != <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">DataType::Float32</a>)</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  {</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_invalid_argument_exception.html">InvalidArgumentException</a>(<span class="stringliteral">"Quantization is supported only for FP32 tensors"</span>);</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  }</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>  <span class="comment">// Work out the range based on the input constants</span></div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputNumElements = input.<a class="code" href="classarmnn_1_1_base_tensor.html#a8846406ac37fbd2204f0be16ee05d5b7">GetNumElements</a>();</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keyword">const</span> <span class="keywordtype">float</span>* inputData = <span class="keyword">reinterpret_cast<</span><span class="keyword">const </span><span class="keywordtype">float</span>*<span class="keyword">></span>(input.<a class="code" href="classarmnn_1_1_base_tensor.html#aa81f67ac64f0c249e26499600c45d996">GetMemoryArea</a>());</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>  <span class="keywordtype">float</span> min = std::numeric_limits<float>::max();</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordtype">float</span> max = std::numeric_limits<float>::lowest();</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < inputNumElements; i++)</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>  <span class="keyword">const</span> <span class="keywordtype">float</span> inputValue = inputData[i];</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  min = std::min(min, inputValue);</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  max = std::max(max, inputValue);</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  }</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  SetRange(layer, 0, min, max);</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> }</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#a4a7f7f33591fd91e8fb1c08d06c0733a"> 207</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#a4a7f7f33591fd91e8fb1c08d06c0733a">StaticRangeVisitor::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="l00208"></a><span class="lineno"> 208</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="l00209"></a><span class="lineno"> 209</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</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>  boost::ignore_unused(reshapeDescriptor);</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  ForwardParentParameters(layer);</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> }</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#afbea8aa2295f2ab71ea5bb64ccd47871"> 216</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#afbea8aa2295f2ab71ea5bb64ccd47871">StaticRangeVisitor::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="l00217"></a><span class="lineno"> 217</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="l00218"></a><span class="lineno"> 218</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> {</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  boost::ignore_unused(splitterDescriptor);</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  ForwardParentParameters(layer);</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> }</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div><div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#a5abbca55c908440acecfa6e0f921092d"> 225</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#a5abbca55c908440acecfa6e0f921092d">StaticRangeVisitor::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="l00226"></a><span class="lineno"> 226</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_resize_bilinear_descriptor.html">ResizeBilinearDescriptor</a>& resizeDesc,</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> {</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  boost::ignore_unused(resizeDesc);</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  ForwardParentParameters(layer);</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span> }</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> </div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#a7eea0e93f066099f3549fef15881a4cb"> 234</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#a7eea0e93f066099f3549fef15881a4cb">StaticRangeVisitor::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="l00235"></a><span class="lineno"> 235</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="l00236"></a><span class="lineno"> 236</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  boost::ignore_unused(resizeDescriptor);</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  ForwardParentParameters(layer);</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span> }</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span> </div><div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#a61b7aa0305e7c45a625f7835fa26b9b6"> 243</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#a61b7aa0305e7c45a625f7835fa26b9b6">StaticRangeVisitor::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="l00244"></a><span class="lineno"> 244</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="l00245"></a><span class="lineno"> 245</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> {</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  boost::ignore_unused(stridedSliceDescriptor);</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  ForwardParentParameters(layer);</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span> }</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div><div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="classarmnn_1_1_static_range_visitor.html#af5d09e03a578afa9c0bb8afd11c65485"> 252</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_static_range_visitor.html#af5d09e03a578afa9c0bb8afd11c65485">StaticRangeVisitor::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="l00253"></a><span class="lineno"> 253</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="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>  boost::ignore_unused(batchToSpaceNdDescriptor);</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  boost::ignore_unused(name);</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  ForwardParentParameters(layer);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> }</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="comment">//namespace armnn</span></div><div class="ttc" id="structarmnn_1_1_activation_descriptor_html_a017b2990003a014234f13e999dc7c689"><div class="ttname"><a href="structarmnn_1_1_activation_descriptor.html#a017b2990003a014234f13e999dc7c689">armnn::ActivationDescriptor::m_A</a></div><div class="ttdeci">float m_A</div><div class="ttdoc">Alpha upper bound value used by the activation functions. (BoundedReLu, Linear, TanH). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00037">Descriptors.hpp:37</a></div></div> |
| 88 | <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> |
| 89 | <div class="ttc" id="namespacearmnn_html_a56297e0f7b215eea46c818cb7528d9eaacb7667f5ec2f6e8a5943b781ba6c2735"><div class="ttname"><a href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaacb7667f5ec2f6e8a5943b781ba6c2735">armnn::ActivationFunction::LeakyReLu</a></div></div> |
| 90 | <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> |
| 91 | <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> |
| 92 | <div class="ttc" id="classarmnn_1_1_base_tensor_html_aea909c7327109228ef618d459015def3"><div class="ttname"><a href="classarmnn_1_1_base_tensor.html#aea909c7327109228ef618d459015def3">armnn::BaseTensor::GetDataType</a></div><div class="ttdeci">DataType GetDataType() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00172">Tensor.hpp:172</a></div></div> |
| 93 | <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> |
| 94 | <div class="ttc" id="namespacearmnn_html_a56297e0f7b215eea46c818cb7528d9eaa3d90c0a5ab3fcf8e6f6608cb3d3a1559"><div class="ttname"><a href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa3d90c0a5ab3fcf8e6f6608cb3d3a1559">armnn::ActivationFunction::ReLu</a></div></div> |
| 95 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_a4a7f7f33591fd91e8fb1c08d06c0733a"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#a4a7f7f33591fd91e8fb1c08d06c0733a">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00207">StaticRangeVisitor.cpp:207</a></div></div> |
| 96 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_af493528dec93f39f5081dbefb40bff75"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#af493528dec93f39f5081dbefb40bff75">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00081">StaticRangeVisitor.cpp:81</a></div></div> |
| 97 | <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> |
| 98 | <div class="ttc" id="classarmnn_1_1_base_tensor_html_a8846406ac37fbd2204f0be16ee05d5b7"><div class="ttname"><a href="classarmnn_1_1_base_tensor.html#a8846406ac37fbd2204f0be16ee05d5b7">armnn::BaseTensor::GetNumElements</a></div><div class="ttdeci">unsigned int GetNumElements() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00175">Tensor.hpp:175</a></div></div> |
| 99 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_a61b7aa0305e7c45a625f7835fa26b9b6"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#a61b7aa0305e7c45a625f7835fa26b9b6">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00243">StaticRangeVisitor.cpp:243</a></div></div> |
| 100 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_a554e88817e6fd98645388873a108f868"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#a554e88817e6fd98645388873a108f868">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00068">StaticRangeVisitor.cpp:68</a></div></div> |
| 101 | <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> |
| 102 | <div class="ttc" id="classarmnn_1_1_range_tracker_html_a997e96288bdb106c922202e3f33d5d7b"><div class="ttname"><a href="classarmnn_1_1_range_tracker.html#a997e96288bdb106c922202e3f33d5d7b">armnn::RangeTracker::MinMaxRange</a></div><div class="ttdeci">std::pair< float, float > MinMaxRange</div><div class="ttdef"><b>Definition:</b> <a href="_range_tracker_8hpp_source.html#l00020">RangeTracker.hpp:20</a></div></div> |
| 103 | <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> |
| 104 | <div class="ttc" id="namespacearmnn_html_a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6"><div class="ttname"><a href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::ActivationFunction::Abs</a></div></div> |
| 105 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_ad5532a4626c0228acc7b01fa0f5515eb"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#ad5532a4626c0228acc7b01fa0f5515eb">armnn::StaticRangeVisitor::VisitPermuteLayer</a></div><div class="ttdeci">void VisitPermuteLayer(const IConnectableLayer *layer, const PermuteDescriptor &permuteDescriptor, const char *name) override</div><div class="ttdef"><b>Definition:</b> <a href="_static_range_visitor_8cpp_source.html#l00123">StaticRangeVisitor.cpp:123</a></div></div> |
| 106 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_a98f34d2511f43324833060154cbdba8d"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#a98f34d2511f43324833060154cbdba8d">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00150">StaticRangeVisitor.cpp:150</a></div></div> |
| 107 | <div class="ttc" id="_static_range_visitor_8hpp_html"><div class="ttname"><a href="_static_range_visitor_8hpp.html">StaticRangeVisitor.hpp</a></div></div> |
| 108 | <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> |
| 109 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 110 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_a7eea0e93f066099f3549fef15881a4cb"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#a7eea0e93f066099f3549fef15881a4cb">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00234">StaticRangeVisitor.cpp:234</a></div></div> |
| 111 | <div class="ttc" id="classarmnn_1_1_invalid_argument_exception_html"><div class="ttname"><a href="classarmnn_1_1_invalid_argument_exception.html">armnn::InvalidArgumentException</a></div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00080">Exceptions.hpp:80</a></div></div> |
| 112 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_af5d09e03a578afa9c0bb8afd11c65485"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#af5d09e03a578afa9c0bb8afd11c65485">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00252">StaticRangeVisitor.cpp:252</a></div></div> |
| 113 | <div class="ttc" id="classarmnn_1_1_i_output_slot_html_ad0c3555b126975ad6b3e250fe2a59534"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.html#ad0c3555b126975ad6b3e250fe2a59534">armnn::IOutputSlot::GetOwningLayerGuid</a></div><div class="ttdeci">virtual LayerGuid GetOwningLayerGuid() const =0</div></div> |
| 114 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_a8e327cc6432697fd55d6b91e554360d9"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#a8e327cc6432697fd55d6b91e554360d9">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00132">StaticRangeVisitor.cpp:132</a></div></div> |
| 115 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_ac98eae261af6c8d5f7161a01a1959e72"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#ac98eae261af6c8d5f7161a01a1959e72">armnn::StaticRangeVisitor::VisitFullyConnectedLayer</a></div><div class="ttdeci">void VisitFullyConnectedLayer(const IConnectableLayer *layer, const FullyConnectedDescriptor &desc, const ConstTensor &weights, const Optional< ConstTensor > &biases, const char *name) override</div><div class="ttdef"><b>Definition:</b> <a href="_static_range_visitor_8cpp_source.html#l00110">StaticRangeVisitor.cpp:110</a></div></div> |
| 116 | <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> |
| 117 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_ac2f379ba77b06095e0c024e232ec1fd4"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#ac2f379ba77b06095e0c024e232ec1fd4">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00055">StaticRangeVisitor.cpp:55</a></div></div> |
| 118 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_a5abbca55c908440acecfa6e0f921092d"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#a5abbca55c908440acecfa6e0f921092d">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00225">StaticRangeVisitor.cpp:225</a></div></div> |
| 119 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_aeb652d74e4b3596e85b22c2d52144f73"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#aeb652d74e4b3596e85b22c2d52144f73">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00179">StaticRangeVisitor.cpp:179</a></div></div> |
| 120 | <div class="ttc" id="_descriptors_8hpp_html"><div class="ttname"><a href="_descriptors_8hpp.html">Descriptors.hpp</a></div></div> |
| 121 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_a7cb4ef1bc9588c4319144460c288022f"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#a7cb4ef1bc9588c4319144460c288022f">armnn::StaticRangeVisitor::VisitAdditionLayer</a></div><div class="ttdeci">void VisitAdditionLayer(const IConnectableLayer *layer, const char *name=nullptr) override</div><div class="ttdoc">Functions to set the Range on a per-layer-type basis. </div><div class="ttdef"><b>Definition:</b> <a href="_static_range_visitor_8cpp_source.html#l00032">StaticRangeVisitor.cpp:32</a></div></div> |
| 122 | <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> |
| 123 | <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> |
| 124 | <div class="ttc" id="_types_8hpp_html"><div class="ttname"><a href="_types_8hpp.html">Types.hpp</a></div></div> |
| 125 | <div class="ttc" id="namespacearmnn_html_a56297e0f7b215eea46c818cb7528d9eaa6bba7052636d1740303b1b2ef3b53fef"><div class="ttname"><a href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa6bba7052636d1740303b1b2ef3b53fef">armnn::ActivationFunction::SoftReLu</a></div></div> |
| 126 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_afb527e0c7c30b56da911fee8c7b7a011"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#afb527e0c7c30b56da911fee8c7b7a011">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00159">StaticRangeVisitor.cpp:159</a></div></div> |
| 127 | <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> |
| 128 | <div class="ttc" id="structarmnn_1_1_activation_descriptor_html_af10fa7883e3579950f477bee92a64844"><div class="ttname"><a href="structarmnn_1_1_activation_descriptor.html#af10fa7883e3579950f477bee92a64844">armnn::ActivationDescriptor::m_Function</a></div><div class="ttdeci">ActivationFunction m_Function</div><div class="ttdoc">The activation function to use (Sigmoid, TanH, Linear, ReLu, BoundedReLu, SoftReLu, LeakyReLu, Abs, Sqrt, Square). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00035">Descriptors.hpp:35</a></div></div> |
| 129 | <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> |
| 130 | <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> |
| 131 | <div class="ttc" id="classarmnn_1_1_range_tracker_html_a2f058d459a4f21569be3266227f2f6e5"><div class="ttname"><a href="classarmnn_1_1_range_tracker.html#a2f058d459a4f21569be3266227f2f6e5">armnn::RangeTracker::SetRange</a></div><div class="ttdeci">void SetRange(const IConnectableLayer *layer, unsigned int outputIdx, float min, float max)</div><div class="ttdoc">Set the range for an output slot on a layer. </div><div class="ttdef"><b>Definition:</b> <a href="_range_tracker_8cpp_source.html#l00012">RangeTracker.cpp:12</a></div></div> |
| 132 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_afbea8aa2295f2ab71ea5bb64ccd47871"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#afbea8aa2295f2ab71ea5bb64ccd47871">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00216">StaticRangeVisitor.cpp:216</a></div></div> |
| 133 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_aaca77d69321f5ba94d639fe40dbd0b1c"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#aaca77d69321f5ba94d639fe40dbd0b1c">armnn::StaticRangeVisitor::VisitPooling2dLayer</a></div><div class="ttdeci">void VisitPooling2dLayer(const IConnectableLayer *layer, const Pooling2dDescriptor &pooling2dDescriptor, const char *name) override</div><div class="ttdef"><b>Definition:</b> <a href="_static_range_visitor_8cpp_source.html#l00141">StaticRangeVisitor.cpp:141</a></div></div> |
| 134 | <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> |
| 135 | <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> |
| 136 | <div class="ttc" id="namespacearmnn_html_a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d"><div class="ttname"><a href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d">armnn::ActivationFunction::BoundedReLu</a></div><div class="ttdoc">min(a, max(b, input)) </div></div> |
| 137 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_ad9a8ed92b7844396ca754c269a88f813"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#ad9a8ed92b7844396ca754c269a88f813">armnn::StaticRangeVisitor::StaticRangeVisitor</a></div><div class="ttdeci">StaticRangeVisitor(RangeTracker &rangeTracker)</div><div class="ttdef"><b>Definition:</b> <a href="_static_range_visitor_8cpp_source.html#l00017">StaticRangeVisitor.cpp:17</a></div></div> |
| 138 | <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> |
| 139 | <div class="ttc" id="classarmnn_1_1_base_tensor_html_aa81f67ac64f0c249e26499600c45d996"><div class="ttname"><a href="classarmnn_1_1_base_tensor.html#aa81f67ac64f0c249e26499600c45d996">armnn::BaseTensor::GetMemoryArea</a></div><div class="ttdeci">MemoryType GetMemoryArea() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00177">Tensor.hpp:177</a></div></div> |
| 140 | <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> |
| 141 | <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> |
| 142 | <div class="ttc" id="classarmnn_1_1_static_range_visitor_html_a1532cb8f551812e784ccc14faae407b9"><div class="ttname"><a href="classarmnn_1_1_static_range_visitor.html#a1532cb8f551812e784ccc14faae407b9">armnn::StaticRangeVisitor::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="_static_range_visitor_8cpp_source.html#l00038">StaticRangeVisitor.cpp:38</a></div></div> |
| 143 | <div class="ttc" id="classarmnn_1_1_i_output_slot_html_a41d30a9cd272e05986d71a69d6ad618b"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.html#a41d30a9cd272e05986d71a69d6ad618b">armnn::IOutputSlot::CalculateIndexOnOwner</a></div><div class="ttdeci">virtual unsigned int CalculateIndexOnOwner() const =0</div></div> |
| 144 | <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> |
| 145 | <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> |
| 146 | <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> |
| 147 | <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> |
| 148 | <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> |
| 149 | <div class="ttc" id="namespacearmnn_html_a56297e0f7b215eea46c818cb7528d9eaa23b68da1de2b77d74da9da2635722a3e"><div class="ttname"><a href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa23b68da1de2b77d74da9da2635722a3e">armnn::ActivationFunction::TanH</a></div></div> |
| 150 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_guid_html"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_guid.html">armnn::profiling::ProfilingGuid</a></div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00249">Types.hpp:249</a></div></div> |
| 151 | <div class="ttc" id="namespacearmnn_html_a56297e0f7b215eea46c818cb7528d9eaa32a843da6ea40ab3b17a3421ccdf671b"><div class="ttname"><a href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa32a843da6ea40ab3b17a3421ccdf671b">armnn::ActivationFunction::Linear</a></div></div> |
| 152 | <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> |
| 153 | <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> |
| 154 | </div><!-- fragment --></div><!-- contents --> |
| 155 | </div><!-- doc-content --> |
| 156 | <!-- start footer part --> |
| 157 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 158 | <ul> |
| 159 | <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="_static_range_visitor_8cpp.html">StaticRangeVisitor.cpp</a></li> |
| 160 | <li class="footer">Generated on Fri Mar 13 2020 16:06:54 for ArmNN by |
| 161 | <a href="http://www.doxygen.org/index.html"> |
| 162 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 163 | </ul> |
| 164 | </div> |
| 165 | </body> |
| 166 | </html> |