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: QuantizerVisitor Class Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('classarmnn_1_1_quantizer_visitor.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#pub-methods">Public Member Functions</a> | |
| 85 | <a href="classarmnn_1_1_quantizer_visitor-members.html">List of all members</a> </div> |
| 86 | <div class="headertitle"> |
| 87 | <div class="title">QuantizerVisitor Class Reference</div> </div> |
| 88 | </div><!--header--> |
| 89 | <div class="contents"> |
| 90 | |
| 91 | <p>Visitor object for quantizing layers in a network. |
| 92 | <a href="classarmnn_1_1_quantizer_visitor.html#details">More...</a></p> |
| 93 | |
| 94 | <p><code>#include <<a class="el" href="_quantizer_visitor_8hpp_source.html">QuantizerVisitor.hpp</a>></code></p> |
| 95 | <div class="dynheader"> |
| 96 | Inheritance diagram for QuantizerVisitor:</div> |
| 97 | <div class="dyncontent"> |
| 98 | <div class="center"> |
| 99 | <img src="classarmnn_1_1_quantizer_visitor.png" usemap="#QuantizerVisitor_map" alt=""/> |
| 100 | <map id="QuantizerVisitor_map" name="QuantizerVisitor_map"> |
| 101 | <area href="classarmnn_1_1_layer_visitor_base.html" alt="LayerVisitorBase< VisitorThrowingPolicy >" shape="rect" coords="0,56,256,80"/> |
| 102 | <area href="classarmnn_1_1_i_layer_visitor.html" alt="ILayerVisitor" shape="rect" coords="0,0,256,24"/> |
| 103 | </map> |
| 104 | </div></div> |
| 105 | <table class="memberdecls"> |
| 106 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 107 | Public Member Functions</h2></td></tr> |
| 108 | <tr class="memitem:a72d00eb366b367af08007d472d5edebb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a72d00eb366b367af08007d472d5edebb">QuantizerVisitor</a> (const <a class="el" href="classarmnn_1_1_range_tracker.html">RangeTracker</a> &rangeTracker, const <a class="el" href="structarmnn_1_1_i_quantization_scheme.html">IQuantizationScheme</a> *quantizationScheme, bool preserveType=<a class="el" href="_ref_layer_tests_8cpp.html#a67e2647a90dec71bb79c8b38872ba570">false</a>)</td></tr> |
| 109 | <tr class="separator:a72d00eb366b367af08007d472d5edebb"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | <tr class="memitem:a78cb6c9b6239cd69574c65dab44eb3b1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a78cb6c9b6239cd69574c65dab44eb3b1">~QuantizerVisitor</a> ()=default</td></tr> |
| 111 | <tr class="separator:a78cb6c9b6239cd69574c65dab44eb3b1"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:a4abca3536debe2dac00f1d6a0b14a435"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a4abca3536debe2dac00f1d6a0b14a435">VisitAbsLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const char *name=nullptr) override</td></tr> |
| 113 | <tr class="memdesc:a4abca3536debe2dac00f1d6a0b14a435"><td class="mdescLeft"> </td><td class="mdescRight">Functions to quantize the individual layers, overridden from <a class="el" href="classarmnn_1_1_i_layer_visitor.html">ILayerVisitor</a>. <a href="#a4abca3536debe2dac00f1d6a0b14a435">More...</a><br /></td></tr> |
| 114 | <tr class="separator:a4abca3536debe2dac00f1d6a0b14a435"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:af493528dec93f39f5081dbefb40bff75"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#af493528dec93f39f5081dbefb40bff75">VisitActivationLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_activation_descriptor.html">ActivationDescriptor</a> &activationDescriptor, const char *name=nullptr) override</td></tr> |
| 116 | <tr class="separator:af493528dec93f39f5081dbefb40bff75"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:a7cb4ef1bc9588c4319144460c288022f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a7cb4ef1bc9588c4319144460c288022f">VisitAdditionLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const char *name=nullptr) override</td></tr> |
| 118 | <tr class="separator:a7cb4ef1bc9588c4319144460c288022f"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:a2482bba03a17e59a8ead45530e8efea5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a2482bba03a17e59a8ead45530e8efea5">VisitArgMinMaxLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_arg_min_max_descriptor.html">ArgMinMaxDescriptor</a> &argMinMaxDescriptor, const char *name=nullptr) override</td></tr> |
| 120 | <tr class="separator:a2482bba03a17e59a8ead45530e8efea5"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:a1532cb8f551812e784ccc14faae407b9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a1532cb8f551812e784ccc14faae407b9">VisitBatchNormalizationLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_batch_normalization_descriptor.html">BatchNormalizationDescriptor</a> &desc, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &mean, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &variance, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &beta, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &gamma, const char *name=nullptr) override</td></tr> |
| 122 | <tr class="separator:a1532cb8f551812e784ccc14faae407b9"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:af5d09e03a578afa9c0bb8afd11c65485"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#af5d09e03a578afa9c0bb8afd11c65485">VisitBatchToSpaceNdLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_batch_to_space_nd_descriptor.html">BatchToSpaceNdDescriptor</a> &batchToSpaceNdDescriptor, const char *name=nullptr) override</td></tr> |
| 124 | <tr class="separator:af5d09e03a578afa9c0bb8afd11c65485"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:a6a1adf7bf81e5cbb74b4cc4e8946c653"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a6a1adf7bf81e5cbb74b4cc4e8946c653">VisitComparisonLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_comparison_descriptor.html">ComparisonDescriptor</a> &comparisonDescriptor, const char *name=nullptr) override</td></tr> |
| 126 | <tr class="separator:a6a1adf7bf81e5cbb74b4cc4e8946c653"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:afb527e0c7c30b56da911fee8c7b7a011"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#afb527e0c7c30b56da911fee8c7b7a011">VisitConcatLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> &originsDescriptor, const char *name=nullptr) override</td></tr> |
| 128 | <tr class="separator:afb527e0c7c30b56da911fee8c7b7a011"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:aeb652d74e4b3596e85b22c2d52144f73"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#aeb652d74e4b3596e85b22c2d52144f73">VisitConstantLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &input, const char *name=nullptr) override</td></tr> |
| 130 | <tr class="separator:aeb652d74e4b3596e85b22c2d52144f73"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:ac2f379ba77b06095e0c024e232ec1fd4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#ac2f379ba77b06095e0c024e232ec1fd4">VisitConvolution2dLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_convolution2d_descriptor.html">Convolution2dDescriptor</a> &convolution2dDescriptor, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &weights, const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > &biases, const char *name=nullptr) override</td></tr> |
| 132 | <tr class="separator:ac2f379ba77b06095e0c024e232ec1fd4"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:ac0daac0e6ce49805580a8a50a8d3d514"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#ac0daac0e6ce49805580a8a50a8d3d514">VisitDepthToSpaceLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="namespacearmnn.html#a3647f60510bc8ddaced01c51b0ee8714">DepthToSpaceDescriptor</a> &depthToSpaceDescriptor, const char *name=nullptr) override</td></tr> |
| 134 | <tr class="separator:ac0daac0e6ce49805580a8a50a8d3d514"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:a554e88817e6fd98645388873a108f868"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a554e88817e6fd98645388873a108f868">VisitDepthwiseConvolution2dLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html">DepthwiseConvolution2dDescriptor</a> &desc, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &weights, const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > &biases, const char *name=nullptr) override</td></tr> |
| 136 | <tr class="separator:a554e88817e6fd98645388873a108f868"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:a237f88794e504388160a87813b66b9e3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a237f88794e504388160a87813b66b9e3">VisitElementwiseUnaryLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.html">ElementwiseUnaryDescriptor</a> &elementwiseUnaryDescriptor, const char *name=nullptr) override</td></tr> |
| 138 | <tr class="separator:a237f88794e504388160a87813b66b9e3"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <tr class="memitem:abbdd655f9e0bec625369079ed97f1328"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#abbdd655f9e0bec625369079ed97f1328">VisitFullyConnectedLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_fully_connected_descriptor.html">FullyConnectedDescriptor</a> &desc, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &weights, const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > &biases, const char *name=nullptr) override</td></tr> |
| 140 | <tr class="separator:abbdd655f9e0bec625369079ed97f1328"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | <tr class="memitem:a2ca539d734553e606c0134940e444298"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a2ca539d734553e606c0134940e444298">VisitInputLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, <a class="el" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> id, const char *name=nullptr) override</td></tr> |
| 142 | <tr class="separator:a2ca539d734553e606c0134940e444298"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | <tr class="memitem:ac6da520014db9cd2d4bede451e37ca0a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#ac6da520014db9cd2d4bede451e37ca0a">VisitInstanceNormalizationLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_instance_normalization_descriptor.html">InstanceNormalizationDescriptor</a> &instanceNormalizationDescriptor, const char *name=nullptr) override</td></tr> |
| 144 | <tr class="separator:ac6da520014db9cd2d4bede451e37ca0a"><td class="memSeparator" colspan="2"> </td></tr> |
| 145 | <tr class="memitem:abe0c29cd370a84c3e669d28dda18afb7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#abe0c29cd370a84c3e669d28dda18afb7">VisitLogSoftmaxLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="namespacearmnn.html#ac14705405cbcdd580df613de6766fe65">LogSoftmaxDescriptor</a> &logSoftmaxDescriptor, const char *name=nullptr) override</td></tr> |
| 146 | <tr class="separator:abe0c29cd370a84c3e669d28dda18afb7"><td class="memSeparator" colspan="2"> </td></tr> |
| 147 | <tr class="memitem:a0a2f55bda910ccf8816d2678b7c980b6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a0a2f55bda910ccf8816d2678b7c980b6">VisitMeanLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_mean_descriptor.html">MeanDescriptor</a> &meanDescriptor, const char *name=nullptr) override</td></tr> |
| 148 | <tr class="separator:a0a2f55bda910ccf8816d2678b7c980b6"><td class="memSeparator" colspan="2"> </td></tr> |
| 149 | <tr class="memitem:a1c587861e672cedaedd1f32bbce44afc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a1c587861e672cedaedd1f32bbce44afc">VisitMultiplicationLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const char *name=nullptr) override</td></tr> |
| 150 | <tr class="separator:a1c587861e672cedaedd1f32bbce44afc"><td class="memSeparator" colspan="2"> </td></tr> |
| 151 | <tr class="memitem:ab0946e6e13740185d7b7939720f347f1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#ab0946e6e13740185d7b7939720f347f1">VisitNormalizationLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_normalization_descriptor.html">NormalizationDescriptor</a> &normalizationDescriptor, const char *name=nullptr) override</td></tr> |
| 152 | <tr class="separator:ab0946e6e13740185d7b7939720f347f1"><td class="memSeparator" colspan="2"> </td></tr> |
| 153 | <tr class="memitem:ac75d60924c52b96ea6f9567fcfa2db10"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#ac75d60924c52b96ea6f9567fcfa2db10">VisitOutputLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, <a class="el" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> id, const char *name=nullptr) override</td></tr> |
| 154 | <tr class="separator:ac75d60924c52b96ea6f9567fcfa2db10"><td class="memSeparator" colspan="2"> </td></tr> |
| 155 | <tr class="memitem:a0b4b2e9b5578bf50197c6929a6a48071"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a0b4b2e9b5578bf50197c6929a6a48071">VisitPadLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_pad_descriptor.html">PadDescriptor</a> &, const char *name=nullptr) override</td></tr> |
| 156 | <tr class="separator:a0b4b2e9b5578bf50197c6929a6a48071"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | <tr class="memitem:a8667c9d0c42575e31c7a630fea8c7256"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a8667c9d0c42575e31c7a630fea8c7256">VisitPermuteLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_permute_descriptor.html">PermuteDescriptor</a> &permuteDescriptor, const char *name=nullptr) override</td></tr> |
| 158 | <tr class="separator:a8667c9d0c42575e31c7a630fea8c7256"><td class="memSeparator" colspan="2"> </td></tr> |
| 159 | <tr class="memitem:aaee763832ceb783dcffde56e1c1a6d93"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#aaee763832ceb783dcffde56e1c1a6d93">VisitPooling2dLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_pooling2d_descriptor.html">Pooling2dDescriptor</a> &pooling2dDescriptor, const char *name=nullptr) override</td></tr> |
| 160 | <tr class="separator:aaee763832ceb783dcffde56e1c1a6d93"><td class="memSeparator" colspan="2"> </td></tr> |
| 161 | <tr class="memitem:a34f5745a60988b4a109ec213f8d0cb77"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a34f5745a60988b4a109ec213f8d0cb77">VisitPreluLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const char *name=nullptr) override</td></tr> |
| 162 | <tr class="separator:a34f5745a60988b4a109ec213f8d0cb77"><td class="memSeparator" colspan="2"> </td></tr> |
| 163 | <tr class="memitem:a4a7f7f33591fd91e8fb1c08d06c0733a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a4a7f7f33591fd91e8fb1c08d06c0733a">VisitReshapeLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_reshape_descriptor.html">ReshapeDescriptor</a> &reshapeDescriptor, const char *name=nullptr) override</td></tr> |
| 164 | <tr class="separator:a4a7f7f33591fd91e8fb1c08d06c0733a"><td class="memSeparator" colspan="2"> </td></tr> |
| 165 | <tr class="memitem:a7eea0e93f066099f3549fef15881a4cb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a7eea0e93f066099f3549fef15881a4cb">VisitResizeLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_resize_descriptor.html">ResizeDescriptor</a> &resizeDescriptor, const char *name=nullptr) override</td></tr> |
| 166 | <tr class="separator:a7eea0e93f066099f3549fef15881a4cb"><td class="memSeparator" colspan="2"> </td></tr> |
| 167 | <tr class="memitem:a5abbca55c908440acecfa6e0f921092d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a5abbca55c908440acecfa6e0f921092d">VisitResizeBilinearLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_resize_bilinear_descriptor.html">ResizeBilinearDescriptor</a> &resizeDesc, const char *name=nullptr) override</td></tr> |
| 168 | <tr class="separator:a5abbca55c908440acecfa6e0f921092d"><td class="memSeparator" colspan="2"> </td></tr> |
| 169 | <tr class="memitem:a990bfe643729a7dedcc55da1f7d1b3bf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a990bfe643729a7dedcc55da1f7d1b3bf">VisitRsqrtLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *name=nullptr) override</td></tr> |
| 170 | <tr class="separator:a990bfe643729a7dedcc55da1f7d1b3bf"><td class="memSeparator" colspan="2"> </td></tr> |
| 171 | <tr class="memitem:a20a228046c2aacd8664e50841af84e2b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a20a228046c2aacd8664e50841af84e2b">VisitSliceLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_slice_descriptor.html">SliceDescriptor</a> &sliceDescriptor, const char *name=nullptr) override</td></tr> |
| 172 | <tr class="separator:a20a228046c2aacd8664e50841af84e2b"><td class="memSeparator" colspan="2"> </td></tr> |
| 173 | <tr class="memitem:a98f34d2511f43324833060154cbdba8d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a98f34d2511f43324833060154cbdba8d">VisitSoftmaxLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_softmax_descriptor.html">SoftmaxDescriptor</a> &softmaxDescriptor, const char *name=nullptr) override</td></tr> |
| 174 | <tr class="separator:a98f34d2511f43324833060154cbdba8d"><td class="memSeparator" colspan="2"> </td></tr> |
| 175 | <tr class="memitem:a8e327cc6432697fd55d6b91e554360d9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a8e327cc6432697fd55d6b91e554360d9">VisitSpaceToBatchNdLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_space_to_batch_nd_descriptor.html">SpaceToBatchNdDescriptor</a> &spaceToBatchNdDescriptor, const char *name=nullptr) override</td></tr> |
| 176 | <tr class="separator:a8e327cc6432697fd55d6b91e554360d9"><td class="memSeparator" colspan="2"> </td></tr> |
| 177 | <tr class="memitem:a2c416fbd39598732dd3c6255ceaf1b66"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a2c416fbd39598732dd3c6255ceaf1b66">VisitSpaceToDepthLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_space_to_depth_descriptor.html">SpaceToDepthDescriptor</a> &spaceToDepthDescriptor, const char *name=nullptr) override</td></tr> |
| 178 | <tr class="separator:a2c416fbd39598732dd3c6255ceaf1b66"><td class="memSeparator" colspan="2"> </td></tr> |
| 179 | <tr class="memitem:afbea8aa2295f2ab71ea5bb64ccd47871"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#afbea8aa2295f2ab71ea5bb64ccd47871">VisitSplitterLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="namespacearmnn.html#a60291543fe872b795e71e05bcd835fd1">SplitterDescriptor</a> &splitterDescriptor, const char *name=nullptr) override</td></tr> |
| 180 | <tr class="separator:afbea8aa2295f2ab71ea5bb64ccd47871"><td class="memSeparator" colspan="2"> </td></tr> |
| 181 | <tr class="memitem:a1b4325b20242a2db0922f68aea195d00"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a1b4325b20242a2db0922f68aea195d00">VisitStackLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_stack_descriptor.html">StackDescriptor</a> &stackDescriptor, const char *name=nullptr) override</td></tr> |
| 182 | <tr class="separator:a1b4325b20242a2db0922f68aea195d00"><td class="memSeparator" colspan="2"> </td></tr> |
| 183 | <tr class="memitem:a61b7aa0305e7c45a625f7835fa26b9b6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a61b7aa0305e7c45a625f7835fa26b9b6">VisitStridedSliceLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_strided_slice_descriptor.html">StridedSliceDescriptor</a> &stridedSliceDescriptor, const char *name=nullptr) override</td></tr> |
| 184 | <tr class="separator:a61b7aa0305e7c45a625f7835fa26b9b6"><td class="memSeparator" colspan="2"> </td></tr> |
| 185 | <tr class="memitem:abffdcc9b528d64b510103f5b280e246e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#abffdcc9b528d64b510103f5b280e246e">VisitSubtractionLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const char *name=nullptr) override</td></tr> |
| 186 | <tr class="separator:abffdcc9b528d64b510103f5b280e246e"><td class="memSeparator" colspan="2"> </td></tr> |
| 187 | <tr class="memitem:a9e7ddd6c869af052317c6de0df53c942"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#a9e7ddd6c869af052317c6de0df53c942">VisitTransposeConvolution2dLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *layer, const <a class="el" href="structarmnn_1_1_transpose_convolution2d_descriptor.html">TransposeConvolution2dDescriptor</a> &descriptor, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &weights, const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > &biases, const char *name=nullptr) override</td></tr> |
| 188 | <tr class="separator:a9e7ddd6c869af052317c6de0df53c942"><td class="memSeparator" colspan="2"> </td></tr> |
| 189 | <tr class="memitem:ae25c71d0c8fceed87f0b84fc032f71c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#ace74f6f9feb95a964a49d79458232703">INetworkPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantizer_visitor.html#ae25c71d0c8fceed87f0b84fc032f71c8">RetrieveFinalNetwork</a> ()</td></tr> |
| 190 | <tr class="memdesc:ae25c71d0c8fceed87f0b84fc032f71c8"><td class="mdescLeft"> </td><td class="mdescRight">Extract the quantized network. <a href="#ae25c71d0c8fceed87f0b84fc032f71c8">More...</a><br /></td></tr> |
| 191 | <tr class="separator:ae25c71d0c8fceed87f0b84fc032f71c8"><td class="memSeparator" colspan="2"> </td></tr> |
| 192 | <tr class="inherit_header pub_methods_classarmnn_1_1_layer_visitor_base"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_layer_visitor_base')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_layer_visitor_base.html">LayerVisitorBase< VisitorThrowingPolicy ></a></td></tr> |
| 193 | <tr class="memitem:acb663f7919f9566c3dcc8b6478999d34 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#acb663f7919f9566c3dcc8b6478999d34">VisitAbsLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 194 | <tr class="separator:acb663f7919f9566c3dcc8b6478999d34 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 195 | <tr class="memitem:a30b99e5202fc77b02f92d5c44e5ca86d inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a30b99e5202fc77b02f92d5c44e5ca86d">VisitActivationLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_activation_descriptor.html">ActivationDescriptor</a> &, const char *) override</td></tr> |
| 196 | <tr class="separator:a30b99e5202fc77b02f92d5c44e5ca86d inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 197 | <tr class="memitem:a0c9f3396207de48925016a2eee6aa12b inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a0c9f3396207de48925016a2eee6aa12b">VisitAdditionLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 198 | <tr class="separator:a0c9f3396207de48925016a2eee6aa12b inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 199 | <tr class="memitem:a719076848950255b929636c97aaaede4 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a719076848950255b929636c97aaaede4">VisitArgMinMaxLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_arg_min_max_descriptor.html">ArgMinMaxDescriptor</a> &, const char *) override</td></tr> |
| 200 | <tr class="separator:a719076848950255b929636c97aaaede4 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 201 | <tr class="memitem:ab0ae25ba5f3c494d1fb32f06cd57af10 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#ab0ae25ba5f3c494d1fb32f06cd57af10">VisitBatchNormalizationLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_batch_normalization_descriptor.html">BatchNormalizationDescriptor</a> &, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &, const char *) override</td></tr> |
| 202 | <tr class="separator:ab0ae25ba5f3c494d1fb32f06cd57af10 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 203 | <tr class="memitem:a62aac266e23bd680633e62832f56bc11 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a62aac266e23bd680633e62832f56bc11">VisitBatchToSpaceNdLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_batch_to_space_nd_descriptor.html">BatchToSpaceNdDescriptor</a> &, const char *) override</td></tr> |
| 204 | <tr class="separator:a62aac266e23bd680633e62832f56bc11 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 205 | <tr class="memitem:a95dc828296e6d05c0bf0b691d4dc6a3f inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a95dc828296e6d05c0bf0b691d4dc6a3f">VisitComparisonLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_comparison_descriptor.html">ComparisonDescriptor</a> &, const char *) override</td></tr> |
| 206 | <tr class="separator:a95dc828296e6d05c0bf0b691d4dc6a3f inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 207 | <tr class="memitem:a2d4f84683c4a00dfb5eecb6b165d41b9 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a2d4f84683c4a00dfb5eecb6b165d41b9">VisitConcatLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="namespacearmnn.html#a7863c179ff92feec660c48ab7b95ae55">ConcatDescriptor</a> &, const char *) override</td></tr> |
| 208 | <tr class="separator:a2d4f84683c4a00dfb5eecb6b165d41b9 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 209 | <tr class="memitem:a90698dba3e90ced6f562cda146bf15e3 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a90698dba3e90ced6f562cda146bf15e3">VisitConstantLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &, const char *) override</td></tr> |
| 210 | <tr class="separator:a90698dba3e90ced6f562cda146bf15e3 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 211 | <tr class="memitem:aff3099f516e132f4d8818a54fa1ee767 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#aff3099f516e132f4d8818a54fa1ee767">VisitConvolution2dLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_convolution2d_descriptor.html">Convolution2dDescriptor</a> &, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &, const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > &, const char *) override</td></tr> |
| 212 | <tr class="separator:aff3099f516e132f4d8818a54fa1ee767 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 213 | <tr class="memitem:ad3aaff3b6165f8de16522bc4a1ed32a0 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#ad3aaff3b6165f8de16522bc4a1ed32a0">VisitDepthToSpaceLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="namespacearmnn.html#a3647f60510bc8ddaced01c51b0ee8714">DepthToSpaceDescriptor</a> &, const char *) override</td></tr> |
| 214 | <tr class="separator:ad3aaff3b6165f8de16522bc4a1ed32a0 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 215 | <tr class="memitem:a70050fc50ee44a439665f914d5fe9684 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a70050fc50ee44a439665f914d5fe9684">VisitDepthwiseConvolution2dLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html">DepthwiseConvolution2dDescriptor</a> &, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &, const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > &, const char *) override</td></tr> |
| 216 | <tr class="separator:a70050fc50ee44a439665f914d5fe9684 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 217 | <tr class="memitem:aa27cc900d32dcc4a92f59e3bab4f4653 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#aa27cc900d32dcc4a92f59e3bab4f4653">VisitDequantizeLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 218 | <tr class="separator:aa27cc900d32dcc4a92f59e3bab4f4653 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 219 | <tr class="memitem:a88bad2eef809ccf6f2129f9ed4a6f3a7 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a88bad2eef809ccf6f2129f9ed4a6f3a7">VisitDetectionPostProcessLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_detection_post_process_descriptor.html">DetectionPostProcessDescriptor</a> &, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &, const char *) override</td></tr> |
| 220 | <tr class="separator:a88bad2eef809ccf6f2129f9ed4a6f3a7 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 221 | <tr class="memitem:a7450859464a381eafaedb33adc582f75 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a7450859464a381eafaedb33adc582f75">VisitDivisionLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 222 | <tr class="separator:a7450859464a381eafaedb33adc582f75 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 223 | <tr class="memitem:a9d02f4bfaffcb16e340e9b8c20bc5e35 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a9d02f4bfaffcb16e340e9b8c20bc5e35">VisitElementwiseUnaryLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.html">ElementwiseUnaryDescriptor</a> &, const char *) override</td></tr> |
| 224 | <tr class="separator:a9d02f4bfaffcb16e340e9b8c20bc5e35 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 225 | <tr class="memitem:a3249cd1186dc7e700a0ec0884fb9d5fa inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a3249cd1186dc7e700a0ec0884fb9d5fa">VisitEqualLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 226 | <tr class="separator:a3249cd1186dc7e700a0ec0884fb9d5fa inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 227 | <tr class="memitem:a060c3a3f978fec03212afaff1fe1648d inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a060c3a3f978fec03212afaff1fe1648d">VisitFloorLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 228 | <tr class="separator:a060c3a3f978fec03212afaff1fe1648d inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 229 | <tr class="memitem:a9049cf6d72d4b67fff93670f21c09da3 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a9049cf6d72d4b67fff93670f21c09da3">VisitFullyConnectedLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_fully_connected_descriptor.html">FullyConnectedDescriptor</a> &, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &, const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > &, const char *) override</td></tr> |
| 230 | <tr class="separator:a9049cf6d72d4b67fff93670f21c09da3 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 231 | <tr class="memitem:ae7639178bd8c29ffa83162dfd108b725 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#ae7639178bd8c29ffa83162dfd108b725">VisitGatherLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 232 | <tr class="separator:ae7639178bd8c29ffa83162dfd108b725 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 233 | <tr class="memitem:a2a28dbfcd1e83bc8158d78feb93d4a0c inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a2a28dbfcd1e83bc8158d78feb93d4a0c">VisitGreaterLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 234 | <tr class="separator:a2a28dbfcd1e83bc8158d78feb93d4a0c inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 235 | <tr class="memitem:a6c23f9e9d8427775925d071feee5dbd1 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a6c23f9e9d8427775925d071feee5dbd1">VisitInputLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, <a class="el" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a>, const char *) override</td></tr> |
| 236 | <tr class="separator:a6c23f9e9d8427775925d071feee5dbd1 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 237 | <tr class="memitem:a58f90a911e6827702c478cabaeac57fe inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a58f90a911e6827702c478cabaeac57fe">VisitInstanceNormalizationLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_instance_normalization_descriptor.html">InstanceNormalizationDescriptor</a> &, const char *) override</td></tr> |
| 238 | <tr class="separator:a58f90a911e6827702c478cabaeac57fe inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 239 | <tr class="memitem:ae68e2b431ea3d2822f19ad4ac806fdaa inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#ae68e2b431ea3d2822f19ad4ac806fdaa">VisitL2NormalizationLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_l2_normalization_descriptor.html">L2NormalizationDescriptor</a> &, const char *) override</td></tr> |
| 240 | <tr class="separator:ae68e2b431ea3d2822f19ad4ac806fdaa inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 241 | <tr class="memitem:a8d4d2e5580385ee664830720698d112c inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a8d4d2e5580385ee664830720698d112c">VisitLogSoftmaxLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="namespacearmnn.html#ac14705405cbcdd580df613de6766fe65">LogSoftmaxDescriptor</a> &, const char *) override</td></tr> |
| 242 | <tr class="separator:a8d4d2e5580385ee664830720698d112c inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 243 | <tr class="memitem:aaf1a238ec5b6bb172bc4cd3811f08b28 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#aaf1a238ec5b6bb172bc4cd3811f08b28">VisitLstmLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_lstm_descriptor.html">LstmDescriptor</a> &, const <a class="el" href="structarmnn_1_1_lstm_input_params.html">LstmInputParams</a> &, const char *) override</td></tr> |
| 244 | <tr class="separator:aaf1a238ec5b6bb172bc4cd3811f08b28 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 245 | <tr class="memitem:a778e1b2219e3eb2d790d6e6e653a9f25 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a778e1b2219e3eb2d790d6e6e653a9f25">VisitMaximumLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 246 | <tr class="separator:a778e1b2219e3eb2d790d6e6e653a9f25 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 247 | <tr class="memitem:a0180a15e542f4ef240fadc09fe4b2e3f inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a0180a15e542f4ef240fadc09fe4b2e3f">VisitMeanLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_mean_descriptor.html">MeanDescriptor</a> &, const char *) override</td></tr> |
| 248 | <tr class="separator:a0180a15e542f4ef240fadc09fe4b2e3f inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 249 | <tr class="memitem:aafb62c879f0c78bfdc3c4e4f2cb82e68 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#aafb62c879f0c78bfdc3c4e4f2cb82e68">VisitMergeLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 250 | <tr class="separator:aafb62c879f0c78bfdc3c4e4f2cb82e68 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 251 | <tr class="memitem:acef69a3870409ca9a6130db91047e729 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#acef69a3870409ca9a6130db91047e729">VisitMergerLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="namespacearmnn.html#a003d213dd28b0b8c0f26fbf268ccb975">MergerDescriptor</a> &, const char *) override</td></tr> |
| 252 | <tr class="separator:acef69a3870409ca9a6130db91047e729 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 253 | <tr class="memitem:a1e24e9a7bf52efc1699c126435574e95 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a1e24e9a7bf52efc1699c126435574e95">VisitMinimumLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 254 | <tr class="separator:a1e24e9a7bf52efc1699c126435574e95 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 255 | <tr class="memitem:ac57d22126a9131108214df9177addade inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#ac57d22126a9131108214df9177addade">VisitMultiplicationLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 256 | <tr class="separator:ac57d22126a9131108214df9177addade inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 257 | <tr class="memitem:a3150ff2299a2e193952300b8c9edd1e1 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a3150ff2299a2e193952300b8c9edd1e1">VisitNormalizationLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_normalization_descriptor.html">NormalizationDescriptor</a> &, const char *) override</td></tr> |
| 258 | <tr class="separator:a3150ff2299a2e193952300b8c9edd1e1 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 259 | <tr class="memitem:acc39ddb06acfd91cf3cfb0fcd9337005 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#acc39ddb06acfd91cf3cfb0fcd9337005">VisitOutputLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, <a class="el" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a>, const char *) override</td></tr> |
| 260 | <tr class="separator:acc39ddb06acfd91cf3cfb0fcd9337005 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 261 | <tr class="memitem:a8a240e1b725cc204bb468b6b402e1670 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a8a240e1b725cc204bb468b6b402e1670">VisitPadLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_pad_descriptor.html">PadDescriptor</a> &, const char *) override</td></tr> |
| 262 | <tr class="separator:a8a240e1b725cc204bb468b6b402e1670 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 263 | <tr class="memitem:a275f4c270ce472abc8701f6475ff7f38 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a275f4c270ce472abc8701f6475ff7f38">VisitPermuteLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_permute_descriptor.html">PermuteDescriptor</a> &, const char *) override</td></tr> |
| 264 | <tr class="separator:a275f4c270ce472abc8701f6475ff7f38 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 265 | <tr class="memitem:a5e369658cb00178eeb9136f1c912fd3f inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a5e369658cb00178eeb9136f1c912fd3f">VisitPooling2dLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_pooling2d_descriptor.html">Pooling2dDescriptor</a> &, const char *) override</td></tr> |
| 266 | <tr class="separator:a5e369658cb00178eeb9136f1c912fd3f inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 267 | <tr class="memitem:a79c933bea6fb9986c3baa171be98da5c inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a79c933bea6fb9986c3baa171be98da5c">VisitPreluLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 268 | <tr class="separator:a79c933bea6fb9986c3baa171be98da5c inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 269 | <tr class="memitem:a8a6db421f0be147916cb4894ad3885d1 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a8a6db421f0be147916cb4894ad3885d1">VisitQuantizeLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 270 | <tr class="separator:a8a6db421f0be147916cb4894ad3885d1 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 271 | <tr class="memitem:a2fdb21a22a95af72177b4e909741b5c7 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a2fdb21a22a95af72177b4e909741b5c7">VisitQuantizedLstmLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_quantized_lstm_input_params.html">QuantizedLstmInputParams</a> &, const char *) override</td></tr> |
| 272 | <tr class="separator:a2fdb21a22a95af72177b4e909741b5c7 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 273 | <tr class="memitem:a9ebd504c48864d63917836e0dc335725 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a9ebd504c48864d63917836e0dc335725">VisitReshapeLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_reshape_descriptor.html">ReshapeDescriptor</a> &, const char *) override</td></tr> |
| 274 | <tr class="separator:a9ebd504c48864d63917836e0dc335725 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 275 | <tr class="memitem:a8d4c5571a4b3db2badf7f1dce3467391 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a8d4c5571a4b3db2badf7f1dce3467391">VisitResizeBilinearLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_resize_bilinear_descriptor.html">ResizeBilinearDescriptor</a> &, const char *) override</td></tr> |
| 276 | <tr class="separator:a8d4c5571a4b3db2badf7f1dce3467391 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 277 | <tr class="memitem:a49c296c5d0f9efb76f165954cf40c281 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a49c296c5d0f9efb76f165954cf40c281">VisitResizeLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_resize_descriptor.html">ResizeDescriptor</a> &, const char *) override</td></tr> |
| 278 | <tr class="separator:a49c296c5d0f9efb76f165954cf40c281 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 279 | <tr class="memitem:a6a62605ac51992ce0913cc119b59546b inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a6a62605ac51992ce0913cc119b59546b">VisitRsqrtLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 280 | <tr class="separator:a6a62605ac51992ce0913cc119b59546b inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 281 | <tr class="memitem:a1c023b3170bed9368b65730bc7fff60b inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a1c023b3170bed9368b65730bc7fff60b">VisitSliceLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_slice_descriptor.html">SliceDescriptor</a> &, const char *) override</td></tr> |
| 282 | <tr class="separator:a1c023b3170bed9368b65730bc7fff60b inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 283 | <tr class="memitem:abd8b0b2e365bbeabceddc35a1cb52916 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#abd8b0b2e365bbeabceddc35a1cb52916">VisitSoftmaxLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_softmax_descriptor.html">SoftmaxDescriptor</a> &, const char *) override</td></tr> |
| 284 | <tr class="separator:abd8b0b2e365bbeabceddc35a1cb52916 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 285 | <tr class="memitem:a9478c4f41840a2e2c12b7f336e725a8a inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a9478c4f41840a2e2c12b7f336e725a8a">VisitSpaceToBatchNdLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_space_to_batch_nd_descriptor.html">SpaceToBatchNdDescriptor</a> &, const char *) override</td></tr> |
| 286 | <tr class="separator:a9478c4f41840a2e2c12b7f336e725a8a inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 287 | <tr class="memitem:acdedda623455cc7a0f982d6f4e96d53a inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#acdedda623455cc7a0f982d6f4e96d53a">VisitSpaceToDepthLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_space_to_depth_descriptor.html">SpaceToDepthDescriptor</a> &, const char *) override</td></tr> |
| 288 | <tr class="separator:acdedda623455cc7a0f982d6f4e96d53a inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 289 | <tr class="memitem:a8689a80f8939de6323319aba5806ee9e inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a8689a80f8939de6323319aba5806ee9e">VisitSplitterLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> &, const char *) override</td></tr> |
| 290 | <tr class="separator:a8689a80f8939de6323319aba5806ee9e inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 291 | <tr class="memitem:a8b47d411d147aa420f7a69356d84fb80 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a8b47d411d147aa420f7a69356d84fb80">VisitStackLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_stack_descriptor.html">StackDescriptor</a> &, const char *) override</td></tr> |
| 292 | <tr class="separator:a8b47d411d147aa420f7a69356d84fb80 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 293 | <tr class="memitem:a3c15053a7e295099a1a34c4add5a03b8 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a3c15053a7e295099a1a34c4add5a03b8">VisitStandInLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_stand_in_descriptor.html">StandInDescriptor</a> &, const char *) override</td></tr> |
| 294 | <tr class="separator:a3c15053a7e295099a1a34c4add5a03b8 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 295 | <tr class="memitem:a31862ce4ffaddde96ebe0afcf04f3577 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a31862ce4ffaddde96ebe0afcf04f3577">VisitStridedSliceLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_strided_slice_descriptor.html">StridedSliceDescriptor</a> &, const char *) override</td></tr> |
| 296 | <tr class="separator:a31862ce4ffaddde96ebe0afcf04f3577 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 297 | <tr class="memitem:ac42c3a57a82260c8315d4f0320620934 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#ac42c3a57a82260c8315d4f0320620934">VisitSubtractionLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 298 | <tr class="separator:ac42c3a57a82260c8315d4f0320620934 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 299 | <tr class="memitem:a877d400155151a5afba9f0b17fbcf8f3 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a877d400155151a5afba9f0b17fbcf8f3">VisitSwitchLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const char *) override</td></tr> |
| 300 | <tr class="separator:a877d400155151a5afba9f0b17fbcf8f3 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 301 | <tr class="memitem:a4dfb04de9aa0b8b55c70fe96af13e1e1 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#a4dfb04de9aa0b8b55c70fe96af13e1e1">VisitTransposeConvolution2dLayer</a> (const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> *, const <a class="el" href="structarmnn_1_1_transpose_convolution2d_descriptor.html">TransposeConvolution2dDescriptor</a> &, const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> &, const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > &, const char *) override</td></tr> |
| 302 | <tr class="separator:a4dfb04de9aa0b8b55c70fe96af13e1e1 inherit pub_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 303 | <tr class="inherit_header pub_methods_classarmnn_1_1_i_layer_visitor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_i_layer_visitor')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_i_layer_visitor.html">ILayerVisitor</a></td></tr> |
| 304 | <tr class="memitem:a463965a96896bf0d261b44eea5172c7b inherit pub_methods_classarmnn_1_1_i_layer_visitor"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_layer_visitor.html#a463965a96896bf0d261b44eea5172c7b">StartVisit</a> ()</td></tr> |
| 305 | <tr class="separator:a463965a96896bf0d261b44eea5172c7b inherit pub_methods_classarmnn_1_1_i_layer_visitor"><td class="memSeparator" colspan="2"> </td></tr> |
| 306 | <tr class="memitem:a4549b1bbb63fa26700d74854e388784f inherit pub_methods_classarmnn_1_1_i_layer_visitor"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_layer_visitor.html#a4549b1bbb63fa26700d74854e388784f">FinishVisit</a> ()</td></tr> |
| 307 | <tr class="separator:a4549b1bbb63fa26700d74854e388784f inherit pub_methods_classarmnn_1_1_i_layer_visitor"><td class="memSeparator" colspan="2"> </td></tr> |
| 308 | </table><table class="memberdecls"> |
| 309 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| 310 | Additional Inherited Members</h2></td></tr> |
| 311 | <tr class="inherit_header pro_methods_classarmnn_1_1_layer_visitor_base"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_layer_visitor_base')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_layer_visitor_base.html">LayerVisitorBase< VisitorThrowingPolicy ></a></td></tr> |
| 312 | <tr class="memitem:aec6644c81f84f086262dfd06088acd99 inherit pro_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#aec6644c81f84f086262dfd06088acd99">LayerVisitorBase</a> ()</td></tr> |
| 313 | <tr class="separator:aec6644c81f84f086262dfd06088acd99 inherit pro_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 314 | <tr class="memitem:ab59e5e8c65aa44857c27db70fc412baa inherit pro_methods_classarmnn_1_1_layer_visitor_base"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_visitor_base.html#ab59e5e8c65aa44857c27db70fc412baa">~LayerVisitorBase</a> ()</td></tr> |
| 315 | <tr class="separator:ab59e5e8c65aa44857c27db70fc412baa inherit pro_methods_classarmnn_1_1_layer_visitor_base"><td class="memSeparator" colspan="2"> </td></tr> |
| 316 | <tr class="inherit_header pro_methods_classarmnn_1_1_i_layer_visitor"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_i_layer_visitor')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_i_layer_visitor.html">ILayerVisitor</a></td></tr> |
| 317 | <tr class="memitem:a27fa880bce96ac7355284a7681f2377e inherit pro_methods_classarmnn_1_1_i_layer_visitor"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_layer_visitor.html#a27fa880bce96ac7355284a7681f2377e">ILayerVisitor</a> ()</td></tr> |
| 318 | <tr class="separator:a27fa880bce96ac7355284a7681f2377e inherit pro_methods_classarmnn_1_1_i_layer_visitor"><td class="memSeparator" colspan="2"> </td></tr> |
| 319 | <tr class="memitem:a7ad7aeeaf26228ef11c15fa5d4507d8a inherit pro_methods_classarmnn_1_1_i_layer_visitor"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_layer_visitor.html#a7ad7aeeaf26228ef11c15fa5d4507d8a">~ILayerVisitor</a> ()</td></tr> |
| 320 | <tr class="separator:a7ad7aeeaf26228ef11c15fa5d4507d8a inherit pro_methods_classarmnn_1_1_i_layer_visitor"><td class="memSeparator" colspan="2"> </td></tr> |
| 321 | </table> |
| 322 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 323 | <div class="textblock"><p>Visitor object for quantizing layers in a network. </p> |
| 324 | |
| 325 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8hpp_source.html#l00025">25</a> of file <a class="el" href="_quantizer_visitor_8hpp_source.html">QuantizerVisitor.hpp</a>.</p> |
| 326 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 327 | <a id="a72d00eb366b367af08007d472d5edebb"></a> |
| 328 | <h2 class="memtitle"><span class="permalink"><a href="#a72d00eb366b367af08007d472d5edebb">◆ </a></span>QuantizerVisitor()</h2> |
| 329 | |
| 330 | <div class="memitem"> |
| 331 | <div class="memproto"> |
| 332 | <table class="memname"> |
| 333 | <tr> |
| 334 | <td class="memname"><a class="el" href="classarmnn_1_1_quantizer_visitor.html">QuantizerVisitor</a> </td> |
| 335 | <td>(</td> |
| 336 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_range_tracker.html">RangeTracker</a> & </td> |
| 337 | <td class="paramname"><em>rangeTracker</em>, </td> |
| 338 | </tr> |
| 339 | <tr> |
| 340 | <td class="paramkey"></td> |
| 341 | <td></td> |
| 342 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_i_quantization_scheme.html">IQuantizationScheme</a> * </td> |
| 343 | <td class="paramname"><em>quantizationScheme</em>, </td> |
| 344 | </tr> |
| 345 | <tr> |
| 346 | <td class="paramkey"></td> |
| 347 | <td></td> |
| 348 | <td class="paramtype">bool </td> |
| 349 | <td class="paramname"><em>preserveType</em> = <code><a class="el" href="_ref_layer_tests_8cpp.html#a67e2647a90dec71bb79c8b38872ba570">false</a></code> </td> |
| 350 | </tr> |
| 351 | <tr> |
| 352 | <td></td> |
| 353 | <td>)</td> |
| 354 | <td></td><td></td> |
| 355 | </tr> |
| 356 | </table> |
| 357 | </div><div class="memdoc"> |
| 358 | |
| 359 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00014">14</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 360 | |
| 361 | <p class="reference">References <a class="el" href="_layer_8cpp_source.html#l00125">OutputSlot::CalculateIndexOnOwner()</a>, <a class="el" href="structarmnn_1_1_i_quantization_scheme.html#a6a5561395e9693f02258b49dfcc009b4">IQuantizationScheme::ComputeScheme()</a>, <a class="el" href="classarmnn_1_1_i_output_slot.html#ac1835f8756a9f03c02fcf9664e3a0fce">IOutputSlot::Connect()</a>, <a class="el" href="_layer_8hpp_source.html#l00055">InputSlot::GetConnectedOutputSlot()</a>, <a class="el" href="structarmnn_1_1_i_quantization_scheme.html#ad23181f9f8fcc85758f62c49fc7ca23f">IQuantizationScheme::GetDataType()</a>, <a class="el" href="classarmnn_1_1_i_connectable_layer.html#afb5e65c770f6cee222db8af7581541a6">IConnectableLayer::GetGuid()</a>, <a class="el" href="_layer_8hpp_source.html#l00316">Layer::GetGuid()</a>, <a class="el" href="_tensor_8hpp_source.html#l00167">BaseTensor< MemoryType >::GetInfo()</a>, <a class="el" href="classarmnn_1_1_i_connectable_layer.html#a6ec9e0eb66d7d6a01240492a0b18104c">IConnectableLayer::GetInputSlot()</a>, <a class="el" href="classarmnn_1_1_i_connectable_layer.html#a9c2cba04b6d7ace4fc2a2436b82a5a63">IConnectableLayer::GetNumInputSlots()</a>, <a class="el" href="classarmnn_1_1_i_connectable_layer.html#a80ac4eda2e7f2757ec9dd96fc96dbd16">IConnectableLayer::GetOutputSlot()</a>, <a class="el" href="_layer_8hpp_source.html#l00115">OutputSlot::GetOwningLayer()</a>, <a class="el" href="_tensor_8cpp_source.html#l00247">TensorInfo::GetQuantizationScale()</a>, <a class="el" href="_range_tracker_8cpp_source.html#l00029">RangeTracker::GetRange()</a>, <a class="el" href="_layer_8cpp_source.html#l00063">OutputSlot::GetTensorInfo()</a>, <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::info</a>, <a class="el" href="classarmnn_1_1_i_output_slot.html#a5ee4a6c9a2481245487b1b1a70d20fd0">IOutputSlot::SetTensorInfo()</a>, <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7">armnn::Signed32</a>, and <a class="el" href="_optional_8hpp_source.html#l00146">OptionalReferenceSwitch< std::is_reference< T >::value, T >::value()</a>.</p> |
| 362 | <div class="fragment"><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#a706f7345af3f18f4b16e226a672214c6">INetwork::Create</a>())</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="ttc" id="classarmnn_1_1_i_network_html_a706f7345af3f18f4b16e226a672214c6"><div class="ttname"><a href="classarmnn_1_1_i_network.html#a706f7345af3f18f4b16e226a672214c6">armnn::INetwork::Create</a></div><div class="ttdeci">static INetworkPtr Create()</div><div class="ttdef"><b>Definition:</b> <a href="_network_8cpp_source.html#l00048">Network.cpp:48</a></div></div> |
| 363 | </div><!-- fragment --> |
| 364 | </div> |
| 365 | </div> |
| 366 | <a id="a78cb6c9b6239cd69574c65dab44eb3b1"></a> |
| 367 | <h2 class="memtitle"><span class="permalink"><a href="#a78cb6c9b6239cd69574c65dab44eb3b1">◆ </a></span>~QuantizerVisitor()</h2> |
| 368 | |
| 369 | <div class="memitem"> |
| 370 | <div class="memproto"> |
| 371 | <table class="mlabels"> |
| 372 | <tr> |
| 373 | <td class="mlabels-left"> |
| 374 | <table class="memname"> |
| 375 | <tr> |
| 376 | <td class="memname">~<a class="el" href="classarmnn_1_1_quantizer_visitor.html">QuantizerVisitor</a> </td> |
| 377 | <td>(</td> |
| 378 | <td class="paramname"></td><td>)</td> |
| 379 | <td></td> |
| 380 | </tr> |
| 381 | </table> |
| 382 | </td> |
| 383 | <td class="mlabels-right"> |
| 384 | <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| 385 | </tr> |
| 386 | </table> |
| 387 | </div><div class="memdoc"> |
| 388 | |
| 389 | </div> |
| 390 | </div> |
| 391 | <h2 class="groupheader">Member Function Documentation</h2> |
| 392 | <a id="ae25c71d0c8fceed87f0b84fc032f71c8"></a> |
| 393 | <h2 class="memtitle"><span class="permalink"><a href="#ae25c71d0c8fceed87f0b84fc032f71c8">◆ </a></span>RetrieveFinalNetwork()</h2> |
| 394 | |
| 395 | <div class="memitem"> |
| 396 | <div class="memproto"> |
| 397 | <table class="mlabels"> |
| 398 | <tr> |
| 399 | <td class="mlabels-left"> |
| 400 | <table class="memname"> |
| 401 | <tr> |
| 402 | <td class="memname"><a class="el" href="namespacearmnn.html#ace74f6f9feb95a964a49d79458232703">INetworkPtr</a> RetrieveFinalNetwork </td> |
| 403 | <td>(</td> |
| 404 | <td class="paramname"></td><td>)</td> |
| 405 | <td></td> |
| 406 | </tr> |
| 407 | </table> |
| 408 | </td> |
| 409 | <td class="mlabels-right"> |
| 410 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 411 | </tr> |
| 412 | </table> |
| 413 | </div><div class="memdoc"> |
| 414 | |
| 415 | <p>Extract the quantized network. </p> |
| 416 | |
| 417 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8hpp_source.html#l00191">191</a> of file <a class="el" href="_quantizer_visitor_8hpp_source.html">QuantizerVisitor.hpp</a>.</p> |
| 418 | <div class="fragment"><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> { <span class="keywordflow">return</span> std::move(m_QuantizedNetwork); }</div></div><!-- fragment --> |
| 419 | </div> |
| 420 | </div> |
| 421 | <a id="a4abca3536debe2dac00f1d6a0b14a435"></a> |
| 422 | <h2 class="memtitle"><span class="permalink"><a href="#a4abca3536debe2dac00f1d6a0b14a435">◆ </a></span>VisitAbsLayer()</h2> |
| 423 | |
| 424 | <div class="memitem"> |
| 425 | <div class="memproto"> |
| 426 | <table class="mlabels"> |
| 427 | <tr> |
| 428 | <td class="mlabels-left"> |
| 429 | <table class="memname"> |
| 430 | <tr> |
| 431 | <td class="memname">void VisitAbsLayer </td> |
| 432 | <td>(</td> |
| 433 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 434 | <td class="paramname"><em>layer</em>, </td> |
| 435 | </tr> |
| 436 | <tr> |
| 437 | <td class="paramkey"></td> |
| 438 | <td></td> |
| 439 | <td class="paramtype">const char * </td> |
| 440 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 441 | </tr> |
| 442 | <tr> |
| 443 | <td></td> |
| 444 | <td>)</td> |
| 445 | <td></td><td></td> |
| 446 | </tr> |
| 447 | </table> |
| 448 | </td> |
| 449 | <td class="mlabels-right"> |
| 450 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 451 | </tr> |
| 452 | </table> |
| 453 | </div><div class="memdoc"> |
| 454 | |
| 455 | <p>Functions to quantize the individual layers, overridden from <a class="el" href="classarmnn_1_1_i_layer_visitor.html">ILayerVisitor</a>. </p> |
| 456 | |
| 457 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a288db083c224e756f7bb35afe6289b7f">ILayerVisitor</a>.</p> |
| 458 | |
| 459 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00116">116</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 460 | |
| 461 | <p class="reference">References <a class="el" href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::Abs</a>, and <a class="el" href="_quantizer_visitor_8cpp_source.html#l00276">QuantizerVisitor::VisitElementwiseUnaryLayer()</a>.</p> |
| 462 | <div class="fragment"><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, ElementwiseUnaryDescriptor(<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="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> |
| 463 | <div class="ttc" id="namespacearmnn_html_a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6"><div class="ttname"><a href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::ActivationFunction::Abs</a></div></div> |
| 464 | </div><!-- fragment --> |
| 465 | </div> |
| 466 | </div> |
| 467 | <a id="af493528dec93f39f5081dbefb40bff75"></a> |
| 468 | <h2 class="memtitle"><span class="permalink"><a href="#af493528dec93f39f5081dbefb40bff75">◆ </a></span>VisitActivationLayer()</h2> |
| 469 | |
| 470 | <div class="memitem"> |
| 471 | <div class="memproto"> |
| 472 | <table class="mlabels"> |
| 473 | <tr> |
| 474 | <td class="mlabels-left"> |
| 475 | <table class="memname"> |
| 476 | <tr> |
| 477 | <td class="memname">void VisitActivationLayer </td> |
| 478 | <td>(</td> |
| 479 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 480 | <td class="paramname"><em>layer</em>, </td> |
| 481 | </tr> |
| 482 | <tr> |
| 483 | <td class="paramkey"></td> |
| 484 | <td></td> |
| 485 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_activation_descriptor.html">ActivationDescriptor</a> & </td> |
| 486 | <td class="paramname"><em>activationDescriptor</em>, </td> |
| 487 | </tr> |
| 488 | <tr> |
| 489 | <td class="paramkey"></td> |
| 490 | <td></td> |
| 491 | <td class="paramtype">const char * </td> |
| 492 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 493 | </tr> |
| 494 | <tr> |
| 495 | <td></td> |
| 496 | <td>)</td> |
| 497 | <td></td><td></td> |
| 498 | </tr> |
| 499 | </table> |
| 500 | </td> |
| 501 | <td class="mlabels-right"> |
| 502 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 503 | </tr> |
| 504 | </table> |
| 505 | </div><div class="memdoc"> |
| 506 | <p>Function that an activation layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 507 | <table class="params"> |
| 508 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 509 | <tr><td class="paramname">activationDescriptor</td><td>- <a class="el" href="structarmnn_1_1_activation_descriptor.html" title="An ActivationDescriptor for the ActivationLayer. ">ActivationDescriptor</a> to configure the activation. </td></tr> |
| 510 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 511 | </table> |
| 512 | </dd> |
| 513 | </dl> |
| 514 | |
| 515 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#ab2a1e493b983a932792bc5d0c1a20127">ILayerVisitor</a>.</p> |
| 516 | |
| 517 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00121">121</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 518 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 519 | </div> |
| 520 | </div> |
| 521 | <a id="a7cb4ef1bc9588c4319144460c288022f"></a> |
| 522 | <h2 class="memtitle"><span class="permalink"><a href="#a7cb4ef1bc9588c4319144460c288022f">◆ </a></span>VisitAdditionLayer()</h2> |
| 523 | |
| 524 | <div class="memitem"> |
| 525 | <div class="memproto"> |
| 526 | <table class="mlabels"> |
| 527 | <tr> |
| 528 | <td class="mlabels-left"> |
| 529 | <table class="memname"> |
| 530 | <tr> |
| 531 | <td class="memname">void VisitAdditionLayer </td> |
| 532 | <td>(</td> |
| 533 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 534 | <td class="paramname"><em>layer</em>, </td> |
| 535 | </tr> |
| 536 | <tr> |
| 537 | <td class="paramkey"></td> |
| 538 | <td></td> |
| 539 | <td class="paramtype">const char * </td> |
| 540 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 541 | </tr> |
| 542 | <tr> |
| 543 | <td></td> |
| 544 | <td>)</td> |
| 545 | <td></td><td></td> |
| 546 | </tr> |
| 547 | </table> |
| 548 | </td> |
| 549 | <td class="mlabels-right"> |
| 550 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 551 | </tr> |
| 552 | </table> |
| 553 | </div><div class="memdoc"> |
| 554 | <p>Function that an addition layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 555 | <table class="params"> |
| 556 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 557 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 558 | </table> |
| 559 | </dd> |
| 560 | </dl> |
| 561 | |
| 562 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a2d20b94b7de822f3d29ab12e47e3be4e">ILayerVisitor</a>.</p> |
| 563 | |
| 564 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00130">130</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 565 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 566 | </div> |
| 567 | </div> |
| 568 | <a id="a2482bba03a17e59a8ead45530e8efea5"></a> |
| 569 | <h2 class="memtitle"><span class="permalink"><a href="#a2482bba03a17e59a8ead45530e8efea5">◆ </a></span>VisitArgMinMaxLayer()</h2> |
| 570 | |
| 571 | <div class="memitem"> |
| 572 | <div class="memproto"> |
| 573 | <table class="mlabels"> |
| 574 | <tr> |
| 575 | <td class="mlabels-left"> |
| 576 | <table class="memname"> |
| 577 | <tr> |
| 578 | <td class="memname">void VisitArgMinMaxLayer </td> |
| 579 | <td>(</td> |
| 580 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 581 | <td class="paramname"><em>layer</em>, </td> |
| 582 | </tr> |
| 583 | <tr> |
| 584 | <td class="paramkey"></td> |
| 585 | <td></td> |
| 586 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_arg_min_max_descriptor.html">ArgMinMaxDescriptor</a> & </td> |
| 587 | <td class="paramname"><em>argMinMaxDescriptor</em>, </td> |
| 588 | </tr> |
| 589 | <tr> |
| 590 | <td class="paramkey"></td> |
| 591 | <td></td> |
| 592 | <td class="paramtype">const char * </td> |
| 593 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 594 | </tr> |
| 595 | <tr> |
| 596 | <td></td> |
| 597 | <td>)</td> |
| 598 | <td></td><td></td> |
| 599 | </tr> |
| 600 | </table> |
| 601 | </td> |
| 602 | <td class="mlabels-right"> |
| 603 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 604 | </tr> |
| 605 | </table> |
| 606 | </div><div class="memdoc"> |
| 607 | <p>Function that an arg min max layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 608 | <table class="params"> |
| 609 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 610 | <tr><td class="paramname">argMinMaxDescriptor</td><td>- <a class="el" href="structarmnn_1_1_arg_min_max_descriptor.html" title="An ArgMinMaxDescriptor for ArgMinMaxLayer. ">ArgMinMaxDescriptor</a> to configure the activation. </td></tr> |
| 611 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 612 | </table> |
| 613 | </dd> |
| 614 | </dl> |
| 615 | |
| 616 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a8423316906ebe6ae6d28c7f69ad91248">ILayerVisitor</a>.</p> |
| 617 | |
| 618 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00137">137</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 619 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 620 | </div> |
| 621 | </div> |
| 622 | <a id="a1532cb8f551812e784ccc14faae407b9"></a> |
| 623 | <h2 class="memtitle"><span class="permalink"><a href="#a1532cb8f551812e784ccc14faae407b9">◆ </a></span>VisitBatchNormalizationLayer()</h2> |
| 624 | |
| 625 | <div class="memitem"> |
| 626 | <div class="memproto"> |
| 627 | <table class="mlabels"> |
| 628 | <tr> |
| 629 | <td class="mlabels-left"> |
| 630 | <table class="memname"> |
| 631 | <tr> |
| 632 | <td class="memname">void VisitBatchNormalizationLayer </td> |
| 633 | <td>(</td> |
| 634 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 635 | <td class="paramname"><em>layer</em>, </td> |
| 636 | </tr> |
| 637 | <tr> |
| 638 | <td class="paramkey"></td> |
| 639 | <td></td> |
| 640 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_batch_normalization_descriptor.html">BatchNormalizationDescriptor</a> & </td> |
| 641 | <td class="paramname"><em>desc</em>, </td> |
| 642 | </tr> |
| 643 | <tr> |
| 644 | <td class="paramkey"></td> |
| 645 | <td></td> |
| 646 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> & </td> |
| 647 | <td class="paramname"><em>mean</em>, </td> |
| 648 | </tr> |
| 649 | <tr> |
| 650 | <td class="paramkey"></td> |
| 651 | <td></td> |
| 652 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> & </td> |
| 653 | <td class="paramname"><em>variance</em>, </td> |
| 654 | </tr> |
| 655 | <tr> |
| 656 | <td class="paramkey"></td> |
| 657 | <td></td> |
| 658 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> & </td> |
| 659 | <td class="paramname"><em>beta</em>, </td> |
| 660 | </tr> |
| 661 | <tr> |
| 662 | <td class="paramkey"></td> |
| 663 | <td></td> |
| 664 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> & </td> |
| 665 | <td class="paramname"><em>gamma</em>, </td> |
| 666 | </tr> |
| 667 | <tr> |
| 668 | <td class="paramkey"></td> |
| 669 | <td></td> |
| 670 | <td class="paramtype">const char * </td> |
| 671 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 672 | </tr> |
| 673 | <tr> |
| 674 | <td></td> |
| 675 | <td>)</td> |
| 676 | <td></td><td></td> |
| 677 | </tr> |
| 678 | </table> |
| 679 | </td> |
| 680 | <td class="mlabels-right"> |
| 681 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 682 | </tr> |
| 683 | </table> |
| 684 | </div><div class="memdoc"> |
| 685 | <p>Function that a batch normalization layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 686 | <table class="params"> |
| 687 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 688 | <tr><td class="paramname">mean</td><td>- Pre-calculated mean for each channel. </td></tr> |
| 689 | <tr><td class="paramname">variance</td><td>- Pre-calculated variance for each channel. </td></tr> |
| 690 | <tr><td class="paramname">beta</td><td>- Per-channel additive factor. </td></tr> |
| 691 | <tr><td class="paramname">gamma</td><td>- Per-channel multiplicative factor. </td></tr> |
| 692 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 693 | </table> |
| 694 | </dd> |
| 695 | </dl> |
| 696 | |
| 697 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a9e642355474f31268e66a404e6c1b81d">ILayerVisitor</a>.</p> |
| 698 | |
| 699 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00146">146</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 700 | |
| 701 | <p class="reference">References <a class="el" href="_network_quantizer_utils_8cpp_source.html#l00015">armnn::CreateQuantizedConst()</a>.</p> |
| 702 | <div class="fragment"><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>  ConstTensor 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>  ConstTensor 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>  ConstTensor 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>  ConstTensor 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>  IConnectableLayer* 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="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> |
| 703 | </div><!-- fragment --> |
| 704 | </div> |
| 705 | </div> |
| 706 | <a id="af5d09e03a578afa9c0bb8afd11c65485"></a> |
| 707 | <h2 class="memtitle"><span class="permalink"><a href="#af5d09e03a578afa9c0bb8afd11c65485">◆ </a></span>VisitBatchToSpaceNdLayer()</h2> |
| 708 | |
| 709 | <div class="memitem"> |
| 710 | <div class="memproto"> |
| 711 | <table class="mlabels"> |
| 712 | <tr> |
| 713 | <td class="mlabels-left"> |
| 714 | <table class="memname"> |
| 715 | <tr> |
| 716 | <td class="memname">void VisitBatchToSpaceNdLayer </td> |
| 717 | <td>(</td> |
| 718 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 719 | <td class="paramname"><em>layer</em>, </td> |
| 720 | </tr> |
| 721 | <tr> |
| 722 | <td class="paramkey"></td> |
| 723 | <td></td> |
| 724 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_batch_to_space_nd_descriptor.html">BatchToSpaceNdDescriptor</a> & </td> |
| 725 | <td class="paramname"><em>batchToSpaceNdDescriptor</em>, </td> |
| 726 | </tr> |
| 727 | <tr> |
| 728 | <td class="paramkey"></td> |
| 729 | <td></td> |
| 730 | <td class="paramtype">const char * </td> |
| 731 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 732 | </tr> |
| 733 | <tr> |
| 734 | <td></td> |
| 735 | <td>)</td> |
| 736 | <td></td><td></td> |
| 737 | </tr> |
| 738 | </table> |
| 739 | </td> |
| 740 | <td class="mlabels-right"> |
| 741 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 742 | </tr> |
| 743 | </table> |
| 744 | </div><div class="memdoc"> |
| 745 | <p>Function that a batch to space ND layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 746 | <table class="params"> |
| 747 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 748 | <tr><td class="paramname">batchToSpaceNdDescriptor</td><td>- Description of the layer. </td></tr> |
| 749 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 750 | </table> |
| 751 | </dd> |
| 752 | </dl> |
| 753 | |
| 754 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a1cee693185bcda15bd777008e60c7cf7">ILayerVisitor</a>.</p> |
| 755 | |
| 756 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00177">177</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 757 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 758 | </div> |
| 759 | </div> |
| 760 | <a id="a6a1adf7bf81e5cbb74b4cc4e8946c653"></a> |
| 761 | <h2 class="memtitle"><span class="permalink"><a href="#a6a1adf7bf81e5cbb74b4cc4e8946c653">◆ </a></span>VisitComparisonLayer()</h2> |
| 762 | |
| 763 | <div class="memitem"> |
| 764 | <div class="memproto"> |
| 765 | <table class="mlabels"> |
| 766 | <tr> |
| 767 | <td class="mlabels-left"> |
| 768 | <table class="memname"> |
| 769 | <tr> |
| 770 | <td class="memname">void VisitComparisonLayer </td> |
| 771 | <td>(</td> |
| 772 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 773 | <td class="paramname"><em>layer</em>, </td> |
| 774 | </tr> |
| 775 | <tr> |
| 776 | <td class="paramkey"></td> |
| 777 | <td></td> |
| 778 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_comparison_descriptor.html">ComparisonDescriptor</a> & </td> |
| 779 | <td class="paramname"><em>comparisonDescriptor</em>, </td> |
| 780 | </tr> |
| 781 | <tr> |
| 782 | <td class="paramkey"></td> |
| 783 | <td></td> |
| 784 | <td class="paramtype">const char * </td> |
| 785 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 786 | </tr> |
| 787 | <tr> |
| 788 | <td></td> |
| 789 | <td>)</td> |
| 790 | <td></td><td></td> |
| 791 | </tr> |
| 792 | </table> |
| 793 | </td> |
| 794 | <td class="mlabels-right"> |
| 795 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 796 | </tr> |
| 797 | </table> |
| 798 | </div><div class="memdoc"> |
| 799 | <p>Function a Comparison layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 800 | <table class="params"> |
| 801 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 802 | <tr><td class="paramname">comparisonDescriptor</td><td>- Description of the layer. </td></tr> |
| 803 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 804 | </table> |
| 805 | </dd> |
| 806 | </dl> |
| 807 | |
| 808 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a6a1a6856fe4210d9c84c4fb86b4b661e">ILayerVisitor</a>.</p> |
| 809 | |
| 810 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00186">186</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 811 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 812 | </div> |
| 813 | </div> |
| 814 | <a id="afb527e0c7c30b56da911fee8c7b7a011"></a> |
| 815 | <h2 class="memtitle"><span class="permalink"><a href="#afb527e0c7c30b56da911fee8c7b7a011">◆ </a></span>VisitConcatLayer()</h2> |
| 816 | |
| 817 | <div class="memitem"> |
| 818 | <div class="memproto"> |
| 819 | <table class="mlabels"> |
| 820 | <tr> |
| 821 | <td class="mlabels-left"> |
| 822 | <table class="memname"> |
| 823 | <tr> |
| 824 | <td class="memname">void VisitConcatLayer </td> |
| 825 | <td>(</td> |
| 826 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 827 | <td class="paramname"><em>layer</em>, </td> |
| 828 | </tr> |
| 829 | <tr> |
| 830 | <td class="paramkey"></td> |
| 831 | <td></td> |
| 832 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> & </td> |
| 833 | <td class="paramname"><em>concatDescriptor</em>, </td> |
| 834 | </tr> |
| 835 | <tr> |
| 836 | <td class="paramkey"></td> |
| 837 | <td></td> |
| 838 | <td class="paramtype">const char * </td> |
| 839 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 840 | </tr> |
| 841 | <tr> |
| 842 | <td></td> |
| 843 | <td>)</td> |
| 844 | <td></td><td></td> |
| 845 | </tr> |
| 846 | </table> |
| 847 | </td> |
| 848 | <td class="mlabels-right"> |
| 849 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 850 | </tr> |
| 851 | </table> |
| 852 | </div><div class="memdoc"> |
| 853 | <p>Function that a concat layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 854 | <table class="params"> |
| 855 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 856 | <tr><td class="paramname">concatDescriptor</td><td>- ConcatDescriptor (synonym for <a class="el" href="structarmnn_1_1_origins_descriptor.html" title="An OriginsDescriptor for the ConcatLayer. Descriptor to configure the concatenation process...">OriginsDescriptor</a>) to configure the concatenation process. Number of Views must be equal to the number of inputs, and their order must match - e.g. first view corresponds to the first input, second view to the second input, etc.... </td></tr> |
| 857 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 858 | </table> |
| 859 | </dd> |
| 860 | </dl> |
| 861 | |
| 862 | <p>Reimplemented from <a class="el" href="classarmnn_1_1_i_layer_visitor.html#aeb90d7587f7887aee1f2b43261d4ee5c">ILayerVisitor</a>.</p> |
| 863 | |
| 864 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00195">195</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 865 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 866 | </div> |
| 867 | </div> |
| 868 | <a id="aeb652d74e4b3596e85b22c2d52144f73"></a> |
| 869 | <h2 class="memtitle"><span class="permalink"><a href="#aeb652d74e4b3596e85b22c2d52144f73">◆ </a></span>VisitConstantLayer()</h2> |
| 870 | |
| 871 | <div class="memitem"> |
| 872 | <div class="memproto"> |
| 873 | <table class="mlabels"> |
| 874 | <tr> |
| 875 | <td class="mlabels-left"> |
| 876 | <table class="memname"> |
| 877 | <tr> |
| 878 | <td class="memname">void VisitConstantLayer </td> |
| 879 | <td>(</td> |
| 880 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 881 | <td class="paramname"><em>layer</em>, </td> |
| 882 | </tr> |
| 883 | <tr> |
| 884 | <td class="paramkey"></td> |
| 885 | <td></td> |
| 886 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> & </td> |
| 887 | <td class="paramname"><em>input</em>, </td> |
| 888 | </tr> |
| 889 | <tr> |
| 890 | <td class="paramkey"></td> |
| 891 | <td></td> |
| 892 | <td class="paramtype">const char * </td> |
| 893 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 894 | </tr> |
| 895 | <tr> |
| 896 | <td></td> |
| 897 | <td>)</td> |
| 898 | <td></td><td></td> |
| 899 | </tr> |
| 900 | </table> |
| 901 | </td> |
| 902 | <td class="mlabels-right"> |
| 903 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 904 | </tr> |
| 905 | </table> |
| 906 | </div><div class="memdoc"> |
| 907 | <p>Function a layer with no inputs and a single output, which always corresponds to the passed in constant tensor should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 908 | <table class="params"> |
| 909 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 910 | <tr><td class="paramname">input</td><td>- <a class="el" href="classarmnn_1_1_tensor.html" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a> to be provided as the only output of the layer. The layer will maintain its own copy of the tensor data, meaning the memory referenced by <em>input</em> can be freed or reused after this function is called. </td></tr> |
| 911 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 912 | </table> |
| 913 | </dd> |
| 914 | </dl> |
| 915 | |
| 916 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a2f123a6a99ac143c0f3806cb505765cd">ILayerVisitor</a>.</p> |
| 917 | |
| 918 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00204">204</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 919 | |
| 920 | <p class="reference">References <a class="el" href="_network_quantizer_utils_8cpp_source.html#l00015">armnn::CreateQuantizedConst()</a>.</p> |
| 921 | <div class="fragment"><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>  ConstTensor 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>  IConnectableLayer* 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="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> |
| 922 | </div><!-- fragment --> |
| 923 | </div> |
| 924 | </div> |
| 925 | <a id="ac2f379ba77b06095e0c024e232ec1fd4"></a> |
| 926 | <h2 class="memtitle"><span class="permalink"><a href="#ac2f379ba77b06095e0c024e232ec1fd4">◆ </a></span>VisitConvolution2dLayer()</h2> |
| 927 | |
| 928 | <div class="memitem"> |
| 929 | <div class="memproto"> |
| 930 | <table class="mlabels"> |
| 931 | <tr> |
| 932 | <td class="mlabels-left"> |
| 933 | <table class="memname"> |
| 934 | <tr> |
| 935 | <td class="memname">void VisitConvolution2dLayer </td> |
| 936 | <td>(</td> |
| 937 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 938 | <td class="paramname"><em>layer</em>, </td> |
| 939 | </tr> |
| 940 | <tr> |
| 941 | <td class="paramkey"></td> |
| 942 | <td></td> |
| 943 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_convolution2d_descriptor.html">Convolution2dDescriptor</a> & </td> |
| 944 | <td class="paramname"><em>convolution2dDescriptor</em>, </td> |
| 945 | </tr> |
| 946 | <tr> |
| 947 | <td class="paramkey"></td> |
| 948 | <td></td> |
| 949 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> & </td> |
| 950 | <td class="paramname"><em>weights</em>, </td> |
| 951 | </tr> |
| 952 | <tr> |
| 953 | <td class="paramkey"></td> |
| 954 | <td></td> |
| 955 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > & </td> |
| 956 | <td class="paramname"><em>biases</em>, </td> |
| 957 | </tr> |
| 958 | <tr> |
| 959 | <td class="paramkey"></td> |
| 960 | <td></td> |
| 961 | <td class="paramtype">const char * </td> |
| 962 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 963 | </tr> |
| 964 | <tr> |
| 965 | <td></td> |
| 966 | <td>)</td> |
| 967 | <td></td><td></td> |
| 968 | </tr> |
| 969 | </table> |
| 970 | </td> |
| 971 | <td class="mlabels-right"> |
| 972 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 973 | </tr> |
| 974 | </table> |
| 975 | </div><div class="memdoc"> |
| 976 | <p>Function that a 2D convolution layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 977 | <table class="params"> |
| 978 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 979 | <tr><td class="paramname">convolution2dDescriptor</td><td>- Description of the 2D convolution layer. </td></tr> |
| 980 | <tr><td class="paramname">weights</td><td>- <a class="el" href="classarmnn_1_1_tensor.html" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a> for the weights data. </td></tr> |
| 981 | <tr><td class="paramname">biases</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> tensor for the bias data. If specified, must match the output tensor shape. </td></tr> |
| 982 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 983 | </table> |
| 984 | </dd> |
| 985 | </dl> |
| 986 | |
| 987 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#abc8fe4c6cbc8fa2b13c525500dddfbf6">ILayerVisitor</a>.</p> |
| 988 | |
| 989 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00215">215</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 990 | |
| 991 | <p class="reference">References <a class="el" href="_network_quantizer_utils_8cpp_source.html#l00015">armnn::CreateQuantizedConst()</a>, and <a class="el" href="_optional_8hpp_source.html#l00053">OptionalBase::has_value()</a>.</p> |
| 992 | <div class="fragment"><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>  ConstTensor 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>  Optional<ConstTensor> 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.has_value())</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>  ConstTensor qBiases = CreateQuantizedBias(layer, qWeights, biases, biasesBacking);</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  optionalQBiases = Optional<ConstTensor>(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>  IConnectableLayer* 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="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> |
| 993 | </div><!-- fragment --> |
| 994 | </div> |
| 995 | </div> |
| 996 | <a id="ac0daac0e6ce49805580a8a50a8d3d514"></a> |
| 997 | <h2 class="memtitle"><span class="permalink"><a href="#ac0daac0e6ce49805580a8a50a8d3d514">◆ </a></span>VisitDepthToSpaceLayer()</h2> |
| 998 | |
| 999 | <div class="memitem"> |
| 1000 | <div class="memproto"> |
| 1001 | <table class="mlabels"> |
| 1002 | <tr> |
| 1003 | <td class="mlabels-left"> |
| 1004 | <table class="memname"> |
| 1005 | <tr> |
| 1006 | <td class="memname">void VisitDepthToSpaceLayer </td> |
| 1007 | <td>(</td> |
| 1008 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1009 | <td class="paramname"><em>layer</em>, </td> |
| 1010 | </tr> |
| 1011 | <tr> |
| 1012 | <td class="paramkey"></td> |
| 1013 | <td></td> |
| 1014 | <td class="paramtype">const <a class="el" href="namespacearmnn.html#a3647f60510bc8ddaced01c51b0ee8714">DepthToSpaceDescriptor</a> & </td> |
| 1015 | <td class="paramname"><em>depthToSpaceDescriptor</em>, </td> |
| 1016 | </tr> |
| 1017 | <tr> |
| 1018 | <td class="paramkey"></td> |
| 1019 | <td></td> |
| 1020 | <td class="paramtype">const char * </td> |
| 1021 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1022 | </tr> |
| 1023 | <tr> |
| 1024 | <td></td> |
| 1025 | <td>)</td> |
| 1026 | <td></td><td></td> |
| 1027 | </tr> |
| 1028 | </table> |
| 1029 | </td> |
| 1030 | <td class="mlabels-right"> |
| 1031 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1032 | </tr> |
| 1033 | </table> |
| 1034 | </div><div class="memdoc"> |
| 1035 | <p>Function a depth to space layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1036 | <table class="params"> |
| 1037 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1038 | <tr><td class="paramname">depthToSpaceDescriptor</td><td>- Parameters for the depth to space operation. </td></tr> |
| 1039 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1040 | </table> |
| 1041 | </dd> |
| 1042 | </dl> |
| 1043 | |
| 1044 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a72d308d6f24ffb8846375d770394af66">ILayerVisitor</a>.</p> |
| 1045 | |
| 1046 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00241">241</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1047 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1048 | </div> |
| 1049 | </div> |
| 1050 | <a id="a554e88817e6fd98645388873a108f868"></a> |
| 1051 | <h2 class="memtitle"><span class="permalink"><a href="#a554e88817e6fd98645388873a108f868">◆ </a></span>VisitDepthwiseConvolution2dLayer()</h2> |
| 1052 | |
| 1053 | <div class="memitem"> |
| 1054 | <div class="memproto"> |
| 1055 | <table class="mlabels"> |
| 1056 | <tr> |
| 1057 | <td class="mlabels-left"> |
| 1058 | <table class="memname"> |
| 1059 | <tr> |
| 1060 | <td class="memname">void VisitDepthwiseConvolution2dLayer </td> |
| 1061 | <td>(</td> |
| 1062 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1063 | <td class="paramname"><em>layer</em>, </td> |
| 1064 | </tr> |
| 1065 | <tr> |
| 1066 | <td class="paramkey"></td> |
| 1067 | <td></td> |
| 1068 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html">DepthwiseConvolution2dDescriptor</a> & </td> |
| 1069 | <td class="paramname"><em>convolution2dDescriptor</em>, </td> |
| 1070 | </tr> |
| 1071 | <tr> |
| 1072 | <td class="paramkey"></td> |
| 1073 | <td></td> |
| 1074 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> & </td> |
| 1075 | <td class="paramname"><em>weights</em>, </td> |
| 1076 | </tr> |
| 1077 | <tr> |
| 1078 | <td class="paramkey"></td> |
| 1079 | <td></td> |
| 1080 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > & </td> |
| 1081 | <td class="paramname"><em>biases</em>, </td> |
| 1082 | </tr> |
| 1083 | <tr> |
| 1084 | <td class="paramkey"></td> |
| 1085 | <td></td> |
| 1086 | <td class="paramtype">const char * </td> |
| 1087 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1088 | </tr> |
| 1089 | <tr> |
| 1090 | <td></td> |
| 1091 | <td>)</td> |
| 1092 | <td></td><td></td> |
| 1093 | </tr> |
| 1094 | </table> |
| 1095 | </td> |
| 1096 | <td class="mlabels-right"> |
| 1097 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1098 | </tr> |
| 1099 | </table> |
| 1100 | </div><div class="memdoc"> |
| 1101 | <p>Function that a 2D depthwise convolution layer with biases should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1102 | <table class="params"> |
| 1103 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1104 | <tr><td class="paramname">convolution2dDescriptor</td><td>- Description of the 2D depthwise convolution layer. </td></tr> |
| 1105 | <tr><td class="paramname">weights</td><td>- <a class="el" href="classarmnn_1_1_tensor.html" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a> for the weights. Expected format: [channelMultiplier, inputChannels, height, width]. </td></tr> |
| 1106 | <tr><td class="paramname">biases</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> tensor for the bias data. If specified, must match the output tensor shape. </td></tr> |
| 1107 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1108 | </table> |
| 1109 | </dd> |
| 1110 | </dl> |
| 1111 | |
| 1112 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#ad39aaac8f8fb790ae364c87f1a249d68">ILayerVisitor</a>.</p> |
| 1113 | |
| 1114 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00250">250</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1115 | |
| 1116 | <p class="reference">References <a class="el" href="_network_quantizer_utils_8cpp_source.html#l00015">armnn::CreateQuantizedConst()</a>, and <a class="el" href="_optional_8hpp_source.html#l00053">OptionalBase::has_value()</a>.</p> |
| 1117 | <div class="fragment"><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>  ConstTensor 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>  Optional<ConstTensor> 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.has_value())</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>  ConstTensor qBiases = CreateQuantizedBias(layer, qWeights, biases, biasesBacking);</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  optionalQBiases = Optional<ConstTensor>(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>  IConnectableLayer* 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="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> |
| 1118 | </div><!-- fragment --> |
| 1119 | </div> |
| 1120 | </div> |
| 1121 | <a id="a237f88794e504388160a87813b66b9e3"></a> |
| 1122 | <h2 class="memtitle"><span class="permalink"><a href="#a237f88794e504388160a87813b66b9e3">◆ </a></span>VisitElementwiseUnaryLayer()</h2> |
| 1123 | |
| 1124 | <div class="memitem"> |
| 1125 | <div class="memproto"> |
| 1126 | <table class="mlabels"> |
| 1127 | <tr> |
| 1128 | <td class="mlabels-left"> |
| 1129 | <table class="memname"> |
| 1130 | <tr> |
| 1131 | <td class="memname">void VisitElementwiseUnaryLayer </td> |
| 1132 | <td>(</td> |
| 1133 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1134 | <td class="paramname"><em>layer</em>, </td> |
| 1135 | </tr> |
| 1136 | <tr> |
| 1137 | <td class="paramkey"></td> |
| 1138 | <td></td> |
| 1139 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.html">ElementwiseUnaryDescriptor</a> & </td> |
| 1140 | <td class="paramname"><em>elementwiseUnaryDescriptor</em>, </td> |
| 1141 | </tr> |
| 1142 | <tr> |
| 1143 | <td class="paramkey"></td> |
| 1144 | <td></td> |
| 1145 | <td class="paramtype">const char * </td> |
| 1146 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1147 | </tr> |
| 1148 | <tr> |
| 1149 | <td></td> |
| 1150 | <td>)</td> |
| 1151 | <td></td><td></td> |
| 1152 | </tr> |
| 1153 | </table> |
| 1154 | </td> |
| 1155 | <td class="mlabels-right"> |
| 1156 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1157 | </tr> |
| 1158 | </table> |
| 1159 | </div><div class="memdoc"> |
| 1160 | <p>Function a ElementwiseUnary layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1161 | <table class="params"> |
| 1162 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1163 | <tr><td class="paramname">elementwiseUnaryDescriptor</td><td>- Description of the layer. </td></tr> |
| 1164 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1165 | </table> |
| 1166 | </dd> |
| 1167 | </dl> |
| 1168 | |
| 1169 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#aaf99c2bdfe61c48821f23826433a5abc">ILayerVisitor</a>.</p> |
| 1170 | |
| 1171 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00276">276</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1172 | |
| 1173 | <p class="reference">Referenced by <a class="el" href="_quantizer_visitor_8cpp_source.html#l00116">QuantizerVisitor::VisitAbsLayer()</a>, and <a class="el" href="_quantizer_visitor_8cpp_source.html#l00460">QuantizerVisitor::VisitRsqrtLayer()</a>.</p> |
| 1174 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1175 | </div> |
| 1176 | </div> |
| 1177 | <a id="abbdd655f9e0bec625369079ed97f1328"></a> |
| 1178 | <h2 class="memtitle"><span class="permalink"><a href="#abbdd655f9e0bec625369079ed97f1328">◆ </a></span>VisitFullyConnectedLayer()</h2> |
| 1179 | |
| 1180 | <div class="memitem"> |
| 1181 | <div class="memproto"> |
| 1182 | <table class="mlabels"> |
| 1183 | <tr> |
| 1184 | <td class="mlabels-left"> |
| 1185 | <table class="memname"> |
| 1186 | <tr> |
| 1187 | <td class="memname">void VisitFullyConnectedLayer </td> |
| 1188 | <td>(</td> |
| 1189 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1190 | <td class="paramname"><em>layer</em>, </td> |
| 1191 | </tr> |
| 1192 | <tr> |
| 1193 | <td class="paramkey"></td> |
| 1194 | <td></td> |
| 1195 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_fully_connected_descriptor.html">FullyConnectedDescriptor</a> & </td> |
| 1196 | <td class="paramname"><em>fullyConnectedDescriptor</em>, </td> |
| 1197 | </tr> |
| 1198 | <tr> |
| 1199 | <td class="paramkey"></td> |
| 1200 | <td></td> |
| 1201 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> & </td> |
| 1202 | <td class="paramname"><em>weights</em>, </td> |
| 1203 | </tr> |
| 1204 | <tr> |
| 1205 | <td class="paramkey"></td> |
| 1206 | <td></td> |
| 1207 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > & </td> |
| 1208 | <td class="paramname"><em>biases</em>, </td> |
| 1209 | </tr> |
| 1210 | <tr> |
| 1211 | <td class="paramkey"></td> |
| 1212 | <td></td> |
| 1213 | <td class="paramtype">const char * </td> |
| 1214 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1215 | </tr> |
| 1216 | <tr> |
| 1217 | <td></td> |
| 1218 | <td>)</td> |
| 1219 | <td></td><td></td> |
| 1220 | </tr> |
| 1221 | </table> |
| 1222 | </td> |
| 1223 | <td class="mlabels-right"> |
| 1224 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1225 | </tr> |
| 1226 | </table> |
| 1227 | </div><div class="memdoc"> |
| 1228 | <p>Function that a fully connected layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1229 | <table class="params"> |
| 1230 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1231 | <tr><td class="paramname">fullyConnectedDescriptor</td><td>- Description of the fully connected layer. </td></tr> |
| 1232 | <tr><td class="paramname">weights</td><td>- <a class="el" href="classarmnn_1_1_tensor.html" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a> for the weights data. </td></tr> |
| 1233 | <tr><td class="paramname">biases</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> tensor for the bias data. </td></tr> |
| 1234 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1235 | </table> |
| 1236 | </dd> |
| 1237 | </dl> |
| 1238 | |
| 1239 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#ab93a48970564c6eabbc982a2116c1262">ILayerVisitor</a>.</p> |
| 1240 | |
| 1241 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00285">285</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1242 | |
| 1243 | <p class="reference">References <a class="el" href="_network_quantizer_utils_8cpp_source.html#l00015">armnn::CreateQuantizedConst()</a>, and <a class="el" href="_optional_8hpp_source.html#l00053">OptionalBase::has_value()</a>.</p> |
| 1244 | <div class="fragment"><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>  ConstTensor 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>  Optional<ConstTensor> 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.has_value())</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>  ConstTensor qBiases = CreateQuantizedBias(layer, qWeights, biases, biasesBacking);</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  optionalQBiases = Optional<ConstTensor>(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>  IConnectableLayer* 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="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> |
| 1245 | </div><!-- fragment --> |
| 1246 | </div> |
| 1247 | </div> |
| 1248 | <a id="a2ca539d734553e606c0134940e444298"></a> |
| 1249 | <h2 class="memtitle"><span class="permalink"><a href="#a2ca539d734553e606c0134940e444298">◆ </a></span>VisitInputLayer()</h2> |
| 1250 | |
| 1251 | <div class="memitem"> |
| 1252 | <div class="memproto"> |
| 1253 | <table class="mlabels"> |
| 1254 | <tr> |
| 1255 | <td class="mlabels-left"> |
| 1256 | <table class="memname"> |
| 1257 | <tr> |
| 1258 | <td class="memname">void VisitInputLayer </td> |
| 1259 | <td>(</td> |
| 1260 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1261 | <td class="paramname"><em>layer</em>, </td> |
| 1262 | </tr> |
| 1263 | <tr> |
| 1264 | <td class="paramkey"></td> |
| 1265 | <td></td> |
| 1266 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> </td> |
| 1267 | <td class="paramname"><em>id</em>, </td> |
| 1268 | </tr> |
| 1269 | <tr> |
| 1270 | <td class="paramkey"></td> |
| 1271 | <td></td> |
| 1272 | <td class="paramtype">const char * </td> |
| 1273 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1274 | </tr> |
| 1275 | <tr> |
| 1276 | <td></td> |
| 1277 | <td>)</td> |
| 1278 | <td></td><td></td> |
| 1279 | </tr> |
| 1280 | </table> |
| 1281 | </td> |
| 1282 | <td class="mlabels-right"> |
| 1283 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1284 | </tr> |
| 1285 | </table> |
| 1286 | </div><div class="memdoc"> |
| 1287 | <p>Function that an <a class="el" href="classarmnn_1_1_input_layer.html" title="A layer user-provided data can be bound to (e.g. inputs, outputs). ">InputLayer</a> should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1288 | <table class="params"> |
| 1289 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1290 | <tr><td class="paramname">id</td><td>- User generated id to uniquely identify a particular input. The same id needs to be specified when passing the inputs to the <a class="el" href="classarmnn_1_1_i_runtime.html#aec0dc8016a3b1e444dfc1ffb5f15195c" title="Evaluates a network using input in inputTensors and outputs filled into outputTensors. ">IRuntime::EnqueueWorkload()</a> function. </td></tr> |
| 1291 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1292 | </table> |
| 1293 | </dd> |
| 1294 | </dl> |
| 1295 | |
| 1296 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#ab6dc51682cb4178194f3f00c2309ec7b">ILayerVisitor</a>.</p> |
| 1297 | |
| 1298 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00311">311</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1299 | |
| 1300 | <p class="reference">References <a class="el" href="classarmnn_1_1_i_output_slot.html#ac1835f8756a9f03c02fcf9664e3a0fce">IOutputSlot::Connect()</a>, <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>, <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>, <a class="el" href="_tensor_8hpp_source.html#l00095">TensorInfo::GetDataType()</a>, <a class="el" href="classarmnn_1_1_i_connectable_layer.html#a6ec9e0eb66d7d6a01240492a0b18104c">IConnectableLayer::GetInputSlot()</a>, <a class="el" href="classarmnn_1_1_i_connectable_layer.html#a80ac4eda2e7f2757ec9dd96fc96dbd16">IConnectableLayer::GetOutputSlot()</a>, <a class="el" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">IOutputSlot::GetTensorInfo()</a>, and <a class="el" href="classarmnn_1_1_i_output_slot.html#a5ee4a6c9a2481245487b1b1a70d20fd0">IOutputSlot::SetTensorInfo()</a>.</p> |
| 1301 | <div class="fragment"><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->GetOutputSlot(0).GetTensorInfo().GetDataType();</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  IConnectableLayer* 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>  IConnectableLayer* quantizeLayer = m_QuantizedNetwork->AddQuantizeLayer();</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  inputLayer->GetOutputSlot(0).Connect(quantizeLayer->GetInputSlot(0));</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  inputLayer->GetOutputSlot(0).SetTensorInfo(layer->GetOutputSlot(0).GetTensorInfo());</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="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 1302 | <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> |
| 1303 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 1304 | </div><!-- fragment --> |
| 1305 | </div> |
| 1306 | </div> |
| 1307 | <a id="ac6da520014db9cd2d4bede451e37ca0a"></a> |
| 1308 | <h2 class="memtitle"><span class="permalink"><a href="#ac6da520014db9cd2d4bede451e37ca0a">◆ </a></span>VisitInstanceNormalizationLayer()</h2> |
| 1309 | |
| 1310 | <div class="memitem"> |
| 1311 | <div class="memproto"> |
| 1312 | <table class="mlabels"> |
| 1313 | <tr> |
| 1314 | <td class="mlabels-left"> |
| 1315 | <table class="memname"> |
| 1316 | <tr> |
| 1317 | <td class="memname">void VisitInstanceNormalizationLayer </td> |
| 1318 | <td>(</td> |
| 1319 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1320 | <td class="paramname"><em>layer</em>, </td> |
| 1321 | </tr> |
| 1322 | <tr> |
| 1323 | <td class="paramkey"></td> |
| 1324 | <td></td> |
| 1325 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_instance_normalization_descriptor.html">InstanceNormalizationDescriptor</a> & </td> |
| 1326 | <td class="paramname"><em>desc</em>, </td> |
| 1327 | </tr> |
| 1328 | <tr> |
| 1329 | <td class="paramkey"></td> |
| 1330 | <td></td> |
| 1331 | <td class="paramtype">const char * </td> |
| 1332 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1333 | </tr> |
| 1334 | <tr> |
| 1335 | <td></td> |
| 1336 | <td>)</td> |
| 1337 | <td></td><td></td> |
| 1338 | </tr> |
| 1339 | </table> |
| 1340 | </td> |
| 1341 | <td class="mlabels-right"> |
| 1342 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1343 | </tr> |
| 1344 | </table> |
| 1345 | </div><div class="memdoc"> |
| 1346 | <p>Function that an instance normalization layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1347 | <table class="params"> |
| 1348 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1349 | <tr><td class="paramname">desc</td><td>- Parameters for the instance normalization operation. </td></tr> |
| 1350 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1351 | </table> |
| 1352 | </dd> |
| 1353 | </dl> |
| 1354 | |
| 1355 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#aaf4e8d2b1ed2612f4821ed1d2351667b">ILayerVisitor</a>.</p> |
| 1356 | |
| 1357 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00329">329</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1358 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1359 | </div> |
| 1360 | </div> |
| 1361 | <a id="abe0c29cd370a84c3e669d28dda18afb7"></a> |
| 1362 | <h2 class="memtitle"><span class="permalink"><a href="#abe0c29cd370a84c3e669d28dda18afb7">◆ </a></span>VisitLogSoftmaxLayer()</h2> |
| 1363 | |
| 1364 | <div class="memitem"> |
| 1365 | <div class="memproto"> |
| 1366 | <table class="mlabels"> |
| 1367 | <tr> |
| 1368 | <td class="mlabels-left"> |
| 1369 | <table class="memname"> |
| 1370 | <tr> |
| 1371 | <td class="memname">void VisitLogSoftmaxLayer </td> |
| 1372 | <td>(</td> |
| 1373 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1374 | <td class="paramname"><em>layer</em>, </td> |
| 1375 | </tr> |
| 1376 | <tr> |
| 1377 | <td class="paramkey"></td> |
| 1378 | <td></td> |
| 1379 | <td class="paramtype">const <a class="el" href="namespacearmnn.html#ac14705405cbcdd580df613de6766fe65">LogSoftmaxDescriptor</a> & </td> |
| 1380 | <td class="paramname"><em>logSoftmaxDescriptor</em>, </td> |
| 1381 | </tr> |
| 1382 | <tr> |
| 1383 | <td class="paramkey"></td> |
| 1384 | <td></td> |
| 1385 | <td class="paramtype">const char * </td> |
| 1386 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1387 | </tr> |
| 1388 | <tr> |
| 1389 | <td></td> |
| 1390 | <td>)</td> |
| 1391 | <td></td><td></td> |
| 1392 | </tr> |
| 1393 | </table> |
| 1394 | </td> |
| 1395 | <td class="mlabels-right"> |
| 1396 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1397 | </tr> |
| 1398 | </table> |
| 1399 | </div><div class="memdoc"> |
| 1400 | <p>Function that a log softmax layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1401 | <table class="params"> |
| 1402 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1403 | <tr><td class="paramname">logSoftmaxDescriptor</td><td>- LogSoftmaxDescriptor to configure the log softmax. </td></tr> |
| 1404 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1405 | </table> |
| 1406 | </dd> |
| 1407 | </dl> |
| 1408 | |
| 1409 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a2db103c5db69877b05b365e50ee3bd5b">ILayerVisitor</a>.</p> |
| 1410 | |
| 1411 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00338">338</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1412 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1413 | </div> |
| 1414 | </div> |
| 1415 | <a id="a0a2f55bda910ccf8816d2678b7c980b6"></a> |
| 1416 | <h2 class="memtitle"><span class="permalink"><a href="#a0a2f55bda910ccf8816d2678b7c980b6">◆ </a></span>VisitMeanLayer()</h2> |
| 1417 | |
| 1418 | <div class="memitem"> |
| 1419 | <div class="memproto"> |
| 1420 | <table class="mlabels"> |
| 1421 | <tr> |
| 1422 | <td class="mlabels-left"> |
| 1423 | <table class="memname"> |
| 1424 | <tr> |
| 1425 | <td class="memname">void VisitMeanLayer </td> |
| 1426 | <td>(</td> |
| 1427 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1428 | <td class="paramname"><em>layer</em>, </td> |
| 1429 | </tr> |
| 1430 | <tr> |
| 1431 | <td class="paramkey"></td> |
| 1432 | <td></td> |
| 1433 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_mean_descriptor.html">MeanDescriptor</a> & </td> |
| 1434 | <td class="paramname"><em>meanDescriptor</em>, </td> |
| 1435 | </tr> |
| 1436 | <tr> |
| 1437 | <td class="paramkey"></td> |
| 1438 | <td></td> |
| 1439 | <td class="paramtype">const char * </td> |
| 1440 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1441 | </tr> |
| 1442 | <tr> |
| 1443 | <td></td> |
| 1444 | <td>)</td> |
| 1445 | <td></td><td></td> |
| 1446 | </tr> |
| 1447 | </table> |
| 1448 | </td> |
| 1449 | <td class="mlabels-right"> |
| 1450 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1451 | </tr> |
| 1452 | </table> |
| 1453 | </div><div class="memdoc"> |
| 1454 | <p>Function a Mean layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1455 | <table class="params"> |
| 1456 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1457 | <tr><td class="paramname">meanDescriptor</td><td>- Parameters for the mean operation. </td></tr> |
| 1458 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1459 | </table> |
| 1460 | </dd> |
| 1461 | </dl> |
| 1462 | |
| 1463 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#ab33e9cae83e312ccc9e12adcf53494e3">ILayerVisitor</a>.</p> |
| 1464 | |
| 1465 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00347">347</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1466 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1467 | </div> |
| 1468 | </div> |
| 1469 | <a id="a1c587861e672cedaedd1f32bbce44afc"></a> |
| 1470 | <h2 class="memtitle"><span class="permalink"><a href="#a1c587861e672cedaedd1f32bbce44afc">◆ </a></span>VisitMultiplicationLayer()</h2> |
| 1471 | |
| 1472 | <div class="memitem"> |
| 1473 | <div class="memproto"> |
| 1474 | <table class="mlabels"> |
| 1475 | <tr> |
| 1476 | <td class="mlabels-left"> |
| 1477 | <table class="memname"> |
| 1478 | <tr> |
| 1479 | <td class="memname">void VisitMultiplicationLayer </td> |
| 1480 | <td>(</td> |
| 1481 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1482 | <td class="paramname"><em>layer</em>, </td> |
| 1483 | </tr> |
| 1484 | <tr> |
| 1485 | <td class="paramkey"></td> |
| 1486 | <td></td> |
| 1487 | <td class="paramtype">const char * </td> |
| 1488 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1489 | </tr> |
| 1490 | <tr> |
| 1491 | <td></td> |
| 1492 | <td>)</td> |
| 1493 | <td></td><td></td> |
| 1494 | </tr> |
| 1495 | </table> |
| 1496 | </td> |
| 1497 | <td class="mlabels-right"> |
| 1498 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1499 | </tr> |
| 1500 | </table> |
| 1501 | </div><div class="memdoc"> |
| 1502 | <p>Function that a multiplication layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1503 | <table class="params"> |
| 1504 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1505 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1506 | </table> |
| 1507 | </dd> |
| 1508 | </dl> |
| 1509 | |
| 1510 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a1e415ad61a4fa40d85a4f0da855cf485">ILayerVisitor</a>.</p> |
| 1511 | |
| 1512 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00356">356</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1513 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1514 | </div> |
| 1515 | </div> |
| 1516 | <a id="ab0946e6e13740185d7b7939720f347f1"></a> |
| 1517 | <h2 class="memtitle"><span class="permalink"><a href="#ab0946e6e13740185d7b7939720f347f1">◆ </a></span>VisitNormalizationLayer()</h2> |
| 1518 | |
| 1519 | <div class="memitem"> |
| 1520 | <div class="memproto"> |
| 1521 | <table class="mlabels"> |
| 1522 | <tr> |
| 1523 | <td class="mlabels-left"> |
| 1524 | <table class="memname"> |
| 1525 | <tr> |
| 1526 | <td class="memname">void VisitNormalizationLayer </td> |
| 1527 | <td>(</td> |
| 1528 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1529 | <td class="paramname"><em>layer</em>, </td> |
| 1530 | </tr> |
| 1531 | <tr> |
| 1532 | <td class="paramkey"></td> |
| 1533 | <td></td> |
| 1534 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_normalization_descriptor.html">NormalizationDescriptor</a> & </td> |
| 1535 | <td class="paramname"><em>normalizationDescriptor</em>, </td> |
| 1536 | </tr> |
| 1537 | <tr> |
| 1538 | <td class="paramkey"></td> |
| 1539 | <td></td> |
| 1540 | <td class="paramtype">const char * </td> |
| 1541 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1542 | </tr> |
| 1543 | <tr> |
| 1544 | <td></td> |
| 1545 | <td>)</td> |
| 1546 | <td></td><td></td> |
| 1547 | </tr> |
| 1548 | </table> |
| 1549 | </td> |
| 1550 | <td class="mlabels-right"> |
| 1551 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1552 | </tr> |
| 1553 | </table> |
| 1554 | </div><div class="memdoc"> |
| 1555 | <p>Function that a normalization layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1556 | <table class="params"> |
| 1557 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1558 | <tr><td class="paramname">normalizationDescriptor</td><td>- <a class="el" href="structarmnn_1_1_normalization_descriptor.html" title="A NormalizationDescriptor for the NormalizationLayer. ">NormalizationDescriptor</a> to configure the normalization. </td></tr> |
| 1559 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1560 | </table> |
| 1561 | </dd> |
| 1562 | </dl> |
| 1563 | |
| 1564 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a96501b3e43422b9fdf6fc45d89b20992">ILayerVisitor</a>.</p> |
| 1565 | |
| 1566 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00364">364</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1567 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1568 | </div> |
| 1569 | </div> |
| 1570 | <a id="ac75d60924c52b96ea6f9567fcfa2db10"></a> |
| 1571 | <h2 class="memtitle"><span class="permalink"><a href="#ac75d60924c52b96ea6f9567fcfa2db10">◆ </a></span>VisitOutputLayer()</h2> |
| 1572 | |
| 1573 | <div class="memitem"> |
| 1574 | <div class="memproto"> |
| 1575 | <table class="mlabels"> |
| 1576 | <tr> |
| 1577 | <td class="mlabels-left"> |
| 1578 | <table class="memname"> |
| 1579 | <tr> |
| 1580 | <td class="memname">void VisitOutputLayer </td> |
| 1581 | <td>(</td> |
| 1582 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1583 | <td class="paramname"><em>layer</em>, </td> |
| 1584 | </tr> |
| 1585 | <tr> |
| 1586 | <td class="paramkey"></td> |
| 1587 | <td></td> |
| 1588 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> </td> |
| 1589 | <td class="paramname"><em>id</em>, </td> |
| 1590 | </tr> |
| 1591 | <tr> |
| 1592 | <td class="paramkey"></td> |
| 1593 | <td></td> |
| 1594 | <td class="paramtype">const char * </td> |
| 1595 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1596 | </tr> |
| 1597 | <tr> |
| 1598 | <td></td> |
| 1599 | <td>)</td> |
| 1600 | <td></td><td></td> |
| 1601 | </tr> |
| 1602 | </table> |
| 1603 | </td> |
| 1604 | <td class="mlabels-right"> |
| 1605 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1606 | </tr> |
| 1607 | </table> |
| 1608 | </div><div class="memdoc"> |
| 1609 | <p>Function an output layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1610 | <table class="params"> |
| 1611 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1612 | <tr><td class="paramname">id</td><td>- User generated id to uniquely identify a particular output. The same id needs to be specified when passing the outputs to the <a class="el" href="classarmnn_1_1_i_runtime.html#aec0dc8016a3b1e444dfc1ffb5f15195c" title="Evaluates a network using input in inputTensors and outputs filled into outputTensors. ">IRuntime::EnqueueWorkload()</a> function. </td></tr> |
| 1613 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1614 | </table> |
| 1615 | </dd> |
| 1616 | </dl> |
| 1617 | |
| 1618 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a0da6bde681d919b7282eddad4a446890">ILayerVisitor</a>.</p> |
| 1619 | |
| 1620 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00373">373</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1621 | |
| 1622 | <p class="reference">References <a class="el" href="classarmnn_1_1_i_output_slot.html#ac1835f8756a9f03c02fcf9664e3a0fce">IOutputSlot::Connect()</a>, <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>, <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>, <a class="el" href="classarmnn_1_1_i_input_slot.html#a81fbf6103761e55061b62ba989b00f10">IInputSlot::GetConnection()</a>, <a class="el" href="_tensor_8hpp_source.html#l00095">TensorInfo::GetDataType()</a>, <a class="el" href="classarmnn_1_1_i_connectable_layer.html#a6ec9e0eb66d7d6a01240492a0b18104c">IConnectableLayer::GetInputSlot()</a>, <a class="el" href="classarmnn_1_1_i_connectable_layer.html#a80ac4eda2e7f2757ec9dd96fc96dbd16">IConnectableLayer::GetOutputSlot()</a>, <a class="el" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">IOutputSlot::GetTensorInfo()</a>, <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::info</a>, and <a class="el" href="classarmnn_1_1_i_output_slot.html#a5ee4a6c9a2481245487b1b1a70d20fd0">IOutputSlot::SetTensorInfo()</a>.</p> |
| 1623 | <div class="fragment"><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> TensorInfo& <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a> = layer->GetInputSlot(0).GetConnection()->GetTensorInfo();</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.GetDataType();</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  IConnectableLayer* 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>  IConnectableLayer* 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->GetOutputSlot(0).Connect(outputLayer->GetInputSlot(0));</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  dequantizeLayer->GetOutputSlot(0).SetTensorInfo(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="ttc" id="namespacearmnn_html_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div> |
| 1624 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 1625 | <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> |
| 1626 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 1627 | </div><!-- fragment --> |
| 1628 | </div> |
| 1629 | </div> |
| 1630 | <a id="a0b4b2e9b5578bf50197c6929a6a48071"></a> |
| 1631 | <h2 class="memtitle"><span class="permalink"><a href="#a0b4b2e9b5578bf50197c6929a6a48071">◆ </a></span>VisitPadLayer()</h2> |
| 1632 | |
| 1633 | <div class="memitem"> |
| 1634 | <div class="memproto"> |
| 1635 | <table class="mlabels"> |
| 1636 | <tr> |
| 1637 | <td class="mlabels-left"> |
| 1638 | <table class="memname"> |
| 1639 | <tr> |
| 1640 | <td class="memname">void VisitPadLayer </td> |
| 1641 | <td>(</td> |
| 1642 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1643 | <td class="paramname"><em>layer</em>, </td> |
| 1644 | </tr> |
| 1645 | <tr> |
| 1646 | <td class="paramkey"></td> |
| 1647 | <td></td> |
| 1648 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_pad_descriptor.html">PadDescriptor</a> & </td> |
| 1649 | <td class="paramname"><em>padDescriptor</em>, </td> |
| 1650 | </tr> |
| 1651 | <tr> |
| 1652 | <td class="paramkey"></td> |
| 1653 | <td></td> |
| 1654 | <td class="paramtype">const char * </td> |
| 1655 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1656 | </tr> |
| 1657 | <tr> |
| 1658 | <td></td> |
| 1659 | <td>)</td> |
| 1660 | <td></td><td></td> |
| 1661 | </tr> |
| 1662 | </table> |
| 1663 | </td> |
| 1664 | <td class="mlabels-right"> |
| 1665 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1666 | </tr> |
| 1667 | </table> |
| 1668 | </div><div class="memdoc"> |
| 1669 | <p>Function a pad layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1670 | <table class="params"> |
| 1671 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1672 | <tr><td class="paramname">paddings</td><td>- n by 2 tensor, where n is the rank of the input tensor, such that paddings[i,0] indicates the amount of padding to add in front of dimension i, and paddings[i,1] indicates the amount of padding to add after the end of dimension i </td></tr> |
| 1673 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1674 | </table> |
| 1675 | </dd> |
| 1676 | </dl> |
| 1677 | |
| 1678 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#aab2febd844bcf654e80cf164984c8904">ILayerVisitor</a>.</p> |
| 1679 | |
| 1680 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00394">394</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1681 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1682 | </div> |
| 1683 | </div> |
| 1684 | <a id="a8667c9d0c42575e31c7a630fea8c7256"></a> |
| 1685 | <h2 class="memtitle"><span class="permalink"><a href="#a8667c9d0c42575e31c7a630fea8c7256">◆ </a></span>VisitPermuteLayer()</h2> |
| 1686 | |
| 1687 | <div class="memitem"> |
| 1688 | <div class="memproto"> |
| 1689 | <table class="mlabels"> |
| 1690 | <tr> |
| 1691 | <td class="mlabels-left"> |
| 1692 | <table class="memname"> |
| 1693 | <tr> |
| 1694 | <td class="memname">void VisitPermuteLayer </td> |
| 1695 | <td>(</td> |
| 1696 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1697 | <td class="paramname"><em>layer</em>, </td> |
| 1698 | </tr> |
| 1699 | <tr> |
| 1700 | <td class="paramkey"></td> |
| 1701 | <td></td> |
| 1702 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_permute_descriptor.html">PermuteDescriptor</a> & </td> |
| 1703 | <td class="paramname"><em>permuteDescriptor</em>, </td> |
| 1704 | </tr> |
| 1705 | <tr> |
| 1706 | <td class="paramkey"></td> |
| 1707 | <td></td> |
| 1708 | <td class="paramtype">const char * </td> |
| 1709 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1710 | </tr> |
| 1711 | <tr> |
| 1712 | <td></td> |
| 1713 | <td>)</td> |
| 1714 | <td></td><td></td> |
| 1715 | </tr> |
| 1716 | </table> |
| 1717 | </td> |
| 1718 | <td class="mlabels-right"> |
| 1719 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1720 | </tr> |
| 1721 | </table> |
| 1722 | </div><div class="memdoc"> |
| 1723 | <p>Function that a permute layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1724 | <table class="params"> |
| 1725 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1726 | <tr><td class="paramname">permuteDescriptor</td><td>- <a class="el" href="structarmnn_1_1_permute_descriptor.html" title="A PermuteDescriptor for the PermuteLayer. ">PermuteDescriptor</a> to configure the permute. </td></tr> |
| 1727 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1728 | </table> |
| 1729 | </dd> |
| 1730 | </dl> |
| 1731 | |
| 1732 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a211e587a05b0c7e7202f8f8894f89894">ILayerVisitor</a>.</p> |
| 1733 | |
| 1734 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00403">403</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1735 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1736 | </div> |
| 1737 | </div> |
| 1738 | <a id="aaee763832ceb783dcffde56e1c1a6d93"></a> |
| 1739 | <h2 class="memtitle"><span class="permalink"><a href="#aaee763832ceb783dcffde56e1c1a6d93">◆ </a></span>VisitPooling2dLayer()</h2> |
| 1740 | |
| 1741 | <div class="memitem"> |
| 1742 | <div class="memproto"> |
| 1743 | <table class="mlabels"> |
| 1744 | <tr> |
| 1745 | <td class="mlabels-left"> |
| 1746 | <table class="memname"> |
| 1747 | <tr> |
| 1748 | <td class="memname">void VisitPooling2dLayer </td> |
| 1749 | <td>(</td> |
| 1750 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1751 | <td class="paramname"><em>layer</em>, </td> |
| 1752 | </tr> |
| 1753 | <tr> |
| 1754 | <td class="paramkey"></td> |
| 1755 | <td></td> |
| 1756 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_pooling2d_descriptor.html">Pooling2dDescriptor</a> & </td> |
| 1757 | <td class="paramname"><em>pooling2dDescriptor</em>, </td> |
| 1758 | </tr> |
| 1759 | <tr> |
| 1760 | <td class="paramkey"></td> |
| 1761 | <td></td> |
| 1762 | <td class="paramtype">const char * </td> |
| 1763 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1764 | </tr> |
| 1765 | <tr> |
| 1766 | <td></td> |
| 1767 | <td>)</td> |
| 1768 | <td></td><td></td> |
| 1769 | </tr> |
| 1770 | </table> |
| 1771 | </td> |
| 1772 | <td class="mlabels-right"> |
| 1773 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1774 | </tr> |
| 1775 | </table> |
| 1776 | </div><div class="memdoc"> |
| 1777 | <p>Function that a pooling layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1778 | <table class="params"> |
| 1779 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1780 | <tr><td class="paramname">pooling2dDescriptor</td><td>- <a class="el" href="structarmnn_1_1_pooling2d_descriptor.html" title="A Pooling2dDescriptor for the Pooling2dLayer. ">Pooling2dDescriptor</a> to configure the pooling. </td></tr> |
| 1781 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1782 | </table> |
| 1783 | </dd> |
| 1784 | </dl> |
| 1785 | |
| 1786 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#aef56afef7d87afa51fd363487c375af5">ILayerVisitor</a>.</p> |
| 1787 | |
| 1788 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00412">412</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1789 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1790 | </div> |
| 1791 | </div> |
| 1792 | <a id="a34f5745a60988b4a109ec213f8d0cb77"></a> |
| 1793 | <h2 class="memtitle"><span class="permalink"><a href="#a34f5745a60988b4a109ec213f8d0cb77">◆ </a></span>VisitPreluLayer()</h2> |
| 1794 | |
| 1795 | <div class="memitem"> |
| 1796 | <div class="memproto"> |
| 1797 | <table class="mlabels"> |
| 1798 | <tr> |
| 1799 | <td class="mlabels-left"> |
| 1800 | <table class="memname"> |
| 1801 | <tr> |
| 1802 | <td class="memname">void VisitPreluLayer </td> |
| 1803 | <td>(</td> |
| 1804 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1805 | <td class="paramname"><em>layer</em>, </td> |
| 1806 | </tr> |
| 1807 | <tr> |
| 1808 | <td class="paramkey"></td> |
| 1809 | <td></td> |
| 1810 | <td class="paramtype">const char * </td> |
| 1811 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1812 | </tr> |
| 1813 | <tr> |
| 1814 | <td></td> |
| 1815 | <td>)</td> |
| 1816 | <td></td><td></td> |
| 1817 | </tr> |
| 1818 | </table> |
| 1819 | </td> |
| 1820 | <td class="mlabels-right"> |
| 1821 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1822 | </tr> |
| 1823 | </table> |
| 1824 | </div><div class="memdoc"> |
| 1825 | <p>Function that a PReLU activation layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1826 | <table class="params"> |
| 1827 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1828 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1829 | </table> |
| 1830 | </dd> |
| 1831 | </dl> |
| 1832 | |
| 1833 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a4f6971a5d2c164c691dc7943f4befd5c">ILayerVisitor</a>.</p> |
| 1834 | |
| 1835 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00421">421</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1836 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1837 | </div> |
| 1838 | </div> |
| 1839 | <a id="a4a7f7f33591fd91e8fb1c08d06c0733a"></a> |
| 1840 | <h2 class="memtitle"><span class="permalink"><a href="#a4a7f7f33591fd91e8fb1c08d06c0733a">◆ </a></span>VisitReshapeLayer()</h2> |
| 1841 | |
| 1842 | <div class="memitem"> |
| 1843 | <div class="memproto"> |
| 1844 | <table class="mlabels"> |
| 1845 | <tr> |
| 1846 | <td class="mlabels-left"> |
| 1847 | <table class="memname"> |
| 1848 | <tr> |
| 1849 | <td class="memname">void VisitReshapeLayer </td> |
| 1850 | <td>(</td> |
| 1851 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1852 | <td class="paramname"><em>layer</em>, </td> |
| 1853 | </tr> |
| 1854 | <tr> |
| 1855 | <td class="paramkey"></td> |
| 1856 | <td></td> |
| 1857 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_reshape_descriptor.html">ReshapeDescriptor</a> & </td> |
| 1858 | <td class="paramname"><em>reshapeDescriptor</em>, </td> |
| 1859 | </tr> |
| 1860 | <tr> |
| 1861 | <td class="paramkey"></td> |
| 1862 | <td></td> |
| 1863 | <td class="paramtype">const char * </td> |
| 1864 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1865 | </tr> |
| 1866 | <tr> |
| 1867 | <td></td> |
| 1868 | <td>)</td> |
| 1869 | <td></td><td></td> |
| 1870 | </tr> |
| 1871 | </table> |
| 1872 | </td> |
| 1873 | <td class="mlabels-right"> |
| 1874 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1875 | </tr> |
| 1876 | </table> |
| 1877 | </div><div class="memdoc"> |
| 1878 | <p>Function a reshape layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1879 | <table class="params"> |
| 1880 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1881 | <tr><td class="paramname">reshapeDescriptor</td><td>- Parameters for the reshape operation. </td></tr> |
| 1882 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1883 | </table> |
| 1884 | </dd> |
| 1885 | </dl> |
| 1886 | |
| 1887 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#acb732489554691ba852ca323888093ac">ILayerVisitor</a>.</p> |
| 1888 | |
| 1889 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00429">429</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1890 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 1891 | </div> |
| 1892 | </div> |
| 1893 | <a id="a5abbca55c908440acecfa6e0f921092d"></a> |
| 1894 | <h2 class="memtitle"><span class="permalink"><a href="#a5abbca55c908440acecfa6e0f921092d">◆ </a></span>VisitResizeBilinearLayer()</h2> |
| 1895 | |
| 1896 | <div class="memitem"> |
| 1897 | <div class="memproto"> |
| 1898 | <table class="mlabels"> |
| 1899 | <tr> |
| 1900 | <td class="mlabels-left"> |
| 1901 | <table class="memname"> |
| 1902 | <tr> |
| 1903 | <td class="memname">void VisitResizeBilinearLayer </td> |
| 1904 | <td>(</td> |
| 1905 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1906 | <td class="paramname"><em>layer</em>, </td> |
| 1907 | </tr> |
| 1908 | <tr> |
| 1909 | <td class="paramkey"></td> |
| 1910 | <td></td> |
| 1911 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_resize_bilinear_descriptor.html">ResizeBilinearDescriptor</a> & </td> |
| 1912 | <td class="paramname"><em>resizeDesc</em>, </td> |
| 1913 | </tr> |
| 1914 | <tr> |
| 1915 | <td class="paramkey"></td> |
| 1916 | <td></td> |
| 1917 | <td class="paramtype">const char * </td> |
| 1918 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1919 | </tr> |
| 1920 | <tr> |
| 1921 | <td></td> |
| 1922 | <td>)</td> |
| 1923 | <td></td><td></td> |
| 1924 | </tr> |
| 1925 | </table> |
| 1926 | </td> |
| 1927 | <td class="mlabels-right"> |
| 1928 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1929 | </tr> |
| 1930 | </table> |
| 1931 | </div><div class="memdoc"> |
| 1932 | <p>Function that a resize bilinear layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1933 | <table class="params"> |
| 1934 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1935 | <tr><td class="paramname">resizeDesc</td><td>- Parameters for the resize operation. </td></tr> |
| 1936 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1937 | </table> |
| 1938 | </dd> |
| 1939 | </dl> |
| 1940 | |
| 1941 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a8d87dab666a8aa6e132fcd93717a3c4b">ILayerVisitor</a>.</p> |
| 1942 | |
| 1943 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00438">438</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 1944 | |
| 1945 | <p class="reference">References <a class="el" href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f">armnn::Bilinear</a>, <a class="el" href="_descriptors_8hpp_source.html#l00720">ResizeBilinearDescriptor::m_DataLayout</a>, <a class="el" href="_descriptors_8hpp_source.html#l00751">ResizeDescriptor::m_DataLayout</a>, <a class="el" href="_descriptors_8hpp_source.html#l00749">ResizeDescriptor::m_Method</a>, <a class="el" href="_descriptors_8hpp_source.html#l00718">ResizeBilinearDescriptor::m_TargetHeight</a>, <a class="el" href="_descriptors_8hpp_source.html#l00746">ResizeDescriptor::m_TargetHeight</a>, <a class="el" href="_descriptors_8hpp_source.html#l00716">ResizeBilinearDescriptor::m_TargetWidth</a>, <a class="el" href="_descriptors_8hpp_source.html#l00744">ResizeDescriptor::m_TargetWidth</a>, and <a class="el" href="_quantizer_visitor_8cpp_source.html#l00451">QuantizerVisitor::VisitResizeLayer()</a>.</p> |
| 1946 | <div class="fragment"><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>  ResizeDescriptor resizeDescriptor;</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  resizeDescriptor.m_Method = <a class="code" href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f">ResizeMethod::Bilinear</a>;</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  resizeDescriptor.m_TargetWidth = resizeBilinearDescriptor.m_TargetWidth;</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  resizeDescriptor.m_TargetHeight = resizeBilinearDescriptor.m_TargetHeight;</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  resizeDescriptor.m_DataLayout = resizeBilinearDescriptor.m_DataLayout;</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="ttc" id="namespacearmnn_html_a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f"><div class="ttname"><a href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f">armnn::ResizeMethod::Bilinear</a></div></div> |
| 1947 | <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> |
| 1948 | </div><!-- fragment --> |
| 1949 | </div> |
| 1950 | </div> |
| 1951 | <a id="a7eea0e93f066099f3549fef15881a4cb"></a> |
| 1952 | <h2 class="memtitle"><span class="permalink"><a href="#a7eea0e93f066099f3549fef15881a4cb">◆ </a></span>VisitResizeLayer()</h2> |
| 1953 | |
| 1954 | <div class="memitem"> |
| 1955 | <div class="memproto"> |
| 1956 | <table class="mlabels"> |
| 1957 | <tr> |
| 1958 | <td class="mlabels-left"> |
| 1959 | <table class="memname"> |
| 1960 | <tr> |
| 1961 | <td class="memname">void VisitResizeLayer </td> |
| 1962 | <td>(</td> |
| 1963 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 1964 | <td class="paramname"><em>layer</em>, </td> |
| 1965 | </tr> |
| 1966 | <tr> |
| 1967 | <td class="paramkey"></td> |
| 1968 | <td></td> |
| 1969 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_resize_descriptor.html">ResizeDescriptor</a> & </td> |
| 1970 | <td class="paramname"><em>resizeDescriptor</em>, </td> |
| 1971 | </tr> |
| 1972 | <tr> |
| 1973 | <td class="paramkey"></td> |
| 1974 | <td></td> |
| 1975 | <td class="paramtype">const char * </td> |
| 1976 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 1977 | </tr> |
| 1978 | <tr> |
| 1979 | <td></td> |
| 1980 | <td>)</td> |
| 1981 | <td></td><td></td> |
| 1982 | </tr> |
| 1983 | </table> |
| 1984 | </td> |
| 1985 | <td class="mlabels-right"> |
| 1986 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 1987 | </tr> |
| 1988 | </table> |
| 1989 | </div><div class="memdoc"> |
| 1990 | <p>Function that a resize layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 1991 | <table class="params"> |
| 1992 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 1993 | <tr><td class="paramname">resizeDescriptor</td><td>- Parameters for the resize operation. </td></tr> |
| 1994 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 1995 | </table> |
| 1996 | </dd> |
| 1997 | </dl> |
| 1998 | |
| 1999 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a306e22f3cc6baaf7a6f1390f669be42e">ILayerVisitor</a>.</p> |
| 2000 | |
| 2001 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00451">451</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 2002 | |
| 2003 | <p class="reference">Referenced by <a class="el" href="_quantizer_visitor_8cpp_source.html#l00438">QuantizerVisitor::VisitResizeBilinearLayer()</a>.</p> |
| 2004 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 2005 | </div> |
| 2006 | </div> |
| 2007 | <a id="a990bfe643729a7dedcc55da1f7d1b3bf"></a> |
| 2008 | <h2 class="memtitle"><span class="permalink"><a href="#a990bfe643729a7dedcc55da1f7d1b3bf">◆ </a></span>VisitRsqrtLayer()</h2> |
| 2009 | |
| 2010 | <div class="memitem"> |
| 2011 | <div class="memproto"> |
| 2012 | <table class="mlabels"> |
| 2013 | <tr> |
| 2014 | <td class="mlabels-left"> |
| 2015 | <table class="memname"> |
| 2016 | <tr> |
| 2017 | <td class="memname">void VisitRsqrtLayer </td> |
| 2018 | <td>(</td> |
| 2019 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 2020 | <td class="paramname"><em>layer</em>, </td> |
| 2021 | </tr> |
| 2022 | <tr> |
| 2023 | <td class="paramkey"></td> |
| 2024 | <td></td> |
| 2025 | <td class="paramtype">const char * </td> |
| 2026 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 2027 | </tr> |
| 2028 | <tr> |
| 2029 | <td></td> |
| 2030 | <td>)</td> |
| 2031 | <td></td><td></td> |
| 2032 | </tr> |
| 2033 | </table> |
| 2034 | </td> |
| 2035 | <td class="mlabels-right"> |
| 2036 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 2037 | </tr> |
| 2038 | </table> |
| 2039 | </div><div class="memdoc"> |
| 2040 | <p>Function a Reciprocal of square root layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 2041 | <table class="params"> |
| 2042 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 2043 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 2044 | </table> |
| 2045 | </dd> |
| 2046 | </dl> |
| 2047 | |
| 2048 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a413253dbf325ea0b44559b55242170d1">ILayerVisitor</a>.</p> |
| 2049 | |
| 2050 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00460">460</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 2051 | |
| 2052 | <p class="reference">References <a class="el" href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">armnn::Rsqrt</a>, and <a class="el" href="_quantizer_visitor_8cpp_source.html#l00276">QuantizerVisitor::VisitElementwiseUnaryLayer()</a>.</p> |
| 2053 | <div class="fragment"><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, ElementwiseUnaryDescriptor(<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="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> |
| 2054 | <div class="ttc" id="namespacearmnn_html_a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4"><div class="ttname"><a href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">armnn::UnaryOperation::Rsqrt</a></div></div> |
| 2055 | </div><!-- fragment --> |
| 2056 | </div> |
| 2057 | </div> |
| 2058 | <a id="a20a228046c2aacd8664e50841af84e2b"></a> |
| 2059 | <h2 class="memtitle"><span class="permalink"><a href="#a20a228046c2aacd8664e50841af84e2b">◆ </a></span>VisitSliceLayer()</h2> |
| 2060 | |
| 2061 | <div class="memitem"> |
| 2062 | <div class="memproto"> |
| 2063 | <table class="mlabels"> |
| 2064 | <tr> |
| 2065 | <td class="mlabels-left"> |
| 2066 | <table class="memname"> |
| 2067 | <tr> |
| 2068 | <td class="memname">void VisitSliceLayer </td> |
| 2069 | <td>(</td> |
| 2070 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 2071 | <td class="paramname"><em>layer</em>, </td> |
| 2072 | </tr> |
| 2073 | <tr> |
| 2074 | <td class="paramkey"></td> |
| 2075 | <td></td> |
| 2076 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_slice_descriptor.html">SliceDescriptor</a> & </td> |
| 2077 | <td class="paramname"><em>sliceDescriptor</em>, </td> |
| 2078 | </tr> |
| 2079 | <tr> |
| 2080 | <td class="paramkey"></td> |
| 2081 | <td></td> |
| 2082 | <td class="paramtype">const char * </td> |
| 2083 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 2084 | </tr> |
| 2085 | <tr> |
| 2086 | <td></td> |
| 2087 | <td>)</td> |
| 2088 | <td></td><td></td> |
| 2089 | </tr> |
| 2090 | </table> |
| 2091 | </td> |
| 2092 | <td class="mlabels-right"> |
| 2093 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 2094 | </tr> |
| 2095 | </table> |
| 2096 | </div><div class="memdoc"> |
| 2097 | <p>Function that a slice layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 2098 | <table class="params"> |
| 2099 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 2100 | <tr><td class="paramname">sliceDescriptor</td><td>- <a class="el" href="structarmnn_1_1_slice_descriptor.html" title="A SliceDescriptor for the SliceLayer. ">SliceDescriptor</a> to configure the slice operation. </td></tr> |
| 2101 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 2102 | </table> |
| 2103 | </dd> |
| 2104 | </dl> |
| 2105 | |
| 2106 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#aad5c9d5c9cf256ea990097732fd1f108">ILayerVisitor</a>.</p> |
| 2107 | |
| 2108 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00465">465</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 2109 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 2110 | </div> |
| 2111 | </div> |
| 2112 | <a id="a98f34d2511f43324833060154cbdba8d"></a> |
| 2113 | <h2 class="memtitle"><span class="permalink"><a href="#a98f34d2511f43324833060154cbdba8d">◆ </a></span>VisitSoftmaxLayer()</h2> |
| 2114 | |
| 2115 | <div class="memitem"> |
| 2116 | <div class="memproto"> |
| 2117 | <table class="mlabels"> |
| 2118 | <tr> |
| 2119 | <td class="mlabels-left"> |
| 2120 | <table class="memname"> |
| 2121 | <tr> |
| 2122 | <td class="memname">void VisitSoftmaxLayer </td> |
| 2123 | <td>(</td> |
| 2124 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 2125 | <td class="paramname"><em>layer</em>, </td> |
| 2126 | </tr> |
| 2127 | <tr> |
| 2128 | <td class="paramkey"></td> |
| 2129 | <td></td> |
| 2130 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_softmax_descriptor.html">SoftmaxDescriptor</a> & </td> |
| 2131 | <td class="paramname"><em>softmaxDescriptor</em>, </td> |
| 2132 | </tr> |
| 2133 | <tr> |
| 2134 | <td class="paramkey"></td> |
| 2135 | <td></td> |
| 2136 | <td class="paramtype">const char * </td> |
| 2137 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 2138 | </tr> |
| 2139 | <tr> |
| 2140 | <td></td> |
| 2141 | <td>)</td> |
| 2142 | <td></td><td></td> |
| 2143 | </tr> |
| 2144 | </table> |
| 2145 | </td> |
| 2146 | <td class="mlabels-right"> |
| 2147 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 2148 | </tr> |
| 2149 | </table> |
| 2150 | </div><div class="memdoc"> |
| 2151 | <p>Function that a softmax layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 2152 | <table class="params"> |
| 2153 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 2154 | <tr><td class="paramname">softmaxDescriptor</td><td>- <a class="el" href="structarmnn_1_1_softmax_descriptor.html" title="A SoftmaxDescriptor for the SoftmaxLayer. ">SoftmaxDescriptor</a> to configure the softmax. </td></tr> |
| 2155 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 2156 | </table> |
| 2157 | </dd> |
| 2158 | </dl> |
| 2159 | |
| 2160 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#ae47c90e3188970462a28d297644133d1">ILayerVisitor</a>.</p> |
| 2161 | |
| 2162 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00474">474</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 2163 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 2164 | </div> |
| 2165 | </div> |
| 2166 | <a id="a8e327cc6432697fd55d6b91e554360d9"></a> |
| 2167 | <h2 class="memtitle"><span class="permalink"><a href="#a8e327cc6432697fd55d6b91e554360d9">◆ </a></span>VisitSpaceToBatchNdLayer()</h2> |
| 2168 | |
| 2169 | <div class="memitem"> |
| 2170 | <div class="memproto"> |
| 2171 | <table class="mlabels"> |
| 2172 | <tr> |
| 2173 | <td class="mlabels-left"> |
| 2174 | <table class="memname"> |
| 2175 | <tr> |
| 2176 | <td class="memname">void VisitSpaceToBatchNdLayer </td> |
| 2177 | <td>(</td> |
| 2178 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 2179 | <td class="paramname"><em>layer</em>, </td> |
| 2180 | </tr> |
| 2181 | <tr> |
| 2182 | <td class="paramkey"></td> |
| 2183 | <td></td> |
| 2184 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_space_to_batch_nd_descriptor.html">SpaceToBatchNdDescriptor</a> & </td> |
| 2185 | <td class="paramname"><em>spaceToBatchNdDescriptor</em>, </td> |
| 2186 | </tr> |
| 2187 | <tr> |
| 2188 | <td class="paramkey"></td> |
| 2189 | <td></td> |
| 2190 | <td class="paramtype">const char * </td> |
| 2191 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 2192 | </tr> |
| 2193 | <tr> |
| 2194 | <td></td> |
| 2195 | <td>)</td> |
| 2196 | <td></td><td></td> |
| 2197 | </tr> |
| 2198 | </table> |
| 2199 | </td> |
| 2200 | <td class="mlabels-right"> |
| 2201 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 2202 | </tr> |
| 2203 | </table> |
| 2204 | </div><div class="memdoc"> |
| 2205 | <p>Function a space to batch layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 2206 | <table class="params"> |
| 2207 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 2208 | <tr><td class="paramname">spaceToBatchNdDescriptor</td><td>- Parameters for the space to batch operation. </td></tr> |
| 2209 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 2210 | </table> |
| 2211 | </dd> |
| 2212 | </dl> |
| 2213 | |
| 2214 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#aa8c1ec6712293700fb3874f63f2ec5f0">ILayerVisitor</a>.</p> |
| 2215 | |
| 2216 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00483">483</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 2217 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 2218 | </div> |
| 2219 | </div> |
| 2220 | <a id="a2c416fbd39598732dd3c6255ceaf1b66"></a> |
| 2221 | <h2 class="memtitle"><span class="permalink"><a href="#a2c416fbd39598732dd3c6255ceaf1b66">◆ </a></span>VisitSpaceToDepthLayer()</h2> |
| 2222 | |
| 2223 | <div class="memitem"> |
| 2224 | <div class="memproto"> |
| 2225 | <table class="mlabels"> |
| 2226 | <tr> |
| 2227 | <td class="mlabels-left"> |
| 2228 | <table class="memname"> |
| 2229 | <tr> |
| 2230 | <td class="memname">void VisitSpaceToDepthLayer </td> |
| 2231 | <td>(</td> |
| 2232 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 2233 | <td class="paramname"><em>layer</em>, </td> |
| 2234 | </tr> |
| 2235 | <tr> |
| 2236 | <td class="paramkey"></td> |
| 2237 | <td></td> |
| 2238 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_space_to_depth_descriptor.html">SpaceToDepthDescriptor</a> & </td> |
| 2239 | <td class="paramname"><em>spaceToDepthDescriptor</em>, </td> |
| 2240 | </tr> |
| 2241 | <tr> |
| 2242 | <td class="paramkey"></td> |
| 2243 | <td></td> |
| 2244 | <td class="paramtype">const char * </td> |
| 2245 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 2246 | </tr> |
| 2247 | <tr> |
| 2248 | <td></td> |
| 2249 | <td>)</td> |
| 2250 | <td></td><td></td> |
| 2251 | </tr> |
| 2252 | </table> |
| 2253 | </td> |
| 2254 | <td class="mlabels-right"> |
| 2255 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 2256 | </tr> |
| 2257 | </table> |
| 2258 | </div><div class="memdoc"> |
| 2259 | <p>Function a space to depth layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 2260 | <table class="params"> |
| 2261 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 2262 | <tr><td class="paramname">spaceToDepthDescriptor</td><td>- Parameters for the space to depth operation. </td></tr> |
| 2263 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 2264 | </table> |
| 2265 | </dd> |
| 2266 | </dl> |
| 2267 | |
| 2268 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a7ac3fe15d509443ffbe985370b61b913">ILayerVisitor</a>.</p> |
| 2269 | |
| 2270 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00492">492</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 2271 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 2272 | </div> |
| 2273 | </div> |
| 2274 | <a id="afbea8aa2295f2ab71ea5bb64ccd47871"></a> |
| 2275 | <h2 class="memtitle"><span class="permalink"><a href="#afbea8aa2295f2ab71ea5bb64ccd47871">◆ </a></span>VisitSplitterLayer()</h2> |
| 2276 | |
| 2277 | <div class="memitem"> |
| 2278 | <div class="memproto"> |
| 2279 | <table class="mlabels"> |
| 2280 | <tr> |
| 2281 | <td class="mlabels-left"> |
| 2282 | <table class="memname"> |
| 2283 | <tr> |
| 2284 | <td class="memname">void VisitSplitterLayer </td> |
| 2285 | <td>(</td> |
| 2286 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 2287 | <td class="paramname"><em>layer</em>, </td> |
| 2288 | </tr> |
| 2289 | <tr> |
| 2290 | <td class="paramkey"></td> |
| 2291 | <td></td> |
| 2292 | <td class="paramtype">const <a class="el" href="namespacearmnn.html#a60291543fe872b795e71e05bcd835fd1">SplitterDescriptor</a> & </td> |
| 2293 | <td class="paramname"><em>splitterDescriptor</em>, </td> |
| 2294 | </tr> |
| 2295 | <tr> |
| 2296 | <td class="paramkey"></td> |
| 2297 | <td></td> |
| 2298 | <td class="paramtype">const char * </td> |
| 2299 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 2300 | </tr> |
| 2301 | <tr> |
| 2302 | <td></td> |
| 2303 | <td>)</td> |
| 2304 | <td></td><td></td> |
| 2305 | </tr> |
| 2306 | </table> |
| 2307 | </td> |
| 2308 | <td class="mlabels-right"> |
| 2309 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 2310 | </tr> |
| 2311 | </table> |
| 2312 | </div><div class="memdoc"> |
| 2313 | <p>Function that a splitter layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 2314 | <table class="params"> |
| 2315 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 2316 | <tr><td class="paramname">splitterDescriptor</td><td>- <a class="el" href="structarmnn_1_1_views_descriptor.html" title="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. ">ViewsDescriptor</a> 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.... </td></tr> |
| 2317 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 2318 | </table> |
| 2319 | </dd> |
| 2320 | </dl> |
| 2321 | |
| 2322 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a45c613d43c30b3314cafb1be3ef7685c">ILayerVisitor</a>.</p> |
| 2323 | |
| 2324 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00501">501</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 2325 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 2326 | </div> |
| 2327 | </div> |
| 2328 | <a id="a1b4325b20242a2db0922f68aea195d00"></a> |
| 2329 | <h2 class="memtitle"><span class="permalink"><a href="#a1b4325b20242a2db0922f68aea195d00">◆ </a></span>VisitStackLayer()</h2> |
| 2330 | |
| 2331 | <div class="memitem"> |
| 2332 | <div class="memproto"> |
| 2333 | <table class="mlabels"> |
| 2334 | <tr> |
| 2335 | <td class="mlabels-left"> |
| 2336 | <table class="memname"> |
| 2337 | <tr> |
| 2338 | <td class="memname">void VisitStackLayer </td> |
| 2339 | <td>(</td> |
| 2340 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 2341 | <td class="paramname"><em>layer</em>, </td> |
| 2342 | </tr> |
| 2343 | <tr> |
| 2344 | <td class="paramkey"></td> |
| 2345 | <td></td> |
| 2346 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_stack_descriptor.html">StackDescriptor</a> & </td> |
| 2347 | <td class="paramname"><em>stackDescriptor</em>, </td> |
| 2348 | </tr> |
| 2349 | <tr> |
| 2350 | <td class="paramkey"></td> |
| 2351 | <td></td> |
| 2352 | <td class="paramtype">const char * </td> |
| 2353 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 2354 | </tr> |
| 2355 | <tr> |
| 2356 | <td></td> |
| 2357 | <td>)</td> |
| 2358 | <td></td><td></td> |
| 2359 | </tr> |
| 2360 | </table> |
| 2361 | </td> |
| 2362 | <td class="mlabels-right"> |
| 2363 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 2364 | </tr> |
| 2365 | </table> |
| 2366 | </div><div class="memdoc"> |
| 2367 | <p>Function a stack layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 2368 | <table class="params"> |
| 2369 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 2370 | <tr><td class="paramname">stackDescriptor</td><td>- Parameters for the stack operation. </td></tr> |
| 2371 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 2372 | </table> |
| 2373 | </dd> |
| 2374 | </dl> |
| 2375 | |
| 2376 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a5c7df9d37959280f4328848ae4b2be37">ILayerVisitor</a>.</p> |
| 2377 | |
| 2378 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00510">510</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 2379 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 2380 | </div> |
| 2381 | </div> |
| 2382 | <a id="a61b7aa0305e7c45a625f7835fa26b9b6"></a> |
| 2383 | <h2 class="memtitle"><span class="permalink"><a href="#a61b7aa0305e7c45a625f7835fa26b9b6">◆ </a></span>VisitStridedSliceLayer()</h2> |
| 2384 | |
| 2385 | <div class="memitem"> |
| 2386 | <div class="memproto"> |
| 2387 | <table class="mlabels"> |
| 2388 | <tr> |
| 2389 | <td class="mlabels-left"> |
| 2390 | <table class="memname"> |
| 2391 | <tr> |
| 2392 | <td class="memname">void VisitStridedSliceLayer </td> |
| 2393 | <td>(</td> |
| 2394 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 2395 | <td class="paramname"><em>layer</em>, </td> |
| 2396 | </tr> |
| 2397 | <tr> |
| 2398 | <td class="paramkey"></td> |
| 2399 | <td></td> |
| 2400 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_strided_slice_descriptor.html">StridedSliceDescriptor</a> & </td> |
| 2401 | <td class="paramname"><em>stridedSliceDescriptor</em>, </td> |
| 2402 | </tr> |
| 2403 | <tr> |
| 2404 | <td class="paramkey"></td> |
| 2405 | <td></td> |
| 2406 | <td class="paramtype">const char * </td> |
| 2407 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 2408 | </tr> |
| 2409 | <tr> |
| 2410 | <td></td> |
| 2411 | <td>)</td> |
| 2412 | <td></td><td></td> |
| 2413 | </tr> |
| 2414 | </table> |
| 2415 | </td> |
| 2416 | <td class="mlabels-right"> |
| 2417 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 2418 | </tr> |
| 2419 | </table> |
| 2420 | </div><div class="memdoc"> |
| 2421 | <p>Function a strided slice layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 2422 | <table class="params"> |
| 2423 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 2424 | <tr><td class="paramname">stridedSliceDescriptor</td><td>- Parameters for the strided slice operation. </td></tr> |
| 2425 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 2426 | </table> |
| 2427 | </dd> |
| 2428 | </dl> |
| 2429 | |
| 2430 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#ac2f4ca5ada6d8fcf82d7bea2e6a06924">ILayerVisitor</a>.</p> |
| 2431 | |
| 2432 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00519">519</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 2433 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 2434 | </div> |
| 2435 | </div> |
| 2436 | <a id="abffdcc9b528d64b510103f5b280e246e"></a> |
| 2437 | <h2 class="memtitle"><span class="permalink"><a href="#abffdcc9b528d64b510103f5b280e246e">◆ </a></span>VisitSubtractionLayer()</h2> |
| 2438 | |
| 2439 | <div class="memitem"> |
| 2440 | <div class="memproto"> |
| 2441 | <table class="mlabels"> |
| 2442 | <tr> |
| 2443 | <td class="mlabels-left"> |
| 2444 | <table class="memname"> |
| 2445 | <tr> |
| 2446 | <td class="memname">void VisitSubtractionLayer </td> |
| 2447 | <td>(</td> |
| 2448 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 2449 | <td class="paramname"><em>layer</em>, </td> |
| 2450 | </tr> |
| 2451 | <tr> |
| 2452 | <td class="paramkey"></td> |
| 2453 | <td></td> |
| 2454 | <td class="paramtype">const char * </td> |
| 2455 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 2456 | </tr> |
| 2457 | <tr> |
| 2458 | <td></td> |
| 2459 | <td>)</td> |
| 2460 | <td></td><td></td> |
| 2461 | </tr> |
| 2462 | </table> |
| 2463 | </td> |
| 2464 | <td class="mlabels-right"> |
| 2465 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 2466 | </tr> |
| 2467 | </table> |
| 2468 | </div><div class="memdoc"> |
| 2469 | <p>Function a subtraction layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 2470 | <table class="params"> |
| 2471 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 2472 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 2473 | </table> |
| 2474 | </dd> |
| 2475 | </dl> |
| 2476 | |
| 2477 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#ad339435c8d56522efc647da668d47047">ILayerVisitor</a>.</p> |
| 2478 | |
| 2479 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00528">528</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 2480 | <div class="fragment"><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>  IConnectableLayer* 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><!-- fragment --> |
| 2481 | </div> |
| 2482 | </div> |
| 2483 | <a id="a9e7ddd6c869af052317c6de0df53c942"></a> |
| 2484 | <h2 class="memtitle"><span class="permalink"><a href="#a9e7ddd6c869af052317c6de0df53c942">◆ </a></span>VisitTransposeConvolution2dLayer()</h2> |
| 2485 | |
| 2486 | <div class="memitem"> |
| 2487 | <div class="memproto"> |
| 2488 | <table class="mlabels"> |
| 2489 | <tr> |
| 2490 | <td class="mlabels-left"> |
| 2491 | <table class="memname"> |
| 2492 | <tr> |
| 2493 | <td class="memname">void VisitTransposeConvolution2dLayer </td> |
| 2494 | <td>(</td> |
| 2495 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a> * </td> |
| 2496 | <td class="paramname"><em>layer</em>, </td> |
| 2497 | </tr> |
| 2498 | <tr> |
| 2499 | <td class="paramkey"></td> |
| 2500 | <td></td> |
| 2501 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_transpose_convolution2d_descriptor.html">TransposeConvolution2dDescriptor</a> & </td> |
| 2502 | <td class="paramname"><em>descriptor</em>, </td> |
| 2503 | </tr> |
| 2504 | <tr> |
| 2505 | <td class="paramkey"></td> |
| 2506 | <td></td> |
| 2507 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> & </td> |
| 2508 | <td class="paramname"><em>weights</em>, </td> |
| 2509 | </tr> |
| 2510 | <tr> |
| 2511 | <td class="paramkey"></td> |
| 2512 | <td></td> |
| 2513 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_optional.html">Optional</a>< <a class="el" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> > & </td> |
| 2514 | <td class="paramname"><em>biases</em>, </td> |
| 2515 | </tr> |
| 2516 | <tr> |
| 2517 | <td class="paramkey"></td> |
| 2518 | <td></td> |
| 2519 | <td class="paramtype">const char * </td> |
| 2520 | <td class="paramname"><em>name</em> = <code>nullptr</code> </td> |
| 2521 | </tr> |
| 2522 | <tr> |
| 2523 | <td></td> |
| 2524 | <td>)</td> |
| 2525 | <td></td><td></td> |
| 2526 | </tr> |
| 2527 | </table> |
| 2528 | </td> |
| 2529 | <td class="mlabels-right"> |
| 2530 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 2531 | </tr> |
| 2532 | </table> |
| 2533 | </div><div class="memdoc"> |
| 2534 | <p>Function that a 2D transpose convolution layer should call back to when its Accept(ILayerVisitor&) function is invoked. </p><dl class="params"><dt>Parameters</dt><dd> |
| 2535 | <table class="params"> |
| 2536 | <tr><td class="paramname">layer</td><td>- pointer to the layer which is calling back to this visit function. </td></tr> |
| 2537 | <tr><td class="paramname">descriptor</td><td>- Description of the 2D transpose convolution layer. </td></tr> |
| 2538 | <tr><td class="paramname">weights</td><td>- <a class="el" href="classarmnn_1_1_tensor.html" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a> for the weights data. </td></tr> |
| 2539 | <tr><td class="paramname">biases</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> tensor for the bias data. </td></tr> |
| 2540 | <tr><td class="paramname">name</td><td>- <a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 2541 | </table> |
| 2542 | </dd> |
| 2543 | </dl> |
| 2544 | |
| 2545 | <p>Implements <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a58bb3bc96c089a4d0b954be81f1899c6">ILayerVisitor</a>.</p> |
| 2546 | |
| 2547 | <p class="definition">Definition at line <a class="el" href="_quantizer_visitor_8cpp_source.html#l00536">536</a> of file <a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a>.</p> |
| 2548 | |
| 2549 | <p class="reference">References <a class="el" href="_network_quantizer_utils_8cpp_source.html#l00015">armnn::CreateQuantizedConst()</a>, and <a class="el" href="_optional_8hpp_source.html#l00053">OptionalBase::has_value()</a>.</p> |
| 2550 | <div class="fragment"><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>  ConstTensor 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>  Optional<ConstTensor> optionalQBiases;</div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  <span class="keywordflow">if</span> (biases.has_value())</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>  ConstTensor qBiases = CreateQuantizedBias(layer, qWeights, biases, biasesBacking);</div><div class="line"><a name="l00552"></a><span class="lineno"> 552</span>  optionalQBiases = Optional<ConstTensor>(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>  IConnectableLayer* 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="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> |
| 2551 | </div><!-- fragment --> |
| 2552 | </div> |
| 2553 | </div> |
| 2554 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 2555 | <li>src/armnn/<a class="el" href="_quantizer_visitor_8hpp_source.html">QuantizerVisitor.hpp</a></li> |
| 2556 | <li>src/armnn/<a class="el" href="_quantizer_visitor_8cpp_source.html">QuantizerVisitor.cpp</a></li> |
| 2557 | </ul> |
| 2558 | </div><!-- contents --> |
| 2559 | </div><!-- doc-content --> |
| 2560 | <!-- start footer part --> |
| 2561 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 2562 | <ul> |
| 2563 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_quantizer_visitor.html">QuantizerVisitor</a></li> |
| 2564 | <li class="footer">Generated on Fri Mar 13 2020 16:07:04 for ArmNN by |
| 2565 | <a href="http://www.doxygen.org/index.html"> |
| 2566 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 2567 | </ul> |
| 2568 | </div> |
| 2569 | </body> |
| 2570 | </html> |