Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 5 | <!-- HTML header for doxygen 1.8.13--> |
| 6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 8 | <head> |
| 9 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 10 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 11 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 12 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> |
| 13 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 14 | <title>ArmNN: TensorInfo Class Reference</title> |
| 15 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 16 | <script type="text/javascript" src="jquery.js"></script> |
| 17 | <script type="text/javascript" src="dynsections.js"></script> |
| 18 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 19 | <script type="text/javascript" src="resize.js"></script> |
| 20 | <script type="text/javascript" src="navtreedata.js"></script> |
| 21 | <script type="text/javascript" src="navtree.js"></script> |
| 22 | <script type="text/javascript"> |
| 23 | $(document).ready(initResizable); |
| 24 | </script> |
| 25 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 26 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 27 | <script type="text/javascript" src="search/search.js"></script> |
| 28 | <script type="text/x-mathjax-config"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 33 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 34 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 35 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 42 | <tr style="height: 56px;"> |
| 43 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| 44 | <td style="padding-left: 0.5em;"> |
| 45 | <div id="projectname"> |
| 46 |  <span id="projectnumber">20.02</span> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 53 | <!-- end header part --> |
| 54 | <!-- Generated by Doxygen 1.8.13 --> |
| 55 | <script type="text/javascript"> |
| 56 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('classarmnn_1_1_tensor_info.xhtml','');}); |
| 80 | </script> |
| 81 | <div id="doc-content"> |
| 82 | <!-- window showing the filter options --> |
| 83 | <div id="MSearchSelectWindow" |
| 84 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 85 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 86 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 87 | </div> |
| 88 | |
| 89 | <!-- iframe showing the search results (closed by default) --> |
| 90 | <div id="MSearchResultsWindow"> |
| 91 | <iframe src="javascript:void(0)" frameborder="0" |
| 92 | name="MSearchResults" id="MSearchResults"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#nested-classes">Classes</a> | |
| 99 | <a href="#pub-methods">Public Member Functions</a> | |
| 100 | <a href="classarmnn_1_1_tensor_info-members.xhtml">List of all members</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">TensorInfo Class Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | |
| 106 | <p><code>#include <<a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>></code></p> |
| 107 | <table class="memberdecls"> |
| 108 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 109 | Public Member Functions</h2></td></tr> |
| 110 | <tr class="memitem:a21c2ae9fa438faf42669dadda628080c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a21c2ae9fa438faf42669dadda628080c">TensorInfo</a> ()</td></tr> |
| 111 | <tr class="memdesc:a21c2ae9fa438faf42669dadda628080c"><td class="mdescLeft"> </td><td class="mdescRight">Empty (invalid) constructor. <a href="#a21c2ae9fa438faf42669dadda628080c">More...</a><br /></td></tr> |
| 112 | <tr class="separator:a21c2ae9fa438faf42669dadda628080c"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:ae0f1e7addec3daacb5e656e3031e84b2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#ae0f1e7addec3daacb5e656e3031e84b2">TensorInfo</a> (const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &shape, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> dataType, float quantizationScale=0.0f, int32_t quantizationOffset=0)</td></tr> |
| 114 | <tr class="separator:ae0f1e7addec3daacb5e656e3031e84b2"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:ac478f429b6f31e62bc72bdfc9c9ad242"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#ac478f429b6f31e62bc72bdfc9c9ad242">TensorInfo</a> (unsigned int numDimensions, const unsigned int *dimensionSizes, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> dataType, float quantizationScale=0.0f, int32_t quantizationOffset=0)</td></tr> |
| 116 | <tr class="separator:ac478f429b6f31e62bc72bdfc9c9ad242"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:ac58c3467c7a7998120249cd0b940d221"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#ac58c3467c7a7998120249cd0b940d221">TensorInfo</a> (const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &shape, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> dataType, const std::vector< float > &quantizationScales, unsigned int quantizationDim)</td></tr> |
| 118 | <tr class="separator:ac58c3467c7a7998120249cd0b940d221"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:a1e546b0233ac93ef3ef0e9ee96117c76"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a1e546b0233ac93ef3ef0e9ee96117c76">TensorInfo</a> (unsigned int numDimensions, const unsigned int *dimensionSizes, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> dataType, const std::vector< float > &quantizationScales, unsigned int quantizationDim)</td></tr> |
| 120 | <tr class="separator:a1e546b0233ac93ef3ef0e9ee96117c76"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:aef0989e23ab5fc862df9981d3b371f63"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#aef0989e23ab5fc862df9981d3b371f63">TensorInfo</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &other)</td></tr> |
| 122 | <tr class="separator:aef0989e23ab5fc862df9981d3b371f63"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:ac45c8c0052476cd66ef732de76dd9bc8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#ac45c8c0052476cd66ef732de76dd9bc8">operator=</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &other)</td></tr> |
| 124 | <tr class="separator:ac45c8c0052476cd66ef732de76dd9bc8"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:a586e1eec08e847abfeb3de3a4038c5ce"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a586e1eec08e847abfeb3de3a4038c5ce">operator==</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &other) const</td></tr> |
| 126 | <tr class="separator:a586e1eec08e847abfeb3de3a4038c5ce"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:a2a944e616dc6fdde5287b17f2265307d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a2a944e616dc6fdde5287b17f2265307d">operator!=</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &other) const</td></tr> |
| 128 | <tr class="separator:a2a944e616dc6fdde5287b17f2265307d"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:a8b5d0f8a24e9d9238f412260a552acf8"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a> () const</td></tr> |
| 130 | <tr class="separator:a8b5d0f8a24e9d9238f412260a552acf8"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:a350bcc7d86f7d9333340a0a04be078f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a350bcc7d86f7d9333340a0a04be078f6">GetShape</a> ()</td></tr> |
| 132 | <tr class="separator:a350bcc7d86f7d9333340a0a04be078f6"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:abe8889e8150beef5fd204b2d87b49298"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#abe8889e8150beef5fd204b2d87b49298">SetShape</a> (const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &newShape)</td></tr> |
| 134 | <tr class="separator:abe8889e8150beef5fd204b2d87b49298"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:a157e27d41e9f6b21f0d3c025fa47dc24"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a157e27d41e9f6b21f0d3c025fa47dc24">GetNumDimensions</a> () const</td></tr> |
| 136 | <tr class="separator:a157e27d41e9f6b21f0d3c025fa47dc24"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:a8846406ac37fbd2204f0be16ee05d5b7"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a8846406ac37fbd2204f0be16ee05d5b7">GetNumElements</a> () const</td></tr> |
| 138 | <tr class="separator:a8846406ac37fbd2204f0be16ee05d5b7"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <tr class="memitem:aea909c7327109228ef618d459015def3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#aea909c7327109228ef618d459015def3">GetDataType</a> () const</td></tr> |
| 140 | <tr class="separator:aea909c7327109228ef618d459015def3"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | <tr class="memitem:a71975fcec1464d639f1a78f73164d1bd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a71975fcec1464d639f1a78f73164d1bd">SetDataType</a> (<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> type)</td></tr> |
| 142 | <tr class="separator:a71975fcec1464d639f1a78f73164d1bd"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | <tr class="memitem:af672d1c9e2a120a18926cb645981fbb7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#af672d1c9e2a120a18926cb645981fbb7">HasMultipleQuantizationScales</a> () const</td></tr> |
| 144 | <tr class="separator:af672d1c9e2a120a18926cb645981fbb7"><td class="memSeparator" colspan="2"> </td></tr> |
| 145 | <tr class="memitem:ab85cd8cc10c96a7c99c14042c251fc48"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#ab85cd8cc10c96a7c99c14042c251fc48">HasPerAxisQuantization</a> () const</td></tr> |
| 146 | <tr class="separator:ab85cd8cc10c96a7c99c14042c251fc48"><td class="memSeparator" colspan="2"> </td></tr> |
| 147 | <tr class="memitem:a8bc11f1fa23ef42532f9fdd04d355270"><td class="memItemLeft" align="right" valign="top">std::vector< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a8bc11f1fa23ef42532f9fdd04d355270">GetQuantizationScales</a> () const</td></tr> |
| 148 | <tr class="separator:a8bc11f1fa23ef42532f9fdd04d355270"><td class="memSeparator" colspan="2"> </td></tr> |
| 149 | <tr class="memitem:a1a8675f9d64c3fb59e6af15362bb6332"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a1a8675f9d64c3fb59e6af15362bb6332">SetQuantizationScales</a> (const std::vector< float > &scales)</td></tr> |
| 150 | <tr class="separator:a1a8675f9d64c3fb59e6af15362bb6332"><td class="memSeparator" colspan="2"> </td></tr> |
| 151 | <tr class="memitem:a047ca888c43bd7fb5702853bf72410d0"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a047ca888c43bd7fb5702853bf72410d0">GetQuantizationScale</a> () const</td></tr> |
| 152 | <tr class="separator:a047ca888c43bd7fb5702853bf72410d0"><td class="memSeparator" colspan="2"> </td></tr> |
| 153 | <tr class="memitem:a685739c4eb65a580e075282cfe6787d6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a685739c4eb65a580e075282cfe6787d6">SetQuantizationScale</a> (float scale)</td></tr> |
| 154 | <tr class="separator:a685739c4eb65a580e075282cfe6787d6"><td class="memSeparator" colspan="2"> </td></tr> |
| 155 | <tr class="memitem:a770b51078da02f44a819e9f95d8058b5"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a770b51078da02f44a819e9f95d8058b5">GetQuantizationOffset</a> () const</td></tr> |
| 156 | <tr class="separator:a770b51078da02f44a819e9f95d8058b5"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | <tr class="memitem:a63cbc581012c957f9d68d224ddc3e43c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a63cbc581012c957f9d68d224ddc3e43c">SetQuantizationOffset</a> (int32_t offset)</td></tr> |
| 158 | <tr class="separator:a63cbc581012c957f9d68d224ddc3e43c"><td class="memSeparator" colspan="2"> </td></tr> |
| 159 | <tr class="memitem:a8b8fc85ce966c035d789cf22db5088a1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>< unsigned int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a8b8fc85ce966c035d789cf22db5088a1">GetQuantizationDim</a> () const</td></tr> |
| 160 | <tr class="separator:a8b8fc85ce966c035d789cf22db5088a1"><td class="memSeparator" colspan="2"> </td></tr> |
| 161 | <tr class="memitem:a519efe8ff6dc3aacdfe8a999415e3e4e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a519efe8ff6dc3aacdfe8a999415e3e4e">SetQuantizationDim</a> (const <a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>< unsigned int > &quantizationDim)</td></tr> |
| 162 | <tr class="separator:a519efe8ff6dc3aacdfe8a999415e3e4e"><td class="memSeparator" colspan="2"> </td></tr> |
| 163 | <tr class="memitem:a7c00efeb540198b33b8558c76e5cc2dd"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a7c00efeb540198b33b8558c76e5cc2dd">IsQuantized</a> () const</td></tr> |
| 164 | <tr class="separator:a7c00efeb540198b33b8558c76e5cc2dd"><td class="memSeparator" colspan="2"> </td></tr> |
| 165 | <tr class="memitem:a22f377fc4e10dc1773a3f979061e85f1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#a22f377fc4e10dc1773a3f979061e85f1">IsTypeSpaceMatch</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &other) const</td></tr> |
| 166 | <tr class="memdesc:a22f377fc4e10dc1773a3f979061e85f1"><td class="mdescLeft"> </td><td class="mdescRight">Check that the types are the same and, if quantize, that the quantization parameters are the same. <a href="#a22f377fc4e10dc1773a3f979061e85f1">More...</a><br /></td></tr> |
| 167 | <tr class="separator:a22f377fc4e10dc1773a3f979061e85f1"><td class="memSeparator" colspan="2"> </td></tr> |
| 168 | <tr class="memitem:abcbdfb544ece4c31d0b37715ad0f3be0"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_tensor_info.xhtml#abcbdfb544ece4c31d0b37715ad0f3be0">GetNumBytes</a> () const</td></tr> |
| 169 | <tr class="separator:abcbdfb544ece4c31d0b37715ad0f3be0"><td class="memSeparator" colspan="2"> </td></tr> |
| 170 | </table> |
| 171 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 172 | <div class="textblock"> |
| 173 | <p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00053">53</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p> |
| 174 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 175 | <a id="a21c2ae9fa438faf42669dadda628080c"></a> |
| 176 | <h2 class="memtitle"><span class="permalink"><a href="#a21c2ae9fa438faf42669dadda628080c">◆ </a></span>TensorInfo() <span class="overload">[1/6]</span></h2> |
| 177 | |
| 178 | <div class="memitem"> |
| 179 | <div class="memproto"> |
| 180 | <table class="memname"> |
| 181 | <tr> |
| 182 | <td class="memname"><a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> </td> |
| 183 | <td>(</td> |
| 184 | <td class="paramname"></td><td>)</td> |
| 185 | <td></td> |
| 186 | </tr> |
| 187 | </table> |
| 188 | </div><div class="memdoc"> |
| 189 | |
| 190 | <p>Empty (invalid) constructor. </p> |
| 191 | |
| 192 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00136">136</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 193 | <div class="fragment"><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> : m_DataType(<a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">DataType::Float32</a>)</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> {</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> }</div><div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 194 | </div><!-- fragment --> |
| 195 | </div> |
| 196 | </div> |
| 197 | <a id="ae0f1e7addec3daacb5e656e3031e84b2"></a> |
| 198 | <h2 class="memtitle"><span class="permalink"><a href="#ae0f1e7addec3daacb5e656e3031e84b2">◆ </a></span>TensorInfo() <span class="overload">[2/6]</span></h2> |
| 199 | |
| 200 | <div class="memitem"> |
| 201 | <div class="memproto"> |
| 202 | <table class="memname"> |
| 203 | <tr> |
| 204 | <td class="memname"><a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> </td> |
| 205 | <td>(</td> |
| 206 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> & </td> |
| 207 | <td class="paramname"><em>shape</em>, </td> |
| 208 | </tr> |
| 209 | <tr> |
| 210 | <td class="paramkey"></td> |
| 211 | <td></td> |
| 212 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td> |
| 213 | <td class="paramname"><em>dataType</em>, </td> |
| 214 | </tr> |
| 215 | <tr> |
| 216 | <td class="paramkey"></td> |
| 217 | <td></td> |
| 218 | <td class="paramtype">float </td> |
| 219 | <td class="paramname"><em>quantizationScale</em> = <code>0.0f</code>, </td> |
| 220 | </tr> |
| 221 | <tr> |
| 222 | <td class="paramkey"></td> |
| 223 | <td></td> |
| 224 | <td class="paramtype">int32_t </td> |
| 225 | <td class="paramname"><em>quantizationOffset</em> = <code>0</code> </td> |
| 226 | </tr> |
| 227 | <tr> |
| 228 | <td></td> |
| 229 | <td>)</td> |
| 230 | <td></td><td></td> |
| 231 | </tr> |
| 232 | </table> |
| 233 | </div><div class="memdoc"> |
| 234 | |
| 235 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00141">141</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 236 | |
| 237 | <p class="reference">References <a class="el" href="_tensor_8cpp_source.xhtml#l00275">TensorInfo::SetQuantizationOffset()</a>, and <a class="el" href="_tensor_8cpp_source.xhtml#l00259">TensorInfo::SetQuantizationScale()</a>.</p> |
| 238 | <div class="fragment"><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  : m_Shape(shape)</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  , m_DataType(dataType)</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> {</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml#a685739c4eb65a580e075282cfe6787d6">SetQuantizationScale</a>(quantizationScale);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml#a63cbc581012c957f9d68d224ddc3e43c">SetQuantizationOffset</a>(quantizationOffset);</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a685739c4eb65a580e075282cfe6787d6"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a685739c4eb65a580e075282cfe6787d6">armnn::TensorInfo::SetQuantizationScale</a></div><div class="ttdeci">void SetQuantizationScale(float scale)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00259">Tensor.cpp:259</a></div></div> |
| 239 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a63cbc581012c957f9d68d224ddc3e43c"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a63cbc581012c957f9d68d224ddc3e43c">armnn::TensorInfo::SetQuantizationOffset</a></div><div class="ttdeci">void SetQuantizationOffset(int32_t offset)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00275">Tensor.cpp:275</a></div></div> |
| 240 | </div><!-- fragment --> |
| 241 | </div> |
| 242 | </div> |
| 243 | <a id="ac478f429b6f31e62bc72bdfc9c9ad242"></a> |
| 244 | <h2 class="memtitle"><span class="permalink"><a href="#ac478f429b6f31e62bc72bdfc9c9ad242">◆ </a></span>TensorInfo() <span class="overload">[3/6]</span></h2> |
| 245 | |
| 246 | <div class="memitem"> |
| 247 | <div class="memproto"> |
| 248 | <table class="memname"> |
| 249 | <tr> |
| 250 | <td class="memname"><a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> </td> |
| 251 | <td>(</td> |
| 252 | <td class="paramtype">unsigned int </td> |
| 253 | <td class="paramname"><em>numDimensions</em>, </td> |
| 254 | </tr> |
| 255 | <tr> |
| 256 | <td class="paramkey"></td> |
| 257 | <td></td> |
| 258 | <td class="paramtype">const unsigned int * </td> |
| 259 | <td class="paramname"><em>dimensionSizes</em>, </td> |
| 260 | </tr> |
| 261 | <tr> |
| 262 | <td class="paramkey"></td> |
| 263 | <td></td> |
| 264 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td> |
| 265 | <td class="paramname"><em>dataType</em>, </td> |
| 266 | </tr> |
| 267 | <tr> |
| 268 | <td class="paramkey"></td> |
| 269 | <td></td> |
| 270 | <td class="paramtype">float </td> |
| 271 | <td class="paramname"><em>quantizationScale</em> = <code>0.0f</code>, </td> |
| 272 | </tr> |
| 273 | <tr> |
| 274 | <td class="paramkey"></td> |
| 275 | <td></td> |
| 276 | <td class="paramtype">int32_t </td> |
| 277 | <td class="paramname"><em>quantizationOffset</em> = <code>0</code> </td> |
| 278 | </tr> |
| 279 | <tr> |
| 280 | <td></td> |
| 281 | <td>)</td> |
| 282 | <td></td><td></td> |
| 283 | </tr> |
| 284 | </table> |
| 285 | </div><div class="memdoc"> |
| 286 | |
| 287 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00152">152</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 288 | |
| 289 | <p class="reference">References <a class="el" href="_tensor_8cpp_source.xhtml#l00275">TensorInfo::SetQuantizationOffset()</a>, and <a class="el" href="_tensor_8cpp_source.xhtml#l00259">TensorInfo::SetQuantizationScale()</a>.</p> |
| 290 | <div class="fragment"><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  : m_Shape(numDimensions, dimensionSizes)</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  , m_DataType(dataType)</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>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml#a685739c4eb65a580e075282cfe6787d6">SetQuantizationScale</a>(quantizationScale);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml#a63cbc581012c957f9d68d224ddc3e43c">SetQuantizationOffset</a>(quantizationOffset);</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a685739c4eb65a580e075282cfe6787d6"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a685739c4eb65a580e075282cfe6787d6">armnn::TensorInfo::SetQuantizationScale</a></div><div class="ttdeci">void SetQuantizationScale(float scale)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00259">Tensor.cpp:259</a></div></div> |
| 291 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a63cbc581012c957f9d68d224ddc3e43c"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a63cbc581012c957f9d68d224ddc3e43c">armnn::TensorInfo::SetQuantizationOffset</a></div><div class="ttdeci">void SetQuantizationOffset(int32_t offset)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00275">Tensor.cpp:275</a></div></div> |
| 292 | </div><!-- fragment --> |
| 293 | </div> |
| 294 | </div> |
| 295 | <a id="ac58c3467c7a7998120249cd0b940d221"></a> |
| 296 | <h2 class="memtitle"><span class="permalink"><a href="#ac58c3467c7a7998120249cd0b940d221">◆ </a></span>TensorInfo() <span class="overload">[4/6]</span></h2> |
| 297 | |
| 298 | <div class="memitem"> |
| 299 | <div class="memproto"> |
| 300 | <table class="memname"> |
| 301 | <tr> |
| 302 | <td class="memname"><a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> </td> |
| 303 | <td>(</td> |
| 304 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> & </td> |
| 305 | <td class="paramname"><em>shape</em>, </td> |
| 306 | </tr> |
| 307 | <tr> |
| 308 | <td class="paramkey"></td> |
| 309 | <td></td> |
| 310 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td> |
| 311 | <td class="paramname"><em>dataType</em>, </td> |
| 312 | </tr> |
| 313 | <tr> |
| 314 | <td class="paramkey"></td> |
| 315 | <td></td> |
| 316 | <td class="paramtype">const std::vector< float > & </td> |
| 317 | <td class="paramname"><em>quantizationScales</em>, </td> |
| 318 | </tr> |
| 319 | <tr> |
| 320 | <td class="paramkey"></td> |
| 321 | <td></td> |
| 322 | <td class="paramtype">unsigned int </td> |
| 323 | <td class="paramname"><em>quantizationDim</em> </td> |
| 324 | </tr> |
| 325 | <tr> |
| 326 | <td></td> |
| 327 | <td>)</td> |
| 328 | <td></td><td></td> |
| 329 | </tr> |
| 330 | </table> |
| 331 | </div><div class="memdoc"> |
| 332 | |
| 333 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00164">164</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 334 | |
| 335 | <p class="reference">References <a class="el" href="_tensor_8cpp_source.xhtml#l00285">TensorInfo::SetQuantizationDim()</a>, and <a class="el" href="_tensor_8cpp_source.xhtml#l00242">TensorInfo::SetQuantizationScales()</a>.</p> |
| 336 | <div class="fragment"><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  : m_Shape(shape)</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  , m_DataType(dataType)</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> {</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml#a1a8675f9d64c3fb59e6af15362bb6332">SetQuantizationScales</a>(quantizationScales);</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml#a519efe8ff6dc3aacdfe8a999415e3e4e">SetQuantizationDim</a>(MakeOptional<unsigned int>(quantizationDim));</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a519efe8ff6dc3aacdfe8a999415e3e4e"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a519efe8ff6dc3aacdfe8a999415e3e4e">armnn::TensorInfo::SetQuantizationDim</a></div><div class="ttdeci">void SetQuantizationDim(const Optional< unsigned int > &quantizationDim)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00285">Tensor.cpp:285</a></div></div> |
| 337 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a1a8675f9d64c3fb59e6af15362bb6332"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a1a8675f9d64c3fb59e6af15362bb6332">armnn::TensorInfo::SetQuantizationScales</a></div><div class="ttdeci">void SetQuantizationScales(const std::vector< float > &scales)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00242">Tensor.cpp:242</a></div></div> |
| 338 | </div><!-- fragment --> |
| 339 | </div> |
| 340 | </div> |
| 341 | <a id="a1e546b0233ac93ef3ef0e9ee96117c76"></a> |
| 342 | <h2 class="memtitle"><span class="permalink"><a href="#a1e546b0233ac93ef3ef0e9ee96117c76">◆ </a></span>TensorInfo() <span class="overload">[5/6]</span></h2> |
| 343 | |
| 344 | <div class="memitem"> |
| 345 | <div class="memproto"> |
| 346 | <table class="memname"> |
| 347 | <tr> |
| 348 | <td class="memname"><a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> </td> |
| 349 | <td>(</td> |
| 350 | <td class="paramtype">unsigned int </td> |
| 351 | <td class="paramname"><em>numDimensions</em>, </td> |
| 352 | </tr> |
| 353 | <tr> |
| 354 | <td class="paramkey"></td> |
| 355 | <td></td> |
| 356 | <td class="paramtype">const unsigned int * </td> |
| 357 | <td class="paramname"><em>dimensionSizes</em>, </td> |
| 358 | </tr> |
| 359 | <tr> |
| 360 | <td class="paramkey"></td> |
| 361 | <td></td> |
| 362 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td> |
| 363 | <td class="paramname"><em>dataType</em>, </td> |
| 364 | </tr> |
| 365 | <tr> |
| 366 | <td class="paramkey"></td> |
| 367 | <td></td> |
| 368 | <td class="paramtype">const std::vector< float > & </td> |
| 369 | <td class="paramname"><em>quantizationScales</em>, </td> |
| 370 | </tr> |
| 371 | <tr> |
| 372 | <td class="paramkey"></td> |
| 373 | <td></td> |
| 374 | <td class="paramtype">unsigned int </td> |
| 375 | <td class="paramname"><em>quantizationDim</em> </td> |
| 376 | </tr> |
| 377 | <tr> |
| 378 | <td></td> |
| 379 | <td>)</td> |
| 380 | <td></td><td></td> |
| 381 | </tr> |
| 382 | </table> |
| 383 | </div><div class="memdoc"> |
| 384 | |
| 385 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00175">175</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 386 | |
| 387 | <p class="reference">References <a class="el" href="_tensor_8cpp_source.xhtml#l00285">TensorInfo::SetQuantizationDim()</a>, and <a class="el" href="_tensor_8cpp_source.xhtml#l00242">TensorInfo::SetQuantizationScales()</a>.</p> |
| 388 | <div class="fragment"><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  : m_Shape(numDimensions, dimensionSizes)</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  , m_DataType(dataType)</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> {</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml#a1a8675f9d64c3fb59e6af15362bb6332">SetQuantizationScales</a>(quantizationScales);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml#a519efe8ff6dc3aacdfe8a999415e3e4e">SetQuantizationDim</a>(MakeOptional<unsigned int>(quantizationDim));</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a519efe8ff6dc3aacdfe8a999415e3e4e"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a519efe8ff6dc3aacdfe8a999415e3e4e">armnn::TensorInfo::SetQuantizationDim</a></div><div class="ttdeci">void SetQuantizationDim(const Optional< unsigned int > &quantizationDim)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00285">Tensor.cpp:285</a></div></div> |
| 389 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a1a8675f9d64c3fb59e6af15362bb6332"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a1a8675f9d64c3fb59e6af15362bb6332">armnn::TensorInfo::SetQuantizationScales</a></div><div class="ttdeci">void SetQuantizationScales(const std::vector< float > &scales)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00242">Tensor.cpp:242</a></div></div> |
| 390 | </div><!-- fragment --> |
| 391 | </div> |
| 392 | </div> |
| 393 | <a id="aef0989e23ab5fc862df9981d3b371f63"></a> |
| 394 | <h2 class="memtitle"><span class="permalink"><a href="#aef0989e23ab5fc862df9981d3b371f63">◆ </a></span>TensorInfo() <span class="overload">[6/6]</span></h2> |
| 395 | |
| 396 | <div class="memitem"> |
| 397 | <div class="memproto"> |
| 398 | <table class="memname"> |
| 399 | <tr> |
| 400 | <td class="memname"><a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> </td> |
| 401 | <td>(</td> |
| 402 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & </td> |
| 403 | <td class="paramname"><em>other</em></td><td>)</td> |
| 404 | <td></td> |
| 405 | </tr> |
| 406 | </table> |
| 407 | </div><div class="memdoc"> |
| 408 | |
| 409 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00187">187</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 410 | <div class="fragment"><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> : m_Shape(other.m_Shape)</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> , m_DataType(other.m_DataType)</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> , m_Quantization(other.m_Quantization)</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> {}</div></div><!-- fragment --> |
| 411 | </div> |
| 412 | </div> |
| 413 | <h2 class="groupheader">Member Function Documentation</h2> |
| 414 | <a id="aea909c7327109228ef618d459015def3"></a> |
| 415 | <h2 class="memtitle"><span class="permalink"><a href="#aea909c7327109228ef618d459015def3">◆ </a></span>GetDataType()</h2> |
| 416 | |
| 417 | <div class="memitem"> |
| 418 | <div class="memproto"> |
| 419 | <table class="mlabels"> |
| 420 | <tr> |
| 421 | <td class="mlabels-left"> |
| 422 | <table class="memname"> |
| 423 | <tr> |
| 424 | <td class="memname"><a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> GetDataType </td> |
| 425 | <td>(</td> |
| 426 | <td class="paramname"></td><td>)</td> |
| 427 | <td> const</td> |
| 428 | </tr> |
| 429 | </table> |
| 430 | </td> |
| 431 | <td class="mlabels-right"> |
| 432 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 433 | </tr> |
| 434 | </table> |
| 435 | </div><div class="memdoc"> |
| 436 | |
| 437 | <p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00095">95</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p> |
| 438 | |
| 439 | <p class="reference">Referenced by <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00128">BiasAndWeightsTypesCompatible::BiasAndWeightsTypesCompatible()</a>, <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00119">BiasAndWeightsTypesMatch::BiasAndWeightsTypesMatch()</a>, <a class="el" href="_quantizer_test_8cpp_source.xhtml#l00345">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_network_tests_8cpp_source.xhtml#l00374">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00054">armnnUtils::CalculateReducedOutputTensoInfo()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00105">armnnUtils::CalculateStridedSliceOutputTensorInfo()</a>, <a class="el" href="_network_8cpp_source.xhtml#l00114">armnn::CheckScaleSetOnQuantizedType()</a>, <a class="el" href="_layer_support_8cpp_source.xhtml#l00064">armnn::CheckTensorDataTypesEqual()</a>, <a class="el" href="_cl_convert_fp16_to_fp32_workload_8cpp_source.xhtml#l00035">armnn::ClConvertFp16ToFp32WorkloadValidate()</a>, <a class="el" href="_cl_convert_fp32_to_fp16_workload_8cpp_source.xhtml#l00035">armnn::ClConvertFp32ToFp16WorkloadValidate()</a>, <a class="el" href="_network_quantizer_utils_8cpp_source.xhtml#l00015">armnn::CreateQuantizedConst()</a>, <a class="el" href="_ref_strided_slice_workload_8cpp_source.xhtml#l00020">RefStridedSliceWorkload::Execute()</a>, <a class="el" href="_ref_depth_to_space_workload_8cpp_source.xhtml#l00014">RefDepthToSpaceWorkload::Execute()</a>, <a class="el" href="_ref_slice_workload_8cpp_source.xhtml#l00016">RefSliceWorkload::Execute()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_convert_constants_8hpp_source.xhtml#l00025">Float16ToFloat32::Func()</a>, <a class="el" href="_convert_constants_8hpp_source.xhtml#l00046">Float32ToFloat16::Func()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l02886">TfLiteParser::GetBuffer()</a>, <a class="el" href="_layer_8cpp_source.xhtml#l00273">Layer::GetDataType()</a>, <a class="el" href="_tensor_utils_8cpp_source.xhtml#l00152">armnnUtils::GetPerAxisParams()</a>, <a class="el" href="_cpu_tensor_handle_8cpp_source.xhtml#l00015">armnn::GetUnpaddedTensorStrides()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l01483">SerializerVisitor::GetVersionTable()</a>, <a class="el" href="_neon_workload_utils_8hpp_source.xhtml#l00035">armnn::InitializeArmComputeTensorData()</a>, <a class="el" href="_network_utils_8cpp_source.xhtml#l00040">armnn::InsertConvertFp16ToFp32LayersBefore()</a>, <a class="el" href="_network_utils_8cpp_source.xhtml#l00079">armnn::InsertConvertFp32ToFp16LayersAfter()</a>, <a class="el" href="_sample_dynamic_layer_support_8cpp_source.xhtml#l00027">SampleDynamicLayerSupport::IsAdditionSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.xhtml#l00287">ClLayerSupport::IsConstantSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00255">NeonLayerSupport::IsConstantSupported()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l00379">RefLayerSupport::IsConvertFp16ToFp32Supported()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l00399">RefLayerSupport::IsConvertFp32ToFp16Supported()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l00419">RefLayerSupport::IsConvolution2dSupported()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l00551">RefLayerSupport::IsDepthwiseConvolutionSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00377">NeonLayerSupport::IsFloorSupported()</a>, <a class="el" href="_layer_support_8cpp_source.xhtml#l00282">armnn::IsFloorSupported()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l00827">RefLayerSupport::IsFullyConnectedSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.xhtml#l00725">ClLayerSupport::IsSplitterSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00708">NeonLayerSupport::IsSplitterSupported()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l01919">RefLayerSupport::IsTransposeConvolution2dSupported()</a>, <a class="el" href="_model_accuracy_tool-_armnn_8cpp_source.xhtml#l00049">main()</a>, <a class="el" href="_decoders_8hpp_source.xhtml#l00070">armnn::MakeDecoder()</a>, <a class="el" href="_encoders_8hpp_source.xhtml#l00021">armnn::MakeEncoder()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l01468">armnnTfParser::OutputShapeOfExpandDims()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01898">TfLiteParser::OutputShapeOfReshape()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l02463">armnnTfParser::OutputShapeOfSqueeze()</a>, <a class="el" href="_workload_utils_8cpp_source.xhtml#l00013">armnn::PermuteTensor()</a>, <a class="el" href="_convert_fp32_network_to_fp16_8hpp_source.xhtml#l00018">ConvertFp32NetworkToFp16Impl::Run()</a>, <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00092">TypeAnyOf::TypeAnyOf()</a>, <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00103">TypeIs::TypeIs()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00617">ArgMinMaxQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00966">FullyConnectedQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l01159">Convolution2dQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l01212">DepthwiseConvolution2dQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02228">QuantizeQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02377">EqualQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02042">ConvertFp16ToFp32QueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02019">ConvertFp32ToFp16QueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02401">GreaterQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02450">GatherQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02550">DequantizeQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02674">TransposeConvolution2dQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l03057">ComparisonQueueDescriptor::Validate()</a>, <a class="el" href="_types_utils_8hpp_source.xhtml#l00296">armnn::VerifyTensorInfoDataType()</a>, <a class="el" href="_quantizer_visitor_8cpp_source.xhtml#l00311">QuantizerVisitor::VisitInputLayer()</a>, <a class="el" href="_quantizer_visitor_8cpp_source.xhtml#l00373">QuantizerVisitor::VisitOutputLayer()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l01333">SerializerVisitor::VisitQuantizedLstmLayer()</a>.</p> |
| 440 | <div class="fragment"><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> { <span class="keywordflow">return</span> m_DataType; }</div></div><!-- fragment --> |
| 441 | </div> |
| 442 | </div> |
| 443 | <a id="abcbdfb544ece4c31d0b37715ad0f3be0"></a> |
| 444 | <h2 class="memtitle"><span class="permalink"><a href="#abcbdfb544ece4c31d0b37715ad0f3be0">◆ </a></span>GetNumBytes()</h2> |
| 445 | |
| 446 | <div class="memitem"> |
| 447 | <div class="memproto"> |
| 448 | <table class="memname"> |
| 449 | <tr> |
| 450 | <td class="memname">unsigned int GetNumBytes </td> |
| 451 | <td>(</td> |
| 452 | <td class="paramname"></td><td>)</td> |
| 453 | <td> const</td> |
| 454 | </tr> |
| 455 | </table> |
| 456 | </div><div class="memdoc"> |
| 457 | |
| 458 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00213">213</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 459 | |
| 460 | <p class="reference">References <a class="el" href="_types_utils_8hpp_source.xhtml#l00115">armnn::GetDataTypeSize()</a>, and <a class="el" href="_tensor_8hpp_source.xhtml#l00093">TensorInfo::GetNumElements()</a>.</p> |
| 461 | |
| 462 | <p class="reference">Referenced by <a class="el" href="_ref_tensor_handle_8cpp_source.xhtml#l00053">RefTensorHandle::Allocate()</a>, <a class="el" href="_sample_tensor_handle_8cpp_source.xhtml#l00053">SampleTensorHandle::Allocate()</a>, <a class="el" href="_cpu_tensor_handle_8cpp_source.xhtml#l00091">ScopedCpuTensorHandle::Allocate()</a>, <a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.xhtml#l00070">ClDepthwiseConvolutionWorkload::ClDepthwiseConvolutionWorkload()</a>, <a class="el" href="_tensor_8hpp_source.xhtml#l00215">ConstTensor::ConstTensor()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l00605">TfLiteParser::CreateNetworkFromBinary()</a>, <a class="el" href="_ref_reshape_workload_8cpp_source.xhtml#l00015">RefReshapeWorkload::Execute()</a>, <a class="el" href="_ref_tensor_handle_8cpp_source.xhtml#l00045">RefTensorHandle::Manage()</a>, <a class="el" href="_sample_tensor_handle_8cpp_source.xhtml#l00048">SampleTensorHandle::Manage()</a>, <a class="el" href="_ref_tensor_handle_8cpp_source.xhtml#l00074">RefTensorHandle::Map()</a>, <a class="el" href="_neon_depthwise_convolution_workload_8cpp_source.xhtml#l00072">NeonDepthwiseConvolutionWorkload::NeonDepthwiseConvolutionWorkload()</a>, <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00434">OnnxParser::OnnxParser()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01898">TfLiteParser::OutputShapeOfReshape()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01463">TfLiteParser::OutputShapeOfSqueeze()</a>, <a class="el" href="_workload_utils_8cpp_source.xhtml#l00013">armnn::PermuteTensor()</a>, <a class="el" href="_ref_constant_workload_8cpp_source.xhtml#l00023">RefConstantWorkload::PostAllocationConfigure()</a>, <a class="el" href="_workload_utils_8cpp_source.xhtml#l00062">armnn::ReorderWeightChannelsForAcl()</a>, and <a class="el" href="_cpu_tensor_handle_8cpp_source.xhtml#l00066">ScopedCpuTensorHandle::ScopedCpuTensorHandle()</a>.</p> |
| 463 | <div class="fragment"><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> {</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#aa02b9e06fb20fa3c13da0427e6ee5ab2">GetDataTypeSize</a>(m_DataType) * <a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8846406ac37fbd2204f0be16ee05d5b7">GetNumElements</a>();</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a8846406ac37fbd2204f0be16ee05d5b7"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a8846406ac37fbd2204f0be16ee05d5b7">armnn::TensorInfo::GetNumElements</a></div><div class="ttdeci">unsigned int GetNumElements() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00093">Tensor.hpp:93</a></div></div> |
| 464 | <div class="ttc" id="namespacearmnn_xhtml_aa02b9e06fb20fa3c13da0427e6ee5ab2"><div class="ttname"><a href="namespacearmnn.xhtml#aa02b9e06fb20fa3c13da0427e6ee5ab2">armnn::GetDataTypeSize</a></div><div class="ttdeci">constexpr unsigned int GetDataTypeSize(DataType dataType)</div><div class="ttdef"><b>Definition:</b> <a href="_types_utils_8hpp_source.xhtml#l00115">TypesUtils.hpp:115</a></div></div> |
| 465 | </div><!-- fragment --> |
| 466 | </div> |
| 467 | </div> |
| 468 | <a id="a157e27d41e9f6b21f0d3c025fa47dc24"></a> |
| 469 | <h2 class="memtitle"><span class="permalink"><a href="#a157e27d41e9f6b21f0d3c025fa47dc24">◆ </a></span>GetNumDimensions()</h2> |
| 470 | |
| 471 | <div class="memitem"> |
| 472 | <div class="memproto"> |
| 473 | <table class="mlabels"> |
| 474 | <tr> |
| 475 | <td class="mlabels-left"> |
| 476 | <table class="memname"> |
| 477 | <tr> |
| 478 | <td class="memname">unsigned int GetNumDimensions </td> |
| 479 | <td>(</td> |
| 480 | <td class="paramname"></td><td>)</td> |
| 481 | <td> const</td> |
| 482 | </tr> |
| 483 | </table> |
| 484 | </td> |
| 485 | <td class="mlabels-right"> |
| 486 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 487 | </tr> |
| 488 | </table> |
| 489 | </div><div class="memdoc"> |
| 490 | |
| 491 | <p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00092">92</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p> |
| 492 | |
| 493 | <p class="reference">Referenced by <a class="el" href="_arg_min_max_8cpp_source.xhtml#l00015">armnn::ArgMinMax()</a>, <a class="el" href="_parser_helper_test_8cpp_source.xhtml#l00019">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_output_shape_of_squeeze_8cpp_source.xhtml#l00027">BOOST_FIXTURE_TEST_CASE()</a>, <a class="el" href="_tensor_test_8cpp_source.xhtml#l00012">armnn::boost_test_print_type()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l02138">armnnTfParser::CalculatePaddedOutputTensorInfo()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00054">armnnUtils::CalculateReducedOutputTensoInfo()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00105">armnnUtils::CalculateStridedSliceOutputTensorInfo()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l02106">armnnTfParser::CheckPaddingTensor()</a>, <a class="el" href="_arm_compute_utils_8hpp_source.xhtml#l00139">armnn::ComputeSoftmaxAclAxis()</a>, <a class="el" href="_concatenate_8cpp_source.xhtml#l00014">armnn::Concatenate()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l00605">TfLiteParser::CreateNetworkFromBinary()</a>, <a class="el" href="_debug_8cpp_source.xhtml#l00020">armnn::Debug()</a>, <a class="el" href="backends_2reference_2workloads_2_gather_8cpp_source.xhtml#l00018">armnn::Gather()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, <a class="el" href="_layer_test_result_8hpp_source.xhtml#l00015">GetTensorShapeAsArray()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l00249">RefLayerSupport::IsBatchToSpaceNdSupported()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l01198">RefLayerSupport::IsMeanSupported()</a>, <a class="el" href="_log_softmax_8cpp_source.xhtml#l00030">armnn::LogSoftmax()</a>, <a class="el" href="_tensor_helpers_8hpp_source.xhtml#l00193">MakeTensor()</a>, <a class="el" href="backends_2reference_2workloads_2_mean_8cpp_source.xhtml#l00071">armnn::Mean()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l01468">armnnTfParser::OutputShapeOfExpandDims()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01898">TfLiteParser::OutputShapeOfReshape()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01463">TfLiteParser::OutputShapeOfSqueeze()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l02463">armnnTfParser::OutputShapeOfSqueeze()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l01277">CaffeParserBase::ParseConcatLayer()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l01134">CaffeParserBase::ParseInnerProductLayer()</a>, <a class="el" href="_ref_fully_connected_workload_8cpp_source.xhtml#l00032">RefFullyConnectedWorkload::PostAllocationConfigure()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00019">armnnUtils::ProcessConcatInputTensorInfo()</a>, <a class="el" href="_permute_and_batch_to_space_as_depth_to_space_8hpp_source.xhtml#l00021">PermuteAndBatchToSpaceAsDepthToSpaceImpl< PermuteType >::Run()</a>, <a class="el" href="_parser_flatbuffers_fixture_8hpp_source.xhtml#l00250">ParserFlatbuffersFixture::RunTest()</a>, <a class="el" href="backends_2reference_2workloads_2_softmax_8cpp_source.xhtml#l00017">armnn::Softmax()</a>, <a class="el" href="_splitter_8cpp_source.xhtml#l00022">armnn::Split()</a>, <a class="el" href="_splitter_8hpp_source.xhtml#l00017">armnn::Splitter()</a>, <a class="el" href="backends_2reference_2workloads_2_stack_8cpp_source.xhtml#l00012">armnn::Stack()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l00325">armnnCaffeParser::TensorDescToBlobShape()</a>, <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00182">TensorNumDimensionsAreCorrect::TensorNumDimensionsAreCorrect()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l00488">TfLiteParser::TfLiteParser()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l00515">TfParser::TfParser()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00966">FullyConnectedQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02163">MeanQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02206">PadQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l01461">InstanceNormalizationQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l01490">L2NormalizationQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02280">StridedSliceQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02450">GatherQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02950">SliceQueueDescriptor::Validate()</a>, <a class="el" href="_gather_layer_8cpp_source.xhtml#l00032">GatherLayer::ValidateTensorShapesFromInputs()</a>, and <a class="el" href="_mean_layer_8cpp_source.xhtml#l00041">MeanLayer::ValidateTensorShapesFromInputs()</a>.</p> |
| 494 | <div class="fragment"><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> { <span class="keywordflow">return</span> m_Shape.<a class="code" href="classarmnn_1_1_tensor_shape.xhtml#a157e27d41e9f6b21f0d3c025fa47dc24">GetNumDimensions</a>(); }</div><div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml_a157e27d41e9f6b21f0d3c025fa47dc24"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml#a157e27d41e9f6b21f0d3c025fa47dc24">armnn::TensorShape::GetNumDimensions</a></div><div class="ttdeci">unsigned int GetNumDimensions() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00043">Tensor.hpp:43</a></div></div> |
| 495 | </div><!-- fragment --> |
| 496 | </div> |
| 497 | </div> |
| 498 | <a id="a8846406ac37fbd2204f0be16ee05d5b7"></a> |
| 499 | <h2 class="memtitle"><span class="permalink"><a href="#a8846406ac37fbd2204f0be16ee05d5b7">◆ </a></span>GetNumElements()</h2> |
| 500 | |
| 501 | <div class="memitem"> |
| 502 | <div class="memproto"> |
| 503 | <table class="mlabels"> |
| 504 | <tr> |
| 505 | <td class="mlabels-left"> |
| 506 | <table class="memname"> |
| 507 | <tr> |
| 508 | <td class="memname">unsigned int GetNumElements </td> |
| 509 | <td>(</td> |
| 510 | <td class="paramname"></td><td>)</td> |
| 511 | <td> const</td> |
| 512 | </tr> |
| 513 | </table> |
| 514 | </td> |
| 515 | <td class="mlabels-right"> |
| 516 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 517 | </tr> |
| 518 | </table> |
| 519 | </div><div class="memdoc"> |
| 520 | |
| 521 | <p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00093">93</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p> |
| 522 | |
| 523 | <p class="reference">Referenced by <a class="el" href="_activation_8cpp_source.xhtml#l00095">armnn::Activation()</a>, <a class="el" href="_output_shape_of_squeeze_8cpp_source.xhtml#l00027">BOOST_FIXTURE_TEST_CASE()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00450">Concat2dTestImpl()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00715">Concat3dTestImpl()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l01399">Concat4dTestImpl()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l00933">armnnTfParser::ConvertTfTensorDataType()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l00605">TfLiteParser::CreateNetworkFromBinary()</a>, <a class="el" href="_network_quantizer_utils_8cpp_source.xhtml#l00015">armnn::CreateQuantizedConst()</a>, <a class="el" href="_debug_8cpp_source.xhtml#l00020">armnn::Debug()</a>, <a class="el" href="backends_2reference_2workloads_2_dequantize_8cpp_source.xhtml#l00013">armnn::Dequantize()</a>, <a class="el" href="backends_2reference_2workloads_2_detection_post_process_8cpp_source.xhtml#l00141">armnn::DetectionPostProcess()</a>, <a class="el" href="_ref_floor_workload_8cpp_source.xhtml#l00016">RefFloorWorkload::Execute()</a>, <a class="el" href="_ref_convert_fp32_to_fp16_workload_8cpp_source.xhtml#l00017">RefConvertFp32ToFp16Workload::Execute()</a>, <a class="el" href="_ref_fake_quantization_float32_workload_8cpp_source.xhtml#l00029">RefFakeQuantizationFloat32Workload::Execute()</a>, <a class="el" href="_sample_dynamic_addition_workload_8cpp_source.xhtml#l00039">SampleDynamicAdditionWorkload::Execute()</a>, <a class="el" href="_ref_convert_fp16_to_fp32_workload_8cpp_source.xhtml#l00016">RefConvertFp16ToFp32Workload::Execute()</a>, <a class="el" href="_ref_stack_workload_8cpp_source.xhtml#l00021">RefStackWorkload::Execute()</a>, <a class="el" href="_ref_debug_workload_8cpp_source.xhtml#l00018">RefDebugWorkload< DataType >::Execute()</a>, <a class="el" href="_convert_constants_8hpp_source.xhtml#l00025">Float16ToFloat32::Func()</a>, <a class="el" href="_convert_constants_8hpp_source.xhtml#l00046">Float32ToFloat16::Func()</a>, <a class="el" href="backends_2reference_2workloads_2_gather_8cpp_source.xhtml#l00018">armnn::Gather()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, <a class="el" href="_tensor_8cpp_source.xhtml#l00213">TensorInfo::GetNumBytes()</a>, <a class="el" href="_tensor_helpers_8hpp_source.xhtml#l00223">MakeRandomTensor()</a>, <a class="el" href="_tensor_helpers_8hpp_source.xhtml#l00193">MakeTensor()</a>, <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00434">OnnxParser::OnnxParser()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l01938">Deserializer::OutputShapeOfReshape()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01898">TfLiteParser::OutputShapeOfReshape()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01463">TfLiteParser::OutputShapeOfSqueeze()</a>, <a class="el" href="backends_2reference_2workloads_2_pad_8cpp_source.xhtml#l00022">armnn::Pad()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00239">PermuteOutputForConcat()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00121">PermuteTensorData()</a>, <a class="el" href="_ref_workload_utils_8hpp_source.xhtml#l00095">armnn::Quantize()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00234">QuantizeData()</a>, <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00147">ShapesAreSameTotalSize::ShapesAreSameTotalSize()</a>, <a class="el" href="_splitter_8hpp_source.xhtml#l00017">armnn::Splitter()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l00515">TfParser::TfParser()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l00558">armnnDeserializer::ToConstTensor()</a>, and <a class="el" href="_workload_data_8cpp_source.xhtml#l01603">SpaceToBatchNdQueueDescriptor::Validate()</a>.</p> |
| 524 | <div class="fragment"><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> { <span class="keywordflow">return</span> m_Shape.<a class="code" href="classarmnn_1_1_tensor_shape.xhtml#a8846406ac37fbd2204f0be16ee05d5b7">GetNumElements</a>(); }</div><div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml_a8846406ac37fbd2204f0be16ee05d5b7"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml#a8846406ac37fbd2204f0be16ee05d5b7">armnn::TensorShape::GetNumElements</a></div><div class="ttdeci">unsigned int GetNumElements() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00106">Tensor.cpp:106</a></div></div> |
| 525 | </div><!-- fragment --> |
| 526 | </div> |
| 527 | </div> |
| 528 | <a id="a8b8fc85ce966c035d789cf22db5088a1"></a> |
| 529 | <h2 class="memtitle"><span class="permalink"><a href="#a8b8fc85ce966c035d789cf22db5088a1">◆ </a></span>GetQuantizationDim()</h2> |
| 530 | |
| 531 | <div class="memitem"> |
| 532 | <div class="memproto"> |
| 533 | <table class="memname"> |
| 534 | <tr> |
| 535 | <td class="memname"><a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>< unsigned int > GetQuantizationDim </td> |
| 536 | <td>(</td> |
| 537 | <td class="paramname"></td><td>)</td> |
| 538 | <td> const</td> |
| 539 | </tr> |
| 540 | </table> |
| 541 | </div><div class="memdoc"> |
| 542 | |
| 543 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00280">280</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 544 | |
| 545 | <p class="reference">Referenced by <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, and <a class="el" href="_tensor_utils_8cpp_source.xhtml#l00152">armnnUtils::GetPerAxisParams()</a>.</p> |
| 546 | <div class="fragment"><div class="line"><a name="l00281"></a><span class="lineno"> 281</span> {</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordflow">return</span> m_Quantization.m_QuantizationDim;</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> }</div></div><!-- fragment --> |
| 547 | </div> |
| 548 | </div> |
| 549 | <a id="a770b51078da02f44a819e9f95d8058b5"></a> |
| 550 | <h2 class="memtitle"><span class="permalink"><a href="#a770b51078da02f44a819e9f95d8058b5">◆ </a></span>GetQuantizationOffset()</h2> |
| 551 | |
| 552 | <div class="memitem"> |
| 553 | <div class="memproto"> |
| 554 | <table class="memname"> |
| 555 | <tr> |
| 556 | <td class="memname">int32_t GetQuantizationOffset </td> |
| 557 | <td>(</td> |
| 558 | <td class="paramname"></td><td>)</td> |
| 559 | <td> const</td> |
| 560 | </tr> |
| 561 | </table> |
| 562 | </div><div class="memdoc"> |
| 563 | |
| 564 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00264">264</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 565 | |
| 566 | <p class="reference">Referenced by <a class="el" href="_tensor_test_8cpp_source.xhtml#l00123">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_quantizer_test_8cpp_source.xhtml#l00345">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_network_8cpp_source.xhtml#l00114">armnn::CheckScaleSetOnQuantizedType()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01381">DepthwiseConvolution2dAsymmetricTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01518">DepthwiseConvolution2dDepthMul1TestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01671">DepthwiseConvolution2dTestImpl()</a>, <a class="el" href="_ref_workload_utils_8hpp_source.xhtml#l00076">armnn::Dequantize()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l01483">SerializerVisitor::GetVersionTable()</a>, <a class="el" href="_tensor_8cpp_source.xhtml#l00218">TensorInfo::IsTypeSpaceMatch()</a>, <a class="el" href="_decoders_8hpp_source.xhtml#l00070">armnn::MakeDecoder()</a>, <a class="el" href="_encoders_8hpp_source.xhtml#l00021">armnn::MakeEncoder()</a>, <a class="el" href="_tensor_helpers_8hpp_source.xhtml#l00223">MakeRandomTensor()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01898">TfLiteParser::OutputShapeOfReshape()</a>, <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00082">QuantizationParametersAreEqual::QuantizationParametersAreEqual()</a>, <a class="el" href="_ref_workload_utils_8hpp_source.xhtml#l00095">armnn::Quantize()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00234">QuantizeData()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00201">SimpleConvolution2dTestImpl()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l01333">SerializerVisitor::VisitQuantizedLstmLayer()</a>.</p> |
| 567 | <div class="fragment"><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>  <span class="keywordflow">if</span> (!m_Quantization.m_Offset.has_value())</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  {</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="comment">// NOTE: old default for backward compatibility</span></div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  }</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>  <span class="keywordflow">return</span> m_Quantization.m_Offset.value();</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> }</div></div><!-- fragment --> |
| 568 | </div> |
| 569 | </div> |
| 570 | <a id="a047ca888c43bd7fb5702853bf72410d0"></a> |
| 571 | <h2 class="memtitle"><span class="permalink"><a href="#a047ca888c43bd7fb5702853bf72410d0">◆ </a></span>GetQuantizationScale()</h2> |
| 572 | |
| 573 | <div class="memitem"> |
| 574 | <div class="memproto"> |
| 575 | <table class="memname"> |
| 576 | <tr> |
| 577 | <td class="memname">float GetQuantizationScale </td> |
| 578 | <td>(</td> |
| 579 | <td class="paramname"></td><td>)</td> |
| 580 | <td> const</td> |
| 581 | </tr> |
| 582 | </table> |
| 583 | </div><div class="memdoc"> |
| 584 | |
| 585 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00247">247</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 586 | |
| 587 | <p class="reference">References <a class="el" href="_tensor_8hpp_source.xhtml#l00098">TensorInfo::HasMultipleQuantizationScales()</a>.</p> |
| 588 | |
| 589 | <p class="reference">Referenced by <a class="el" href="_tensor_test_8cpp_source.xhtml#l00123">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_quantizer_test_8cpp_source.xhtml#l00345">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_network_8cpp_source.xhtml#l00114">armnn::CheckScaleSetOnQuantizedType()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01381">DepthwiseConvolution2dAsymmetricTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01518">DepthwiseConvolution2dDepthMul1TestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01671">DepthwiseConvolution2dTestImpl()</a>, <a class="el" href="_ref_workload_utils_8hpp_source.xhtml#l00076">armnn::Dequantize()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l01483">SerializerVisitor::GetVersionTable()</a>, <a class="el" href="_tensor_8cpp_source.xhtml#l00218">TensorInfo::IsTypeSpaceMatch()</a>, <a class="el" href="_decoders_8hpp_source.xhtml#l00070">armnn::MakeDecoder()</a>, <a class="el" href="_encoders_8hpp_source.xhtml#l00021">armnn::MakeEncoder()</a>, <a class="el" href="_tensor_helpers_8hpp_source.xhtml#l00223">MakeRandomTensor()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01898">TfLiteParser::OutputShapeOfReshape()</a>, <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00082">QuantizationParametersAreEqual::QuantizationParametersAreEqual()</a>, <a class="el" href="_ref_workload_utils_8hpp_source.xhtml#l00095">armnn::Quantize()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00234">QuantizeData()</a>, <a class="el" href="_quantizer_visitor_8cpp_source.xhtml#l00014">QuantizerVisitor::QuantizerVisitor()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00201">SimpleConvolution2dTestImpl()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l01333">SerializerVisitor::VisitQuantizedLstmLayer()</a>.</p> |
| 590 | <div class="fragment"><div class="line"><a name="l00248"></a><span class="lineno"> 248</span> {</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keywordflow">if</span> (m_Quantization.m_Scales.empty())</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  {</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="comment">// NOTE: old default for backward compatibility</span></div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">return</span> 1.0f;</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  }</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  BOOST_ASSERT(!<a class="code" href="classarmnn_1_1_tensor_info.xhtml#af672d1c9e2a120a18926cb645981fbb7">HasMultipleQuantizationScales</a>());</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordflow">return</span> m_Quantization.m_Scales[0];</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_af672d1c9e2a120a18926cb645981fbb7"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#af672d1c9e2a120a18926cb645981fbb7">armnn::TensorInfo::HasMultipleQuantizationScales</a></div><div class="ttdeci">bool HasMultipleQuantizationScales() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00098">Tensor.hpp:98</a></div></div> |
| 591 | </div><!-- fragment --> |
| 592 | </div> |
| 593 | </div> |
| 594 | <a id="a8bc11f1fa23ef42532f9fdd04d355270"></a> |
| 595 | <h2 class="memtitle"><span class="permalink"><a href="#a8bc11f1fa23ef42532f9fdd04d355270">◆ </a></span>GetQuantizationScales()</h2> |
| 596 | |
| 597 | <div class="memitem"> |
| 598 | <div class="memproto"> |
| 599 | <table class="memname"> |
| 600 | <tr> |
| 601 | <td class="memname">std::vector< float > GetQuantizationScales </td> |
| 602 | <td>(</td> |
| 603 | <td class="paramname"></td><td>)</td> |
| 604 | <td> const</td> |
| 605 | </tr> |
| 606 | </table> |
| 607 | </div><div class="memdoc"> |
| 608 | |
| 609 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00237">237</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 610 | |
| 611 | <p class="reference">Referenced by <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, and <a class="el" href="_tensor_utils_8cpp_source.xhtml#l00152">armnnUtils::GetPerAxisParams()</a>.</p> |
| 612 | <div class="fragment"><div class="line"><a name="l00238"></a><span class="lineno"> 238</span> {</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordflow">return</span> m_Quantization.m_Scales;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span> }</div></div><!-- fragment --> |
| 613 | </div> |
| 614 | </div> |
| 615 | <a id="a8b5d0f8a24e9d9238f412260a552acf8"></a> |
| 616 | <h2 class="memtitle"><span class="permalink"><a href="#a8b5d0f8a24e9d9238f412260a552acf8">◆ </a></span>GetShape() <span class="overload">[1/2]</span></h2> |
| 617 | |
| 618 | <div class="memitem"> |
| 619 | <div class="memproto"> |
| 620 | <table class="mlabels"> |
| 621 | <tr> |
| 622 | <td class="mlabels-left"> |
| 623 | <table class="memname"> |
| 624 | <tr> |
| 625 | <td class="memname">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a>& GetShape </td> |
| 626 | <td>(</td> |
| 627 | <td class="paramname"></td><td>)</td> |
| 628 | <td> const</td> |
| 629 | </tr> |
| 630 | </table> |
| 631 | </td> |
| 632 | <td class="mlabels-right"> |
| 633 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 634 | </tr> |
| 635 | </table> |
| 636 | </div><div class="memdoc"> |
| 637 | |
| 638 | <p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00088">88</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p> |
| 639 | |
| 640 | <p class="reference">Referenced by <a class="el" href="_arg_min_max_8cpp_source.xhtml#l00015">armnn::ArgMinMax()</a>, <a class="el" href="_batch_norm_impl_8cpp_source.xhtml#l00018">armnn::BatchNormImpl()</a>, <a class="el" href="backends_2reference_2workloads_2_batch_to_space_n_d_8cpp_source.xhtml#l00035">armnn::BatchToSpaceNd()</a>, <a class="el" href="_tensor_test_8cpp_source.xhtml#l00123">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_quantizer_test_8cpp_source.xhtml#l02476">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_output_shape_of_squeeze_8cpp_source.xhtml#l00027">BOOST_FIXTURE_TEST_CASE()</a>, <a class="el" href="_tensor_test_8cpp_source.xhtml#l00012">armnn::boost_test_print_type()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l02138">armnnTfParser::CalculatePaddedOutputTensorInfo()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00054">armnnUtils::CalculateReducedOutputTensoInfo()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00105">armnnUtils::CalculateStridedSliceOutputTensorInfo()</a>, <a class="el" href="_concatenate_8cpp_source.xhtml#l00014">armnn::Concatenate()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00272">Concatenate()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l00933">armnnTfParser::ConvertTfTensorDataType()</a>, <a class="el" href="_workload_utils_8cpp_source.xhtml#l00132">armnn::ConvertWeightTensorFromArmnnToAcl()</a>, <a class="el" href="_arm_compute_utils_8hpp_source.xhtml#l00018">armnn::CreateAclNormalizationLayerInfoForL2Normalization()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l00605">TfLiteParser::CreateNetworkFromBinary()</a>, <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00584">OnnxParser::CreateNetworkFromString()</a>, <a class="el" href="_network_quantizer_utils_8cpp_source.xhtml#l00015">armnn::CreateQuantizedConst()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00022">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_splitter_layer_8cpp_source.xhtml#l00021">SplitterLayer::CreateWorkload()</a>, <a class="el" href="_debug_8cpp_source.xhtml#l00020">armnn::Debug()</a>, <a class="el" href="_depth_to_space_8cpp_source.xhtml#l00018">armnn::DepthToSpace()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01381">DepthwiseConvolution2dAsymmetricTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01518">DepthwiseConvolution2dDepthMul1TestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01671">DepthwiseConvolution2dTestImpl()</a>, <a class="el" href="backends_2reference_2workloads_2_detection_post_process_8cpp_source.xhtml#l00141">armnn::DetectionPostProcess()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_ref_comparison_workload_8cpp_source.xhtml#l00039">RefComparisonWorkload::Execute()</a>, <a class="el" href="_ref_elementwise_unary_workload_8cpp_source.xhtml#l00041">RefElementwiseUnaryWorkload::Execute()</a>, <a class="el" href="_ref_elementwise_workload_8cpp_source.xhtml#l00041">RefElementwiseWorkload< Functor, ParentDescriptor, DebugString >::Execute()</a>, <a class="el" href="_convert_constants_8hpp_source.xhtml#l00025">Float16ToFloat32::Func()</a>, <a class="el" href="_convert_constants_8hpp_source.xhtml#l00046">Float32ToFloat16::Func()</a>, <a class="el" href="backends_2reference_2workloads_2_gather_8cpp_source.xhtml#l00018">armnn::Gather()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00122">GetBias()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l02465">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_tensor_utils_8cpp_source.xhtml#l00152">armnnUtils::GetPerAxisParams()</a>, <a class="el" href="_ref_tensor_handle_8hpp_source.xhtml#l00045">RefTensorHandle::GetShape()</a>, <a class="el" href="_sample_tensor_handle_8hpp_source.xhtml#l00046">SampleTensorHandle::GetShape()</a>, <a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml#l00053">ConstCpuTensorHandle::GetShape()</a>, <a class="el" href="_layer_test_result_8hpp_source.xhtml#l00015">GetTensorShapeAsArray()</a>, <a class="el" href="_cpu_tensor_handle_8cpp_source.xhtml#l00015">armnn::GetUnpaddedTensorStrides()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l01483">SerializerVisitor::GetVersionTable()</a>, <a class="el" href="_instance_norm_8cpp_source.xhtml#l00018">armnn::InstanceNorm()</a>, <a class="el" href="_layer_support_8cpp_source.xhtml#l00282">armnn::IsFloorSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.xhtml#l00662">ClLayerSupport::IsResizeBilinearSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00641">NeonLayerSupport::IsResizeBilinearSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.xhtml#l00736">ClLayerSupport::IsSplitterSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00719">NeonLayerSupport::IsSplitterSupported()</a>, <a class="el" href="_log_softmax_8cpp_source.xhtml#l00030">armnn::LogSoftmax()</a>, <a class="el" href="_model_accuracy_tool-_armnn_8cpp_source.xhtml#l00049">main()</a>, <a class="el" href="_tensor_helpers_8hpp_source.xhtml#l00179">MakeTensor()</a>, <a class="el" href="backends_2reference_2workloads_2_mean_8cpp_source.xhtml#l00071">armnn::Mean()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l01468">armnnTfParser::OutputShapeOfExpandDims()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l01938">Deserializer::OutputShapeOfReshape()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01898">TfLiteParser::OutputShapeOfReshape()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01463">TfLiteParser::OutputShapeOfSqueeze()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l02463">armnnTfParser::OutputShapeOfSqueeze()</a>, <a class="el" href="backends_2reference_2workloads_2_pad_8cpp_source.xhtml#l00022">armnn::Pad()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l01338">CaffeParserBase::ParseBatchNormLayer()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l01277">CaffeParserBase::ParseConcatLayer()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l01134">CaffeParserBase::ParseInnerProductLayer()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l00883">CaffeParserBase::ParsePoolingLayer()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l01404">CaffeParserBase::ParseScaleLayer()</a>, <a class="el" href="_permute_8cpp_source.xhtml#l00114">armnnUtils::Permuted()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00171">PermuteInputsForConcat()</a>, <a class="el" href="_workload_utils_8cpp_source.xhtml#l00013">armnn::PermuteTensor()</a>, <a class="el" href="_data_layout_utils_8hpp_source.xhtml#l00014">PermuteTensorNchwToNhwc()</a>, <a class="el" href="_data_layout_utils_8hpp_source.xhtml#l00026">PermuteTensorNhwcToNchw()</a>, <a class="el" href="_pooling2d_8cpp_source.xhtml#l00143">armnn::Pooling2d()</a>, <a class="el" href="_ref_depthwise_convolution2d_workload_8cpp_source.xhtml#l00035">RefDepthwiseConvolution2dWorkload::PostAllocationConfigure()</a>, <a class="el" href="_ref_convolution2d_workload_8cpp_source.xhtml#l00033">RefConvolution2dWorkload::PostAllocationConfigure()</a>, <a class="el" href="_ref_fully_connected_workload_8cpp_source.xhtml#l00032">RefFullyConnectedWorkload::PostAllocationConfigure()</a>, <a class="el" href="_ref_transpose_convolution2d_workload_8cpp_source.xhtml#l00036">RefTransposeConvolution2dWorkload::PostAllocationConfigure()</a>, <a class="el" href="_prelu_impl_8cpp_source.xhtml#l00013">armnn::PreluImpl()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00019">armnnUtils::ProcessConcatInputTensorInfo()</a>, <a class="el" href="_ref_convolution2d_workload_8cpp_source.xhtml#l00015">RefConvolution2dWorkload::RefConvolution2dWorkload()</a>, <a class="el" href="_ref_depthwise_convolution2d_workload_8cpp_source.xhtml#l00018">RefDepthwiseConvolution2dWorkload::RefDepthwiseConvolution2dWorkload()</a>, <a class="el" href="_ref_fully_connected_workload_8cpp_source.xhtml#l00015">RefFullyConnectedWorkload::RefFullyConnectedWorkload()</a>, <a class="el" href="_workload_utils_8cpp_source.xhtml#l00036">armnn::ReshapeWeightsForAcl()</a>, <a class="el" href="_resize_8cpp_source.xhtml#l00035">armnn::Resize()</a>, <a class="el" href="_transpose_as_reshape_8hpp_source.xhtml#l00018">TransposeAsReshapeImpl::Run()</a>, <a class="el" href="_permute_as_reshape_8hpp_source.xhtml#l00018">PermuteAsReshapeImpl::Run()</a>, <a class="el" href="_optimize_consecutive_reshapes_8hpp_source.xhtml#l00019">OptimizeConsecutiveReshapesImpl::Run()</a>, <a class="el" href="_depthwise_convolution2d_layer_8cpp_source.xhtml#l00029">DepthwiseConvolution2dLayer::SerializeLayerParameters()</a>, <a class="el" href="_convolution2d_layer_8cpp_source.xhtml#l00029">Convolution2dLayer::SerializeLayerParameters()</a>, <a class="el" href="_graph_8cpp_source.xhtml#l00081">Graph::SerializeToDot()</a>, <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00162">ShapesAreBroadcastCompatible::ShapesAreBroadcastCompatible()</a>, <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00139">ShapesAreSameRank::ShapesAreSameRank()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00201">SimpleConvolution2dTestImpl()</a>, <a class="el" href="backends_2reference_2workloads_2_slice_8cpp_source.xhtml#l00016">armnn::Slice()</a>, <a class="el" href="backends_2reference_2workloads_2_softmax_8cpp_source.xhtml#l00017">armnn::Softmax()</a>, <a class="el" href="backends_2reference_2workloads_2_space_to_batch_n_d_8cpp_source.xhtml#l00034">armnn::SpaceToBatchNd()</a>, <a class="el" href="_space_to_depth_8cpp_source.xhtml#l00036">armnn::SpaceToDepth()</a>, <a class="el" href="_splitter_8cpp_source.xhtml#l00022">armnn::Split()</a>, <a class="el" href="_splitter_8hpp_source.xhtml#l00017">armnn::Splitter()</a>, <a class="el" href="backends_2reference_2workloads_2_stack_8cpp_source.xhtml#l00012">armnn::Stack()</a>, <a class="el" href="backends_2reference_2workloads_2_strided_slice_8cpp_source.xhtml#l00090">armnn::StridedSlice()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l00325">armnnCaffeParser::TensorDescToBlobShape()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l00488">TfLiteParser::TfLiteParser()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l00515">TfParser::TfParser()</a>, <a class="el" href="_transpose_convolution2d_end_to_end_test_impl_8hpp_source.xhtml#l00048">TransposeConvolution2dEndToEnd()</a>, <a class="el" href="armnn_utils_2_transpose_8cpp_source.xhtml#l00113">armnnUtils::TransposeTensorShape()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00617">ArgMinMaxQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l01287">PermuteQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l01212">DepthwiseConvolution2dQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02483">DetectionPostProcessQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l01343">ResizeBilinearQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l01391">ResizeQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l01603">SpaceToBatchNdQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l01669">SpaceToDepthQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02725">TransposeQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l02950">SliceQueueDescriptor::Validate()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l03005">DepthToSpaceQueueDescriptor::Validate()</a>, <a class="el" href="_elementwise_base_layer_8cpp_source.xhtml#l00051">ElementwiseBaseLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_quantize_layer_8cpp_source.xhtml#l00032">QuantizeLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_activation_layer_8cpp_source.xhtml#l00031">ActivationLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_transpose_layer_8cpp_source.xhtml#l00043">TransposeLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_rsqrt_layer_8cpp_source.xhtml#l00033">RsqrtLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_resize_layer_8cpp_source.xhtml#l00056">ResizeLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_batch_to_space_nd_layer_8cpp_source.xhtml#l00044">BatchToSpaceNdLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_permute_layer_8cpp_source.xhtml#l00043">PermuteLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_merge_layer_8cpp_source.xhtml#l00030">MergeLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_mem_copy_layer_8cpp_source.xhtml#l00036">MemCopyLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_switch_layer_8cpp_source.xhtml#l00030">SwitchLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_normalization_layer_8cpp_source.xhtml#l00032">NormalizationLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_dequantize_layer_8cpp_source.xhtml#l00032">DequantizeLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_mem_import_layer_8cpp_source.xhtml#l00036">MemImportLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_stack_layer_8cpp_source.xhtml#l00061">StackLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_debug_layer_8cpp_source.xhtml#l00037">DebugLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_pooling2d_layer_8cpp_source.xhtml#l00103">Pooling2dLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_reshape_layer_8cpp_source.xhtml#l00039">ReshapeLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_fake_quantization_layer_8cpp_source.xhtml#l00032">FakeQuantizationLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_floor_layer_8cpp_source.xhtml#l00032">FloorLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_abs_layer_8cpp_source.xhtml#l00033">AbsLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_l2_normalization_layer_8cpp_source.xhtml#l00032">L2NormalizationLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_slice_layer_8cpp_source.xhtml#l00037">SliceLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_softmax_layer_8cpp_source.xhtml#l00032">SoftmaxLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_instance_normalization_layer_8cpp_source.xhtml#l00032">InstanceNormalizationLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_convert_fp32_to_fp16_layer_8cpp_source.xhtml#l00032">ConvertFp32ToFp16Layer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_gather_layer_8cpp_source.xhtml#l00032">GatherLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_mean_layer_8cpp_source.xhtml#l00041">MeanLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_log_softmax_layer_8cpp_source.xhtml#l00032">LogSoftmaxLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_convert_fp16_to_fp32_layer_8cpp_source.xhtml#l00033">ConvertFp16ToFp32Layer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_constant_layer_8cpp_source.xhtml#l00043">ConstantLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_arg_min_max_layer_8cpp_source.xhtml#l00072">ArgMinMaxLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_strided_slice_layer_8cpp_source.xhtml#l00076">StridedSliceLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_elementwise_unary_layer_8cpp_source.xhtml#l00043">ElementwiseUnaryLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_detection_post_process_layer_8cpp_source.xhtml#l00037">DetectionPostProcessLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_depthwise_convolution2d_layer_8cpp_source.xhtml#l00122">DepthwiseConvolution2dLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_fully_connected_layer_8cpp_source.xhtml#l00064">FullyConnectedLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_transpose_convolution2d_layer_8cpp_source.xhtml#l00097">TransposeConvolution2dLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_space_to_batch_nd_layer_8cpp_source.xhtml#l00069">SpaceToBatchNdLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_prelu_layer_8cpp_source.xhtml#l00097">PreluLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_depth_to_space_layer_8cpp_source.xhtml#l00060">DepthToSpaceLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_space_to_depth_layer_8cpp_source.xhtml#l00062">SpaceToDepthLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_comparison_layer_8cpp_source.xhtml#l00058">ComparisonLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_convolution2d_layer_8cpp_source.xhtml#l00115">Convolution2dLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_splitter_layer_8cpp_source.xhtml#l00142">SplitterLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_batch_normalization_layer_8cpp_source.xhtml#l00051">BatchNormalizationLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00094">QuantizedLstmLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_lstm_layer_8cpp_source.xhtml#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_types_utils_8hpp_source.xhtml#l00296">armnn::VerifyTensorInfoDataType()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l01333">SerializerVisitor::VisitQuantizedLstmLayer()</a>.</p> |
| 641 | <div class="fragment"><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> { <span class="keywordflow">return</span> m_Shape; }</div></div><!-- fragment --> |
| 642 | </div> |
| 643 | </div> |
| 644 | <a id="a350bcc7d86f7d9333340a0a04be078f6"></a> |
| 645 | <h2 class="memtitle"><span class="permalink"><a href="#a350bcc7d86f7d9333340a0a04be078f6">◆ </a></span>GetShape() <span class="overload">[2/2]</span></h2> |
| 646 | |
| 647 | <div class="memitem"> |
| 648 | <div class="memproto"> |
| 649 | <table class="mlabels"> |
| 650 | <tr> |
| 651 | <td class="mlabels-left"> |
| 652 | <table class="memname"> |
| 653 | <tr> |
| 654 | <td class="memname"><a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a>& GetShape </td> |
| 655 | <td>(</td> |
| 656 | <td class="paramname"></td><td>)</td> |
| 657 | <td></td> |
| 658 | </tr> |
| 659 | </table> |
| 660 | </td> |
| 661 | <td class="mlabels-right"> |
| 662 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 663 | </tr> |
| 664 | </table> |
| 665 | </div><div class="memdoc"> |
| 666 | |
| 667 | <p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00089">89</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p> |
| 668 | <div class="fragment"><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> { <span class="keywordflow">return</span> m_Shape; }</div></div><!-- fragment --> |
| 669 | </div> |
| 670 | </div> |
| 671 | <a id="af672d1c9e2a120a18926cb645981fbb7"></a> |
| 672 | <h2 class="memtitle"><span class="permalink"><a href="#af672d1c9e2a120a18926cb645981fbb7">◆ </a></span>HasMultipleQuantizationScales()</h2> |
| 673 | |
| 674 | <div class="memitem"> |
| 675 | <div class="memproto"> |
| 676 | <table class="mlabels"> |
| 677 | <tr> |
| 678 | <td class="mlabels-left"> |
| 679 | <table class="memname"> |
| 680 | <tr> |
| 681 | <td class="memname">bool HasMultipleQuantizationScales </td> |
| 682 | <td>(</td> |
| 683 | <td class="paramname"></td><td>)</td> |
| 684 | <td> const</td> |
| 685 | </tr> |
| 686 | </table> |
| 687 | </td> |
| 688 | <td class="mlabels-right"> |
| 689 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 690 | </tr> |
| 691 | </table> |
| 692 | </div><div class="memdoc"> |
| 693 | |
| 694 | <p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00098">98</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p> |
| 695 | |
| 696 | <p class="reference">References <a class="el" href="_tensor_8cpp_source.xhtml#l00095">TensorShape::operator==()</a>, <a class="el" href="_neon_end_to_end_tests_8cpp.xhtml#aec48a5a5ab6ecf86c8db0f6d0859fe2f">SetQuantizationOffset()</a>, and <a class="el" href="_neon_end_to_end_tests_8cpp.xhtml#a522a440dc1e26bed45fd3f68be8484e9">SetQuantizationScale()</a>.</p> |
| 697 | |
| 698 | <p class="reference">Referenced by <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, <a class="el" href="_tensor_8cpp_source.xhtml#l00247">TensorInfo::GetQuantizationScale()</a>, <a class="el" href="_tensor_8cpp_source.xhtml#l00232">TensorInfo::HasPerAxisQuantization()</a>, and <a class="el" href="_tensor_8cpp_source.xhtml#l00218">TensorInfo::IsTypeSpaceMatch()</a>.</p> |
| 699 | <div class="fragment"><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> { <span class="keywordflow">return</span> m_Quantization.m_Scales.size() > 1; }</div></div><!-- fragment --> |
| 700 | </div> |
| 701 | </div> |
| 702 | <a id="ab85cd8cc10c96a7c99c14042c251fc48"></a> |
| 703 | <h2 class="memtitle"><span class="permalink"><a href="#ab85cd8cc10c96a7c99c14042c251fc48">◆ </a></span>HasPerAxisQuantization()</h2> |
| 704 | |
| 705 | <div class="memitem"> |
| 706 | <div class="memproto"> |
| 707 | <table class="memname"> |
| 708 | <tr> |
| 709 | <td class="memname">bool HasPerAxisQuantization </td> |
| 710 | <td>(</td> |
| 711 | <td class="paramname"></td><td>)</td> |
| 712 | <td> const</td> |
| 713 | </tr> |
| 714 | </table> |
| 715 | </div><div class="memdoc"> |
| 716 | |
| 717 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00232">232</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 718 | |
| 719 | <p class="reference">References <a class="el" href="_tensor_8hpp_source.xhtml#l00098">TensorInfo::HasMultipleQuantizationScales()</a>.</p> |
| 720 | |
| 721 | <p class="reference">Referenced by <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, <a class="el" href="_tensor_utils_8cpp_source.xhtml#l00152">armnnUtils::GetPerAxisParams()</a>, <a class="el" href="_decoders_8hpp_source.xhtml#l00070">armnn::MakeDecoder()</a>, <a class="el" href="_encoders_8hpp_source.xhtml#l00021">armnn::MakeEncoder()</a>, and <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00111">TypeNotPerAxisQuantized::TypeNotPerAxisQuantized()</a>.</p> |
| 722 | <div class="fragment"><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> {</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1_tensor_info.xhtml#af672d1c9e2a120a18926cb645981fbb7">HasMultipleQuantizationScales</a>() || m_Quantization.m_QuantizationDim.has_value();</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_af672d1c9e2a120a18926cb645981fbb7"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#af672d1c9e2a120a18926cb645981fbb7">armnn::TensorInfo::HasMultipleQuantizationScales</a></div><div class="ttdeci">bool HasMultipleQuantizationScales() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00098">Tensor.hpp:98</a></div></div> |
| 723 | </div><!-- fragment --> |
| 724 | </div> |
| 725 | </div> |
| 726 | <a id="a7c00efeb540198b33b8558c76e5cc2dd"></a> |
| 727 | <h2 class="memtitle"><span class="permalink"><a href="#a7c00efeb540198b33b8558c76e5cc2dd">◆ </a></span>IsQuantized()</h2> |
| 728 | |
| 729 | <div class="memitem"> |
| 730 | <div class="memproto"> |
| 731 | <table class="memname"> |
| 732 | <tr> |
| 733 | <td class="memname">bool IsQuantized </td> |
| 734 | <td>(</td> |
| 735 | <td class="paramname"></td><td>)</td> |
| 736 | <td> const</td> |
| 737 | </tr> |
| 738 | </table> |
| 739 | </div><div class="memdoc"> |
| 740 | |
| 741 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00290">290</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 742 | |
| 743 | <p class="reference">References <a class="el" href="_types_utils_8hpp_source.xhtml#l00236">armnn::IsQuantizedType()</a>.</p> |
| 744 | |
| 745 | <p class="reference">Referenced by <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, <a class="el" href="_tensor_8cpp_source.xhtml#l00218">TensorInfo::IsTypeSpaceMatch()</a>, and <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00111">TypeNotPerAxisQuantized::TypeNotPerAxisQuantized()</a>.</p> |
| 746 | <div class="fragment"><div class="line"><a name="l00291"></a><span class="lineno"> 291</span> {</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#ad44c007f21af2d0375e3ef9400a1b275">IsQuantizedType</a>(m_DataType);</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> }</div><div class="ttc" id="namespacearmnn_xhtml_ad44c007f21af2d0375e3ef9400a1b275"><div class="ttname"><a href="namespacearmnn.xhtml#ad44c007f21af2d0375e3ef9400a1b275">armnn::IsQuantizedType</a></div><div class="ttdeci">constexpr bool IsQuantizedType()</div><div class="ttdef"><b>Definition:</b> <a href="_types_utils_8hpp_source.xhtml#l00236">TypesUtils.hpp:236</a></div></div> |
| 747 | </div><!-- fragment --> |
| 748 | </div> |
| 749 | </div> |
| 750 | <a id="a22f377fc4e10dc1773a3f979061e85f1"></a> |
| 751 | <h2 class="memtitle"><span class="permalink"><a href="#a22f377fc4e10dc1773a3f979061e85f1">◆ </a></span>IsTypeSpaceMatch()</h2> |
| 752 | |
| 753 | <div class="memitem"> |
| 754 | <div class="memproto"> |
| 755 | <table class="memname"> |
| 756 | <tr> |
| 757 | <td class="memname">bool IsTypeSpaceMatch </td> |
| 758 | <td>(</td> |
| 759 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & </td> |
| 760 | <td class="paramname"><em>other</em></td><td>)</td> |
| 761 | <td> const</td> |
| 762 | </tr> |
| 763 | </table> |
| 764 | </div><div class="memdoc"> |
| 765 | |
| 766 | <p>Check that the types are the same and, if quantize, that the quantization parameters are the same. </p> |
| 767 | |
| 768 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00218">218</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 769 | |
| 770 | <p class="reference">References <a class="el" href="_tensor_8cpp_source.xhtml#l00264">TensorInfo::GetQuantizationOffset()</a>, <a class="el" href="_tensor_8cpp_source.xhtml#l00247">TensorInfo::GetQuantizationScale()</a>, <a class="el" href="_tensor_8hpp_source.xhtml#l00098">TensorInfo::HasMultipleQuantizationScales()</a>, and <a class="el" href="_tensor_8cpp_source.xhtml#l00290">TensorInfo::IsQuantized()</a>.</p> |
| 771 | |
| 772 | <p class="reference">Referenced by <a class="el" href="_concat_layer_8cpp_source.xhtml#l00022">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_splitter_layer_8cpp_source.xhtml#l00021">SplitterLayer::CreateWorkload()</a>, <a class="el" href="_workload_data_8cpp_source.xhtml#l00025">armnn::GetBiasDataType()</a>, <a class="el" href="_cl_layer_support_8cpp_source.xhtml#l00246">ClLayerSupport::IsConcatSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00216">NeonLayerSupport::IsConcatSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.xhtml#l00736">ClLayerSupport::IsSplitterSupported()</a>, and <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00719">NeonLayerSupport::IsSplitterSupported()</a>.</p> |
| 773 | <div class="fragment"><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> {</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordtype">bool</span> match = <span class="keyword">true</span>;</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  match &= m_DataType == other.m_DataType;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a7c00efeb540198b33b8558c76e5cc2dd">IsQuantized</a>() && !<a class="code" href="classarmnn_1_1_tensor_info.xhtml#af672d1c9e2a120a18926cb645981fbb7">HasMultipleQuantizationScales</a>())</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>  match &= <a class="code" href="classarmnn_1_1_tensor_info.xhtml#a047ca888c43bd7fb5702853bf72410d0">GetQuantizationScale</a>() == other.GetQuantizationScale() &&</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml#a770b51078da02f44a819e9f95d8058b5">GetQuantizationOffset</a>() == other.GetQuantizationOffset();</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  }</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keywordflow">return</span> match;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_af672d1c9e2a120a18926cb645981fbb7"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#af672d1c9e2a120a18926cb645981fbb7">armnn::TensorInfo::HasMultipleQuantizationScales</a></div><div class="ttdeci">bool HasMultipleQuantizationScales() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00098">Tensor.hpp:98</a></div></div> |
| 774 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a770b51078da02f44a819e9f95d8058b5"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a770b51078da02f44a819e9f95d8058b5">armnn::TensorInfo::GetQuantizationOffset</a></div><div class="ttdeci">int32_t GetQuantizationOffset() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00264">Tensor.cpp:264</a></div></div> |
| 775 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a047ca888c43bd7fb5702853bf72410d0"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a047ca888c43bd7fb5702853bf72410d0">armnn::TensorInfo::GetQuantizationScale</a></div><div class="ttdeci">float GetQuantizationScale() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00247">Tensor.cpp:247</a></div></div> |
| 776 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a7c00efeb540198b33b8558c76e5cc2dd"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a7c00efeb540198b33b8558c76e5cc2dd">armnn::TensorInfo::IsQuantized</a></div><div class="ttdeci">bool IsQuantized() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00290">Tensor.cpp:290</a></div></div> |
| 777 | </div><!-- fragment --> |
| 778 | </div> |
| 779 | </div> |
| 780 | <a id="a2a944e616dc6fdde5287b17f2265307d"></a> |
| 781 | <h2 class="memtitle"><span class="permalink"><a href="#a2a944e616dc6fdde5287b17f2265307d">◆ </a></span>operator!=()</h2> |
| 782 | |
| 783 | <div class="memitem"> |
| 784 | <div class="memproto"> |
| 785 | <table class="memname"> |
| 786 | <tr> |
| 787 | <td class="memname">bool operator!= </td> |
| 788 | <td>(</td> |
| 789 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & </td> |
| 790 | <td class="paramname"><em>other</em></td><td>)</td> |
| 791 | <td> const</td> |
| 792 | </tr> |
| 793 | </table> |
| 794 | </div><div class="memdoc"> |
| 795 | |
| 796 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00208">208</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 797 | <div class="fragment"><div class="line"><a name="l00209"></a><span class="lineno"> 209</span> {</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="keywordflow">return</span> !(*<span class="keyword">this</span> == other);</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> }</div></div><!-- fragment --> |
| 798 | </div> |
| 799 | </div> |
| 800 | <a id="ac45c8c0052476cd66ef732de76dd9bc8"></a> |
| 801 | <h2 class="memtitle"><span class="permalink"><a href="#ac45c8c0052476cd66ef732de76dd9bc8">◆ </a></span>operator=()</h2> |
| 802 | |
| 803 | <div class="memitem"> |
| 804 | <div class="memproto"> |
| 805 | <table class="memname"> |
| 806 | <tr> |
| 807 | <td class="memname"><a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & operator= </td> |
| 808 | <td>(</td> |
| 809 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & </td> |
| 810 | <td class="paramname"><em>other</em></td><td>)</td> |
| 811 | <td></td> |
| 812 | </tr> |
| 813 | </table> |
| 814 | </div><div class="memdoc"> |
| 815 | |
| 816 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00193">193</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 817 | <div class="fragment"><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> {</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  m_Shape = other.m_Shape;</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  m_DataType = other.m_DataType;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  m_Quantization = other.m_Quantization;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> }</div></div><!-- fragment --> |
| 818 | </div> |
| 819 | </div> |
| 820 | <a id="a586e1eec08e847abfeb3de3a4038c5ce"></a> |
| 821 | <h2 class="memtitle"><span class="permalink"><a href="#a586e1eec08e847abfeb3de3a4038c5ce">◆ </a></span>operator==()</h2> |
| 822 | |
| 823 | <div class="memitem"> |
| 824 | <div class="memproto"> |
| 825 | <table class="memname"> |
| 826 | <tr> |
| 827 | <td class="memname">bool operator== </td> |
| 828 | <td>(</td> |
| 829 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & </td> |
| 830 | <td class="paramname"><em>other</em></td><td>)</td> |
| 831 | <td> const</td> |
| 832 | </tr> |
| 833 | </table> |
| 834 | </div><div class="memdoc"> |
| 835 | |
| 836 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00201">201</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 837 | <div class="fragment"><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> {</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordflow">return</span> ((m_Shape == other.m_Shape) &&</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  (m_DataType == other.m_DataType) &&</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  (m_Quantization == other.m_Quantization));</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> }</div></div><!-- fragment --> |
| 838 | </div> |
| 839 | </div> |
| 840 | <a id="a71975fcec1464d639f1a78f73164d1bd"></a> |
| 841 | <h2 class="memtitle"><span class="permalink"><a href="#a71975fcec1464d639f1a78f73164d1bd">◆ </a></span>SetDataType()</h2> |
| 842 | |
| 843 | <div class="memitem"> |
| 844 | <div class="memproto"> |
| 845 | <table class="mlabels"> |
| 846 | <tr> |
| 847 | <td class="mlabels-left"> |
| 848 | <table class="memname"> |
| 849 | <tr> |
| 850 | <td class="memname">void SetDataType </td> |
| 851 | <td>(</td> |
| 852 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td> |
| 853 | <td class="paramname"><em>type</em></td><td>)</td> |
| 854 | <td></td> |
| 855 | </tr> |
| 856 | </table> |
| 857 | </td> |
| 858 | <td class="mlabels-right"> |
| 859 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 860 | </tr> |
| 861 | </table> |
| 862 | </div><div class="memdoc"> |
| 863 | |
| 864 | <p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00096">96</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p> |
| 865 | |
| 866 | <p class="reference">Referenced by <a class="el" href="_tensor_test_8cpp_source.xhtml#l00123">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_data_type_utils_8hpp_source.xhtml#l00017">ConvertToDataType()</a>, <a class="el" href="_network_utils_8cpp_source.xhtml#l00040">armnn::InsertConvertFp16ToFp32LayersBefore()</a>, <a class="el" href="_network_utils_8cpp_source.xhtml#l00079">armnn::InsertConvertFp32ToFp16LayersAfter()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l01468">armnnTfParser::OutputShapeOfExpandDims()</a>, and <a class="el" href="_convert_fp32_network_to_fp16_8hpp_source.xhtml#l00018">ConvertFp32NetworkToFp16Impl::Run()</a>.</p> |
| 867 | <div class="fragment"><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> { m_DataType = type; }</div></div><!-- fragment --> |
| 868 | </div> |
| 869 | </div> |
| 870 | <a id="a519efe8ff6dc3aacdfe8a999415e3e4e"></a> |
| 871 | <h2 class="memtitle"><span class="permalink"><a href="#a519efe8ff6dc3aacdfe8a999415e3e4e">◆ </a></span>SetQuantizationDim()</h2> |
| 872 | |
| 873 | <div class="memitem"> |
| 874 | <div class="memproto"> |
| 875 | <table class="memname"> |
| 876 | <tr> |
| 877 | <td class="memname">void SetQuantizationDim </td> |
| 878 | <td>(</td> |
| 879 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>< unsigned int > & </td> |
| 880 | <td class="paramname"><em>quantizationDim</em></td><td>)</td> |
| 881 | <td></td> |
| 882 | </tr> |
| 883 | </table> |
| 884 | </div><div class="memdoc"> |
| 885 | |
| 886 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00285">285</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 887 | |
| 888 | <p class="reference">Referenced by <a class="el" href="_tensor_8cpp_source.xhtml#l00164">TensorInfo::TensorInfo()</a>.</p> |
| 889 | <div class="fragment"><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> {</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  m_Quantization.m_QuantizationDim = quantizationDim;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> }</div></div><!-- fragment --> |
| 890 | </div> |
| 891 | </div> |
| 892 | <a id="a63cbc581012c957f9d68d224ddc3e43c"></a> |
| 893 | <h2 class="memtitle"><span class="permalink"><a href="#a63cbc581012c957f9d68d224ddc3e43c">◆ </a></span>SetQuantizationOffset()</h2> |
| 894 | |
| 895 | <div class="memitem"> |
| 896 | <div class="memproto"> |
| 897 | <table class="memname"> |
| 898 | <tr> |
| 899 | <td class="memname">void SetQuantizationOffset </td> |
| 900 | <td>(</td> |
| 901 | <td class="paramtype">int32_t </td> |
| 902 | <td class="paramname"><em>offset</em></td><td>)</td> |
| 903 | <td></td> |
| 904 | </tr> |
| 905 | </table> |
| 906 | </div><div class="memdoc"> |
| 907 | |
| 908 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00275">275</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 909 | |
| 910 | <p class="reference">Referenced by <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00245">AdditionBroadcast1ElementTestImpl()</a>, <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00162">AdditionBroadcastTestImpl()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00153">ArgMaxChannelTest()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00188">ArgMaxHeightTest()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00064">ArgMaxSimpleTest()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00118">ArgMinChannelTest()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00091">ArgMinSimpleTest()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00223">ArgMinWidthTest()</a>, <a class="el" href="_tensor_test_8cpp_source.xhtml#l00123">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_network_8cpp_source.xhtml#l00114">armnn::CheckScaleSetOnQuantizedType()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l01142">CompareActivationTestImpl()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00307">ConstantLinearActivationTestCommon()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00995">Convolution2d3x3DilationTestCommon()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l02288">DepthwiseConvolution2d3x3DilationTestCommon()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01381">DepthwiseConvolution2dAsymmetricTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01518">DepthwiseConvolution2dDepthMul1TestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01671">DepthwiseConvolution2dTestImpl()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00327">DetectionPostProcessFastNmsQuantizedTest()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00263">DetectionPostProcessRegularNmsQuantizedTest()</a>, <a class="el" href="_fully_connected_test_impl_8cpp_source.xhtml#l00148">FullyConnectedLargeTestCommon()</a>, <a class="el" href="_json_printer_test_impl_8cpp_source.xhtml#l00120">GetSoftmaxProfilerJson()</a>, <a class="el" href="_permute_test_impl_8hpp_source.xhtml#l00107">PermuteValueSet1Test()</a>, <a class="el" href="_permute_test_impl_8hpp_source.xhtml#l00157">PermuteValueSet2Test()</a>, <a class="el" href="_permute_test_impl_8hpp_source.xhtml#l00207">PermuteValueSet3Test()</a>, <a class="el" href="_neon_end_to_end_tests_8cpp_source.xhtml#l00545">QuantizeData()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00201">SimpleConvolution2dTestImpl()</a>, <a class="el" href="_permute_test_impl_8hpp_source.xhtml#l00058">SimplePermuteTest()</a>, <a class="el" href="_transpose_test_impl_8hpp_source.xhtml#l00058">SimpleTransposeTest()</a>, <a class="el" href="_tensor_8cpp_source.xhtml#l00141">TensorInfo::TensorInfo()</a>, <a class="el" href="_transpose_test_impl_8hpp_source.xhtml#l00107">TransposeValueSet1Test()</a>, <a class="el" href="_transpose_test_impl_8hpp_source.xhtml#l00157">TransposeValueSet2Test()</a>, and <a class="el" href="_transpose_test_impl_8hpp_source.xhtml#l00207">TransposeValueSet3Test()</a>.</p> |
| 911 | <div class="fragment"><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> {</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  m_Quantization.m_Offset = MakeOptional<int32_t>(offset);</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> }</div></div><!-- fragment --> |
| 912 | </div> |
| 913 | </div> |
| 914 | <a id="a685739c4eb65a580e075282cfe6787d6"></a> |
| 915 | <h2 class="memtitle"><span class="permalink"><a href="#a685739c4eb65a580e075282cfe6787d6">◆ </a></span>SetQuantizationScale()</h2> |
| 916 | |
| 917 | <div class="memitem"> |
| 918 | <div class="memproto"> |
| 919 | <table class="memname"> |
| 920 | <tr> |
| 921 | <td class="memname">void SetQuantizationScale </td> |
| 922 | <td>(</td> |
| 923 | <td class="paramtype">float </td> |
| 924 | <td class="paramname"><em>scale</em></td><td>)</td> |
| 925 | <td></td> |
| 926 | </tr> |
| 927 | </table> |
| 928 | </div><div class="memdoc"> |
| 929 | |
| 930 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00259">259</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 931 | |
| 932 | <p class="reference">Referenced by <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00245">AdditionBroadcast1ElementTestImpl()</a>, <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00162">AdditionBroadcastTestImpl()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00153">ArgMaxChannelTest()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00188">ArgMaxHeightTest()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00064">ArgMaxSimpleTest()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00118">ArgMinChannelTest()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00091">ArgMinSimpleTest()</a>, <a class="el" href="_arg_min_max_test_impl_8cpp_source.xhtml#l00223">ArgMinWidthTest()</a>, <a class="el" href="_tensor_test_8cpp_source.xhtml#l00123">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00023">BoundedReLuTestCommon()</a>, <a class="el" href="_network_8cpp_source.xhtml#l00114">armnn::CheckScaleSetOnQuantizedType()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l01142">CompareActivationTestImpl()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l02635">ConcatUint16Test()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l02497">ConcatUint8Test()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00307">ConstantLinearActivationTestCommon()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00460">Convolution1dTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00995">Convolution2d3x3DilationTestCommon()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l02288">DepthwiseConvolution2d3x3DilationTestCommon()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01381">DepthwiseConvolution2dAsymmetricTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01518">DepthwiseConvolution2dDepthMul1TestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01671">DepthwiseConvolution2dTestImpl()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00327">DetectionPostProcessFastNmsQuantizedTest()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00263">DetectionPostProcessRegularNmsQuantizedTest()</a>, <a class="el" href="_elementwise_test_impl_8hpp_source.xhtml#l00041">ElementwiseTestHelper()</a>, <a class="el" href="_elementwise_unary_test_impl_8hpp_source.xhtml#l00035">ElementwiseUnaryTestHelper()</a>, <a class="el" href="_fully_connected_test_impl_8cpp_source.xhtml#l00148">FullyConnectedLargeTestCommon()</a>, <a class="el" href="_fully_connected_test_impl_8cpp_source.xhtml#l00071">FullyConnectedTest()</a>, <a class="el" href="_json_printer_test_impl_8cpp_source.xhtml#l00120">GetSoftmaxProfilerJson()</a>, <a class="el" href="_permute_test_impl_8hpp_source.xhtml#l00107">PermuteValueSet1Test()</a>, <a class="el" href="_permute_test_impl_8hpp_source.xhtml#l00157">PermuteValueSet2Test()</a>, <a class="el" href="_permute_test_impl_8hpp_source.xhtml#l00207">PermuteValueSet3Test()</a>, <a class="el" href="_prelu_test_impl_8hpp_source.xhtml#l00023">PreluTest()</a>, <a class="el" href="_neon_end_to_end_tests_8cpp_source.xhtml#l00545">QuantizeData()</a>, <a class="el" href="_reshape_test_impl_8cpp_source.xhtml#l00109">Reshape5dTest()</a>, <a class="el" href="_quantizer_test_8cpp_source.xhtml#l02836">armnn::SetupQuantize()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00392">SimpleActivationTest()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00201">SimpleConvolution2dTestImpl()</a>, <a class="el" href="_floor_test_impl_8cpp_source.xhtml#l00015">SimpleFloorTest()</a>, <a class="el" href="_permute_test_impl_8hpp_source.xhtml#l00058">SimplePermuteTest()</a>, <a class="el" href="_reshape_test_impl_8cpp_source.xhtml#l00057">SimpleReshapeTest()</a>, <a class="el" href="_transpose_test_impl_8hpp_source.xhtml#l00058">SimpleTransposeTest()</a>, <a class="el" href="_tensor_8cpp_source.xhtml#l00141">TensorInfo::TensorInfo()</a>, <a class="el" href="_transpose_test_impl_8hpp_source.xhtml#l00107">TransposeValueSet1Test()</a>, <a class="el" href="_transpose_test_impl_8hpp_source.xhtml#l00157">TransposeValueSet2Test()</a>, and <a class="el" href="_transpose_test_impl_8hpp_source.xhtml#l00207">TransposeValueSet3Test()</a>.</p> |
| 933 | <div class="fragment"><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>  m_Quantization.m_Scales = { scale };</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> }</div></div><!-- fragment --> |
| 934 | </div> |
| 935 | </div> |
| 936 | <a id="a1a8675f9d64c3fb59e6af15362bb6332"></a> |
| 937 | <h2 class="memtitle"><span class="permalink"><a href="#a1a8675f9d64c3fb59e6af15362bb6332">◆ </a></span>SetQuantizationScales()</h2> |
| 938 | |
| 939 | <div class="memitem"> |
| 940 | <div class="memproto"> |
| 941 | <table class="memname"> |
| 942 | <tr> |
| 943 | <td class="memname">void SetQuantizationScales </td> |
| 944 | <td>(</td> |
| 945 | <td class="paramtype">const std::vector< float > & </td> |
| 946 | <td class="paramname"><em>scales</em></td><td>)</td> |
| 947 | <td></td> |
| 948 | </tr> |
| 949 | </table> |
| 950 | </div><div class="memdoc"> |
| 951 | |
| 952 | <p class="definition">Definition at line <a class="el" href="_tensor_8cpp_source.xhtml#l00242">242</a> of file <a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a>.</p> |
| 953 | |
| 954 | <p class="reference">Referenced by <a class="el" href="_tensor_8cpp_source.xhtml#l00164">TensorInfo::TensorInfo()</a>.</p> |
| 955 | <div class="fragment"><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> {</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  m_Quantization.m_Scales = scales;</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> }</div></div><!-- fragment --> |
| 956 | </div> |
| 957 | </div> |
| 958 | <a id="abe8889e8150beef5fd204b2d87b49298"></a> |
| 959 | <h2 class="memtitle"><span class="permalink"><a href="#abe8889e8150beef5fd204b2d87b49298">◆ </a></span>SetShape()</h2> |
| 960 | |
| 961 | <div class="memitem"> |
| 962 | <div class="memproto"> |
| 963 | <table class="mlabels"> |
| 964 | <tr> |
| 965 | <td class="mlabels-left"> |
| 966 | <table class="memname"> |
| 967 | <tr> |
| 968 | <td class="memname">void SetShape </td> |
| 969 | <td>(</td> |
| 970 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> & </td> |
| 971 | <td class="paramname"><em>newShape</em></td><td>)</td> |
| 972 | <td></td> |
| 973 | </tr> |
| 974 | </table> |
| 975 | </td> |
| 976 | <td class="mlabels-right"> |
| 977 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 978 | </tr> |
| 979 | </table> |
| 980 | </div><div class="memdoc"> |
| 981 | |
| 982 | <p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00090">90</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p> |
| 983 | |
| 984 | <p class="reference">Referenced by <a class="el" href="_tensor_test_8cpp_source.xhtml#l00123">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l02138">armnnTfParser::CalculatePaddedOutputTensorInfo()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l00605">TfLiteParser::CreateNetworkFromBinary()</a>, <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00584">OnnxParser::CreateNetworkFromString()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l01468">armnnTfParser::OutputShapeOfExpandDims()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l01938">Deserializer::OutputShapeOfReshape()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01898">TfLiteParser::OutputShapeOfReshape()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01463">TfLiteParser::OutputShapeOfSqueeze()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l02463">armnnTfParser::OutputShapeOfSqueeze()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l00364">CaffeParserBase::ParseInputLayer()</a>, <a class="el" href="_permute_8cpp_source.xhtml#l00114">armnnUtils::Permuted()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00171">PermuteInputsForConcat()</a>, <a class="el" href="_workload_utils_8cpp_source.xhtml#l00036">armnn::ReshapeWeightsForAcl()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l00488">TfLiteParser::TfLiteParser()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l00515">TfParser::TfParser()</a>, and <a class="el" href="armnn_utils_2_transpose_8cpp_source.xhtml#l00113">armnnUtils::TransposeTensorShape()</a>.</p> |
| 985 | <div class="fragment"><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> { m_Shape = newShape; }</div></div><!-- fragment --> |
| 986 | </div> |
| 987 | </div> |
| 988 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 989 | <li>include/armnn/<a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a></li> |
| 990 | <li>src/armnn/<a class="el" href="_tensor_8cpp_source.xhtml">Tensor.cpp</a></li> |
| 991 | </ul> |
| 992 | </div><!-- contents --> |
| 993 | </div><!-- doc-content --> |
| 994 | <!-- start footer part --> |
| 995 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 996 | <ul> |
| 997 | <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a></li> |
| 998 | <li class="footer">Generated on Fri Mar 13 2020 16:09:20 for ArmNN by |
| 999 | <a href="http://www.doxygen.org/index.html"> |
| 1000 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 1001 | </ul> |
| 1002 | </div> |
| 1003 | </body> |
| 1004 | </html> |