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: armnnSerializer Namespace 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('namespacearmnn_serializer.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="#typedef-members">Typedefs</a> | |
| 100 | <a href="#func-members">Functions</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">armnnSerializer Namespace Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | <table class="memberdecls"> |
| 106 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| 107 | Classes</h2></td></tr> |
| 108 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_serializer_1_1_i_serializer.xhtml">ISerializer</a></td></tr> |
| 109 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_serializer_1_1_serializer.xhtml">Serializer</a></td></tr> |
| 111 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_serializer_1_1_serializer_visitor.xhtml">SerializerVisitor</a></td></tr> |
| 113 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | </table><table class="memberdecls"> |
| 115 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> |
| 116 | Typedefs</h2></td></tr> |
| 117 | <tr class="memitem:a550a83250b3ddebf15d5c13c224e3609"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#a550a83250b3ddebf15d5c13c224e3609">ISerializerPtr</a> = std::unique_ptr< <a class="el" href="classarmnn_serializer_1_1_i_serializer.xhtml">ISerializer</a>, void(*)(<a class="el" href="classarmnn_serializer_1_1_i_serializer.xhtml">ISerializer</a> *serializer)></td></tr> |
| 118 | <tr class="separator:a550a83250b3ddebf15d5c13c224e3609"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | </table><table class="memberdecls"> |
| 120 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 121 | Functions</h2></td></tr> |
| 122 | <tr class="memitem:aac3bf4453f8a909ca23f290089df8ff1"><td class="memItemLeft" align="right" valign="top">serializer::ActivationFunction </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#aac3bf4453f8a909ca23f290089df8ff1">GetFlatBufferActivationFunction</a> (<a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9ea">armnn::ActivationFunction</a> function)</td></tr> |
| 123 | <tr class="separator:aac3bf4453f8a909ca23f290089df8ff1"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <tr class="memitem:a6fcb1eefde815b0b7465a689c8d26b50"><td class="memItemLeft" align="right" valign="top">serializer::ArgMinMaxFunction </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#a6fcb1eefde815b0b7465a689c8d26b50">GetFlatBufferArgMinMaxFunction</a> (<a class="el" href="namespacearmnn.xhtml#ae7e8cbf71db6a490789ca6dcaa8deeae">armnn::ArgMinMaxFunction</a> function)</td></tr> |
| 125 | <tr class="separator:a6fcb1eefde815b0b7465a689c8d26b50"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:a1c88cccaeb232c6fe8022c7006bb21bc"><td class="memItemLeft" align="right" valign="top">armnnSerializer::ComparisonOperation </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#a1c88cccaeb232c6fe8022c7006bb21bc">GetFlatBufferComparisonOperation</a> (<a class="el" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58c">armnn::ComparisonOperation</a> comparisonOperation)</td></tr> |
| 127 | <tr class="separator:a1c88cccaeb232c6fe8022c7006bb21bc"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | <tr class="memitem:af7a4f31739f602d7d78a056ebed19d04"><td class="memItemLeft" align="right" valign="top">armnnSerializer::ConstTensorData </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#af7a4f31739f602d7d78a056ebed19d04">GetFlatBufferConstTensorData</a> (<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> dataType)</td></tr> |
| 129 | <tr class="separator:af7a4f31739f602d7d78a056ebed19d04"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <tr class="memitem:a27876085f01a54e1995bc0b3ea96ce41"><td class="memItemLeft" align="right" valign="top">armnnSerializer::DataType </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#a27876085f01a54e1995bc0b3ea96ce41">GetFlatBufferDataType</a> (<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> dataType)</td></tr> |
| 131 | <tr class="separator:a27876085f01a54e1995bc0b3ea96ce41"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="memitem:a6a38e099993f10c9262e0b5f2bff4fcd"><td class="memItemLeft" align="right" valign="top">armnnSerializer::DataLayout </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#a6a38e099993f10c9262e0b5f2bff4fcd">GetFlatBufferDataLayout</a> (<a class="el" href="namespacearmnn.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 133 | <tr class="separator:a6a38e099993f10c9262e0b5f2bff4fcd"><td class="memSeparator" colspan="2"> </td></tr> |
| 134 | <tr class="memitem:ae4ba1925d55937fdb1770852ff0554bf"><td class="memItemLeft" align="right" valign="top">armnnSerializer::UnaryOperation </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#ae4ba1925d55937fdb1770852ff0554bf">GetFlatBufferUnaryOperation</a> (<a class="el" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8">armnn::UnaryOperation</a> comparisonOperation)</td></tr> |
| 135 | <tr class="separator:ae4ba1925d55937fdb1770852ff0554bf"><td class="memSeparator" colspan="2"> </td></tr> |
| 136 | <tr class="memitem:ac2eceb2274af867d713fe44720fc2d4e"><td class="memItemLeft" align="right" valign="top">armnnSerializer::PoolingAlgorithm </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#ac2eceb2274af867d713fe44720fc2d4e">GetFlatBufferPoolingAlgorithm</a> (<a class="el" href="namespacearmnn.xhtml#a961bbfe1db71a848eff5a1f0ab775718">armnn::PoolingAlgorithm</a> poolingAlgorithm)</td></tr> |
| 137 | <tr class="separator:ac2eceb2274af867d713fe44720fc2d4e"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <tr class="memitem:aa5f62540b7f991c1522cf9c43fc005ee"><td class="memItemLeft" align="right" valign="top">armnnSerializer::OutputShapeRounding </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#aa5f62540b7f991c1522cf9c43fc005ee">GetFlatBufferOutputShapeRounding</a> (<a class="el" href="namespacearmnn.xhtml#adf2e5515c4c36a3e7e46bb8b83c6754e">armnn::OutputShapeRounding</a> outputShapeRounding)</td></tr> |
| 139 | <tr class="separator:aa5f62540b7f991c1522cf9c43fc005ee"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | <tr class="memitem:a30eb1e8d2a9b090243c4ededa17746b7"><td class="memItemLeft" align="right" valign="top">armnnSerializer::PaddingMethod </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#a30eb1e8d2a9b090243c4ededa17746b7">GetFlatBufferPaddingMethod</a> (<a class="el" href="namespacearmnn.xhtml#a3888429b6ebc79f9a7df549e5e4d9a2f">armnn::PaddingMethod</a> paddingMethod)</td></tr> |
| 141 | <tr class="separator:a30eb1e8d2a9b090243c4ededa17746b7"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | <tr class="memitem:af279947f1e42035d0f611e5b8cd70cb2"><td class="memItemLeft" align="right" valign="top">armnnSerializer::NormalizationAlgorithmChannel </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#af279947f1e42035d0f611e5b8cd70cb2">GetFlatBufferNormalizationAlgorithmChannel</a> (<a class="el" href="namespacearmnn.xhtml#abe18a5033f2ab9c0de82c676b48f5437">armnn::NormalizationAlgorithmChannel</a> normalizationAlgorithmChannel)</td></tr> |
| 143 | <tr class="separator:af279947f1e42035d0f611e5b8cd70cb2"><td class="memSeparator" colspan="2"> </td></tr> |
| 144 | <tr class="memitem:ac813f02c91c348db92b5a40ecfa0135e"><td class="memItemLeft" align="right" valign="top">armnnSerializer::NormalizationAlgorithmMethod </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#ac813f02c91c348db92b5a40ecfa0135e">GetFlatBufferNormalizationAlgorithmMethod</a> (<a class="el" href="namespacearmnn.xhtml#ad605d1661fa0d8c7fea651d82fbe11c9">armnn::NormalizationAlgorithmMethod</a> normalizationAlgorithmMethod)</td></tr> |
| 145 | <tr class="separator:ac813f02c91c348db92b5a40ecfa0135e"><td class="memSeparator" colspan="2"> </td></tr> |
| 146 | <tr class="memitem:a255a85366167a060a9e33ce2378f28a0"><td class="memItemLeft" align="right" valign="top">armnnSerializer::ResizeMethod </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_serializer.xhtml#a255a85366167a060a9e33ce2378f28a0">GetFlatBufferResizeMethod</a> (<a class="el" href="namespacearmnn.xhtml#a9a2af2f8c4af4f9efa8e79417d505ac4">armnn::ResizeMethod</a> method)</td></tr> |
| 147 | <tr class="separator:a255a85366167a060a9e33ce2378f28a0"><td class="memSeparator" colspan="2"> </td></tr> |
| 148 | </table> |
| 149 | <h2 class="groupheader">Typedef Documentation</h2> |
| 150 | <a id="a550a83250b3ddebf15d5c13c224e3609"></a> |
| 151 | <h2 class="memtitle"><span class="permalink"><a href="#a550a83250b3ddebf15d5c13c224e3609">◆ </a></span>ISerializerPtr</h2> |
| 152 | |
| 153 | <div class="memitem"> |
| 154 | <div class="memproto"> |
| 155 | <table class="memname"> |
| 156 | <tr> |
| 157 | <td class="memname">using <a class="el" href="namespacearmnn_serializer.xhtml#a550a83250b3ddebf15d5c13c224e3609">ISerializerPtr</a> = std::unique_ptr<<a class="el" href="classarmnn_serializer_1_1_i_serializer.xhtml">ISerializer</a>, void(*)(<a class="el" href="classarmnn_serializer_1_1_i_serializer.xhtml">ISerializer</a>* serializer)></td> |
| 158 | </tr> |
| 159 | </table> |
| 160 | </div><div class="memdoc"> |
| 161 | |
| 162 | <p class="definition">Definition at line <a class="el" href="_i_serializer_8hpp_source.xhtml#l00015">15</a> of file <a class="el" href="_i_serializer_8hpp_source.xhtml">ISerializer.hpp</a>.</p> |
| 163 | |
| 164 | </div> |
| 165 | </div> |
| 166 | <h2 class="groupheader">Function Documentation</h2> |
| 167 | <a id="aac3bf4453f8a909ca23f290089df8ff1"></a> |
| 168 | <h2 class="memtitle"><span class="permalink"><a href="#aac3bf4453f8a909ca23f290089df8ff1">◆ </a></span>GetFlatBufferActivationFunction()</h2> |
| 169 | |
| 170 | <div class="memitem"> |
| 171 | <div class="memproto"> |
| 172 | <table class="memname"> |
| 173 | <tr> |
| 174 | <td class="memname">serializer::ActivationFunction armnnSerializer::GetFlatBufferActivationFunction </td> |
| 175 | <td>(</td> |
| 176 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9ea">armnn::ActivationFunction</a> </td> |
| 177 | <td class="paramname"><em>function</em></td><td>)</td> |
| 178 | <td></td> |
| 179 | </tr> |
| 180 | </table> |
| 181 | </div><div class="memdoc"> |
| 182 | |
| 183 | <p class="definition">Definition at line <a class="el" href="_serializer_8cpp_source.xhtml#l00027">27</a> of file <a class="el" href="_serializer_8cpp_source.xhtml">Serializer.cpp</a>.</p> |
| 184 | |
| 185 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::Abs</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d">armnn::BoundedReLu</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaed67cf7d54c570e4c4891800f085f41d">armnn::Elu</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa0877e5b3fbe9d7569df6399609ed0186">armnn::HardSwish</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaacb7667f5ec2f6e8a5943b781ba6c2735">armnn::LeakyReLu</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa32a843da6ea40ab3b17a3421ccdf671b">armnn::Linear</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa3d90c0a5ab3fcf8e6f6608cb3d3a1559">armnn::ReLu</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa21eebb164e4b8b9bcf64fdb4d8d5dff4">armnn::Sigmoid</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaae77f3ad25595e35b327334d89410054">armnn::Sqrt</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaceb46ca115d05c51aa5a16a8867c3304">armnn::Square</a>, and <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa23b68da1de2b77d74da9da2635722a3e">armnn::TanH</a>.</p> |
| 186 | |
| 187 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l00139">SerializerVisitor::VisitActivationLayer()</a>.</p> |
| 188 | <div class="fragment"><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">switch</span> (<span class="keyword">function</span>)</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa21eebb164e4b8b9bcf64fdb4d8d5dff4">armnn::ActivationFunction::Sigmoid</a>:</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_Sigmoid;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa23b68da1de2b77d74da9da2635722a3e">armnn::ActivationFunction::TanH</a>:</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_TanH;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa32a843da6ea40ab3b17a3421ccdf671b">armnn::ActivationFunction::Linear</a>:</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_Linear;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa3d90c0a5ab3fcf8e6f6608cb3d3a1559">armnn::ActivationFunction::ReLu</a>:</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_ReLu;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d">armnn::ActivationFunction::BoundedReLu</a>:</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_BoundedReLu;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaacb7667f5ec2f6e8a5943b781ba6c2735">armnn::ActivationFunction::LeakyReLu</a>:</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_LeakyReLu;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::ActivationFunction::Abs</a>:</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_Abs;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaae77f3ad25595e35b327334d89410054">armnn::ActivationFunction::Sqrt</a>:</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_Sqrt;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaceb46ca115d05c51aa5a16a8867c3304">armnn::ActivationFunction::Square</a>:</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_Square;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaed67cf7d54c570e4c4891800f085f41d">armnn::ActivationFunction::Elu</a>:</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_Elu;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa0877e5b3fbe9d7569df6399609ed0186">armnn::ActivationFunction::HardSwish</a>:</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_HardSwish;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> serializer::ActivationFunction::ActivationFunction_Sigmoid;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa3d90c0a5ab3fcf8e6f6608cb3d3a1559"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa3d90c0a5ab3fcf8e6f6608cb3d3a1559">armnn::ActivationFunction::ReLu</a></div></div> |
| 189 | <div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaaae77f3ad25595e35b327334d89410054"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaae77f3ad25595e35b327334d89410054">armnn::ActivationFunction::Sqrt</a></div></div> |
| 190 | <div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaacb7667f5ec2f6e8a5943b781ba6c2735"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaacb7667f5ec2f6e8a5943b781ba6c2735">armnn::ActivationFunction::LeakyReLu</a></div></div> |
| 191 | <div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::ActivationFunction::Abs</a></div></div> |
| 192 | <div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa21eebb164e4b8b9bcf64fdb4d8d5dff4"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa21eebb164e4b8b9bcf64fdb4d8d5dff4">armnn::ActivationFunction::Sigmoid</a></div></div> |
| 193 | <div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d">armnn::ActivationFunction::BoundedReLu</a></div><div class="ttdoc">min(a, max(b, input)) ReLu1 & ReLu6. </div></div> |
| 194 | <div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaaed67cf7d54c570e4c4891800f085f41d"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaed67cf7d54c570e4c4891800f085f41d">armnn::ActivationFunction::Elu</a></div></div> |
| 195 | <div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaaceb46ca115d05c51aa5a16a8867c3304"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaceb46ca115d05c51aa5a16a8867c3304">armnn::ActivationFunction::Square</a></div></div> |
| 196 | <div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa32a843da6ea40ab3b17a3421ccdf671b"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa32a843da6ea40ab3b17a3421ccdf671b">armnn::ActivationFunction::Linear</a></div></div> |
| 197 | <div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa0877e5b3fbe9d7569df6399609ed0186"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa0877e5b3fbe9d7569df6399609ed0186">armnn::ActivationFunction::HardSwish</a></div></div> |
| 198 | <div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa23b68da1de2b77d74da9da2635722a3e"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa23b68da1de2b77d74da9da2635722a3e">armnn::ActivationFunction::TanH</a></div></div> |
| 199 | </div><!-- fragment --> |
| 200 | </div> |
| 201 | </div> |
| 202 | <a id="a6fcb1eefde815b0b7465a689c8d26b50"></a> |
| 203 | <h2 class="memtitle"><span class="permalink"><a href="#a6fcb1eefde815b0b7465a689c8d26b50">◆ </a></span>GetFlatBufferArgMinMaxFunction()</h2> |
| 204 | |
| 205 | <div class="memitem"> |
| 206 | <div class="memproto"> |
| 207 | <table class="memname"> |
| 208 | <tr> |
| 209 | <td class="memname">serializer::ArgMinMaxFunction armnnSerializer::GetFlatBufferArgMinMaxFunction </td> |
| 210 | <td>(</td> |
| 211 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#ae7e8cbf71db6a490789ca6dcaa8deeae">armnn::ArgMinMaxFunction</a> </td> |
| 212 | <td class="paramname"><em>function</em></td><td>)</td> |
| 213 | <td></td> |
| 214 | </tr> |
| 215 | </table> |
| 216 | </div><div class="memdoc"> |
| 217 | |
| 218 | <p class="definition">Definition at line <a class="el" href="_serializer_8cpp_source.xhtml#l00058">58</a> of file <a class="el" href="_serializer_8cpp_source.xhtml">Serializer.cpp</a>.</p> |
| 219 | |
| 220 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#ae7e8cbf71db6a490789ca6dcaa8deeaea6a061313d22e51e0f25b7cd4dc065233">armnn::Max</a>, and <a class="el" href="namespacearmnn.xhtml#ae7e8cbf71db6a490789ca6dcaa8deeaea78d811e98514cd165dda532286610fd2">armnn::Min</a>.</p> |
| 221 | |
| 222 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l00179">SerializerVisitor::VisitArgMinMaxLayer()</a>.</p> |
| 223 | <div class="fragment"><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">switch</span> (<span class="keyword">function</span>)</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ae7e8cbf71db6a490789ca6dcaa8deeaea6a061313d22e51e0f25b7cd4dc065233">armnn::ArgMinMaxFunction::Max</a>:</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> serializer::ArgMinMaxFunction::ArgMinMaxFunction_Max;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ae7e8cbf71db6a490789ca6dcaa8deeaea78d811e98514cd165dda532286610fd2">armnn::ArgMinMaxFunction::Min</a>:</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">return</span> serializer::ArgMinMaxFunction::ArgMinMaxFunction_Min;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  }</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> }</div><div class="ttc" id="namespacearmnn_xhtml_ae7e8cbf71db6a490789ca6dcaa8deeaea6a061313d22e51e0f25b7cd4dc065233"><div class="ttname"><a href="namespacearmnn.xhtml#ae7e8cbf71db6a490789ca6dcaa8deeaea6a061313d22e51e0f25b7cd4dc065233">armnn::ArgMinMaxFunction::Max</a></div></div> |
| 224 | <div class="ttc" id="namespacearmnn_xhtml_ae7e8cbf71db6a490789ca6dcaa8deeaea78d811e98514cd165dda532286610fd2"><div class="ttname"><a href="namespacearmnn.xhtml#ae7e8cbf71db6a490789ca6dcaa8deeaea78d811e98514cd165dda532286610fd2">armnn::ArgMinMaxFunction::Min</a></div></div> |
| 225 | </div><!-- fragment --> |
| 226 | </div> |
| 227 | </div> |
| 228 | <a id="a1c88cccaeb232c6fe8022c7006bb21bc"></a> |
| 229 | <h2 class="memtitle"><span class="permalink"><a href="#a1c88cccaeb232c6fe8022c7006bb21bc">◆ </a></span>GetFlatBufferComparisonOperation()</h2> |
| 230 | |
| 231 | <div class="memitem"> |
| 232 | <div class="memproto"> |
| 233 | <table class="memname"> |
| 234 | <tr> |
| 235 | <td class="memname">armnnSerializer::ComparisonOperation GetFlatBufferComparisonOperation </td> |
| 236 | <td>(</td> |
| 237 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58c">armnn::ComparisonOperation</a> </td> |
| 238 | <td class="paramname"><em>comparisonOperation</em></td><td>)</td> |
| 239 | <td></td> |
| 240 | </tr> |
| 241 | </table> |
| 242 | </div><div class="memdoc"> |
| 243 | |
| 244 | <p class="definition">Definition at line <a class="el" href="_serializer_utils_8cpp_source.xhtml#l00011">11</a> of file <a class="el" href="_serializer_utils_8cpp_source.xhtml">SerializerUtils.cpp</a>.</p> |
| 245 | |
| 246 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58caf5f286e73bda105e538310b3190f75c5">armnn::Equal</a>, <a class="el" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca8768a6821cd735aea4f5b0df88c1fc6a">armnn::Greater</a>, <a class="el" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca6f2f0aefb3d22da0f3839453add5f937">armnn::GreaterOrEqual</a>, <a class="el" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca1cfdf0e8d0c87a228c1f40d9bee7888b">armnn::Less</a>, <a class="el" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58caa4cbdbb6070a5abb35fc95ecf1e22c14">armnn::LessOrEqual</a>, and <a class="el" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca19bb0af2c3c530538cb41aff7f235b96">armnn::NotEqual</a>.</p> |
| 247 | |
| 248 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l00263">SerializerVisitor::VisitComparisonLayer()</a>.</p> |
| 249 | <div class="fragment"><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> {</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="keywordflow">switch</span> (comparisonOperation)</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58caf5f286e73bda105e538310b3190f75c5">armnn::ComparisonOperation::Equal</a>:</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keywordflow">return</span> armnnSerializer::ComparisonOperation::ComparisonOperation_Equal;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca8768a6821cd735aea4f5b0df88c1fc6a">armnn::ComparisonOperation::Greater</a>:</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keywordflow">return</span> armnnSerializer::ComparisonOperation::ComparisonOperation_Greater;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca6f2f0aefb3d22da0f3839453add5f937">armnn::ComparisonOperation::GreaterOrEqual</a>:</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keywordflow">return</span> armnnSerializer::ComparisonOperation::ComparisonOperation_GreaterOrEqual;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca1cfdf0e8d0c87a228c1f40d9bee7888b">armnn::ComparisonOperation::Less</a>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordflow">return</span> armnnSerializer::ComparisonOperation::ComparisonOperation_Less;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58caa4cbdbb6070a5abb35fc95ecf1e22c14">armnn::ComparisonOperation::LessOrEqual</a>:</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordflow">return</span> armnnSerializer::ComparisonOperation::ComparisonOperation_LessOrEqual;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca19bb0af2c3c530538cb41aff7f235b96">armnn::ComparisonOperation::NotEqual</a>:</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordflow">return</span> armnnSerializer::ComparisonOperation::ComparisonOperation_NotEqual;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a2d299363c9fc33334c571fa29ca4f58ca8768a6821cd735aea4f5b0df88c1fc6a"><div class="ttname"><a href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca8768a6821cd735aea4f5b0df88c1fc6a">armnn::ComparisonOperation::Greater</a></div></div> |
| 250 | <div class="ttc" id="namespacearmnn_xhtml_a2d299363c9fc33334c571fa29ca4f58caf5f286e73bda105e538310b3190f75c5"><div class="ttname"><a href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58caf5f286e73bda105e538310b3190f75c5">armnn::ComparisonOperation::Equal</a></div></div> |
| 251 | <div class="ttc" id="namespacearmnn_xhtml_a2d299363c9fc33334c571fa29ca4f58ca1cfdf0e8d0c87a228c1f40d9bee7888b"><div class="ttname"><a href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca1cfdf0e8d0c87a228c1f40d9bee7888b">armnn::ComparisonOperation::Less</a></div></div> |
| 252 | <div class="ttc" id="namespacearmnn_xhtml_a2d299363c9fc33334c571fa29ca4f58ca19bb0af2c3c530538cb41aff7f235b96"><div class="ttname"><a href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca19bb0af2c3c530538cb41aff7f235b96">armnn::ComparisonOperation::NotEqual</a></div></div> |
| 253 | <div class="ttc" id="namespacearmnn_xhtml_a2d299363c9fc33334c571fa29ca4f58caa4cbdbb6070a5abb35fc95ecf1e22c14"><div class="ttname"><a href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58caa4cbdbb6070a5abb35fc95ecf1e22c14">armnn::ComparisonOperation::LessOrEqual</a></div></div> |
| 254 | <div class="ttc" id="namespacearmnn_xhtml_a2d299363c9fc33334c571fa29ca4f58ca6f2f0aefb3d22da0f3839453add5f937"><div class="ttname"><a href="namespacearmnn.xhtml#a2d299363c9fc33334c571fa29ca4f58ca6f2f0aefb3d22da0f3839453add5f937">armnn::ComparisonOperation::GreaterOrEqual</a></div></div> |
| 255 | </div><!-- fragment --> |
| 256 | </div> |
| 257 | </div> |
| 258 | <a id="af7a4f31739f602d7d78a056ebed19d04"></a> |
| 259 | <h2 class="memtitle"><span class="permalink"><a href="#af7a4f31739f602d7d78a056ebed19d04">◆ </a></span>GetFlatBufferConstTensorData()</h2> |
| 260 | |
| 261 | <div class="memitem"> |
| 262 | <div class="memproto"> |
| 263 | <table class="memname"> |
| 264 | <tr> |
| 265 | <td class="memname">armnnSerializer::ConstTensorData GetFlatBufferConstTensorData </td> |
| 266 | <td>(</td> |
| 267 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> </td> |
| 268 | <td class="paramname"><em>dataType</em></td><td>)</td> |
| 269 | <td></td> |
| 270 | </tr> |
| 271 | </table> |
| 272 | </div><div class="memdoc"> |
| 273 | |
| 274 | <p class="definition">Definition at line <a class="el" href="_serializer_utils_8cpp_source.xhtml#l00031">31</a> of file <a class="el" href="_serializer_utils_8cpp_source.xhtml">SerializerUtils.cpp</a>.</p> |
| 275 | |
| 276 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a27226c864bac7454a8504f8edb15d95b">armnn::Boolean</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::QAsymmU8</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::QSymmS16</a>, and <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7">armnn::Signed32</a>.</p> |
| 277 | |
| 278 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l01333">SerializerVisitor::VisitQuantizedLstmLayer()</a>.</p> |
| 279 | <div class="fragment"><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">switch</span> (dataType)</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>:</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7">armnn::DataType::Signed32</a>:</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">return</span> armnnSerializer::ConstTensorData::ConstTensorData_IntData;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>:</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>:</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">return</span> armnnSerializer::ConstTensorData::ConstTensorData_ShortData;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>:</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a27226c864bac7454a8504f8edb15d95b">armnn::DataType::Boolean</a>:</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">return</span> armnnSerializer::ConstTensorData::ConstTensorData_ByteData;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordflow">return</span> armnnSerializer::ConstTensorData::ConstTensorData_NONE;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  }</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> }</div><div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a27226c864bac7454a8504f8edb15d95b"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a27226c864bac7454a8504f8edb15d95b">armnn::DataType::Boolean</a></div></div> |
| 280 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7">armnn::DataType::Signed32</a></div></div> |
| 281 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a></div></div> |
| 282 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a></div></div> |
| 283 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 284 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 285 | </div><!-- fragment --> |
| 286 | </div> |
| 287 | </div> |
| 288 | <a id="a6a38e099993f10c9262e0b5f2bff4fcd"></a> |
| 289 | <h2 class="memtitle"><span class="permalink"><a href="#a6a38e099993f10c9262e0b5f2bff4fcd">◆ </a></span>GetFlatBufferDataLayout()</h2> |
| 290 | |
| 291 | <div class="memitem"> |
| 292 | <div class="memproto"> |
| 293 | <table class="memname"> |
| 294 | <tr> |
| 295 | <td class="memname">armnnSerializer::DataLayout GetFlatBufferDataLayout </td> |
| 296 | <td>(</td> |
| 297 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 298 | <td class="paramname"><em>dataLayout</em></td><td>)</td> |
| 299 | <td></td> |
| 300 | </tr> |
| 301 | </table> |
| 302 | </div><div class="memdoc"> |
| 303 | |
| 304 | <p class="definition">Definition at line <a class="el" href="_serializer_utils_8cpp_source.xhtml#l00072">72</a> of file <a class="el" href="_serializer_utils_8cpp_source.xhtml">SerializerUtils.cpp</a>.</p> |
| 305 | |
| 306 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0a6b99f356fe3b30a2a850b5ea897c289f">armnn::NCHW</a>, and <a class="el" href="namespacearmnn.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0ad066db54b89b0912e7e7c6da51e2da51">armnn::NHWC</a>.</p> |
| 307 | |
| 308 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l00232">SerializerVisitor::VisitBatchNormalizationLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00202">SerializerVisitor::VisitBatchToSpaceNdLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00300">SerializerVisitor::VisitConvolution2dLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00341">SerializerVisitor::VisitDepthToSpaceLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00357">SerializerVisitor::VisitDepthwiseConvolution2dLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00501">SerializerVisitor::VisitInstanceNormalizationLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00521">SerializerVisitor::VisitL2NormalizationLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l01158">SerializerVisitor::VisitNormalizationLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00947">SerializerVisitor::VisitPooling2dLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00855">SerializerVisitor::VisitResizeBilinearLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00876">SerializerVisitor::VisitResizeLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l01041">SerializerVisitor::VisitSpaceToBatchNdLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l01072">SerializerVisitor::VisitSpaceToDepthLayer()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l01222">SerializerVisitor::VisitStridedSliceLayer()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l01269">SerializerVisitor::VisitTransposeConvolution2dLayer()</a>.</p> |
| 309 | <div class="fragment"><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> {</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">switch</span> (dataLayout)</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  {</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0ad066db54b89b0912e7e7c6da51e2da51">armnn::DataLayout::NHWC</a>:</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> armnnSerializer::DataLayout::DataLayout_NHWC;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0a6b99f356fe3b30a2a850b5ea897c289f">armnn::DataLayout::NCHW</a>:</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">return</span> armnnSerializer::DataLayout::DataLayout_NCHW;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> }</div><div class="ttc" id="namespacearmnn_xhtml_ad1d5cce2d9e9a5d61c243e5c989112e0a6b99f356fe3b30a2a850b5ea897c289f"><div class="ttname"><a href="namespacearmnn.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0a6b99f356fe3b30a2a850b5ea897c289f">armnn::DataLayout::NCHW</a></div></div> |
| 310 | <div class="ttc" id="namespacearmnn_xhtml_ad1d5cce2d9e9a5d61c243e5c989112e0ad066db54b89b0912e7e7c6da51e2da51"><div class="ttname"><a href="namespacearmnn.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0ad066db54b89b0912e7e7c6da51e2da51">armnn::DataLayout::NHWC</a></div></div> |
| 311 | </div><!-- fragment --> |
| 312 | </div> |
| 313 | </div> |
| 314 | <a id="a27876085f01a54e1995bc0b3ea96ce41"></a> |
| 315 | <h2 class="memtitle"><span class="permalink"><a href="#a27876085f01a54e1995bc0b3ea96ce41">◆ </a></span>GetFlatBufferDataType()</h2> |
| 316 | |
| 317 | <div class="memitem"> |
| 318 | <div class="memproto"> |
| 319 | <table class="memname"> |
| 320 | <tr> |
| 321 | <td class="memname">armnnSerializer::DataType GetFlatBufferDataType </td> |
| 322 | <td>(</td> |
| 323 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> </td> |
| 324 | <td class="paramname"><em>dataType</em></td><td>)</td> |
| 325 | <td></td> |
| 326 | </tr> |
| 327 | </table> |
| 328 | </div><div class="memdoc"> |
| 329 | |
| 330 | <p class="definition">Definition at line <a class="el" href="_serializer_utils_8cpp_source.xhtml#l00049">49</a> of file <a class="el" href="_serializer_utils_8cpp_source.xhtml">SerializerUtils.cpp</a>.</p> |
| 331 | |
| 332 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a27226c864bac7454a8504f8edb15d95b">armnn::Boolean</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a9d02ea768c081d4bdb2b7cab0b3f510d">armnn::QAsymmS8</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::QAsymmU8</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::QSymmS16</a>, and <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7">armnn::Signed32</a>.</p> |
| 333 | |
| 334 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l01483">SerializerVisitor::GetVersionTable()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l01333">SerializerVisitor::VisitQuantizedLstmLayer()</a>.</p> |
| 335 | <div class="fragment"><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordflow">switch</span> (dataType)</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>:</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> armnnSerializer::DataType::DataType_Float32;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>:</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">return</span> armnnSerializer::DataType::DataType_Float16;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7">armnn::DataType::Signed32</a>:</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">return</span> armnnSerializer::DataType::DataType_Signed32;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>:</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">return</span> armnnSerializer::DataType::DataType_QSymmS16;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a9d02ea768c081d4bdb2b7cab0b3f510d">armnn::DataType::QAsymmS8</a>:</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">return</span> armnnSerializer::DataType::DataType_QAsymmS8;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>:</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">return</span> armnnSerializer::DataType::DataType_QAsymmU8;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a27226c864bac7454a8504f8edb15d95b">armnn::DataType::Boolean</a>:</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">return</span> armnnSerializer::DataType::DataType_Boolean;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> armnnSerializer::DataType::DataType_Float16;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  }</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> }</div><div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a27226c864bac7454a8504f8edb15d95b"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a27226c864bac7454a8504f8edb15d95b">armnn::DataType::Boolean</a></div></div> |
| 336 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7">armnn::DataType::Signed32</a></div></div> |
| 337 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a9d02ea768c081d4bdb2b7cab0b3f510d"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a9d02ea768c081d4bdb2b7cab0b3f510d">armnn::DataType::QAsymmS8</a></div></div> |
| 338 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a></div></div> |
| 339 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a></div></div> |
| 340 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 341 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 342 | </div><!-- fragment --> |
| 343 | </div> |
| 344 | </div> |
| 345 | <a id="af279947f1e42035d0f611e5b8cd70cb2"></a> |
| 346 | <h2 class="memtitle"><span class="permalink"><a href="#af279947f1e42035d0f611e5b8cd70cb2">◆ </a></span>GetFlatBufferNormalizationAlgorithmChannel()</h2> |
| 347 | |
| 348 | <div class="memitem"> |
| 349 | <div class="memproto"> |
| 350 | <table class="memname"> |
| 351 | <tr> |
| 352 | <td class="memname">armnnSerializer::NormalizationAlgorithmChannel GetFlatBufferNormalizationAlgorithmChannel </td> |
| 353 | <td>(</td> |
| 354 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#abe18a5033f2ab9c0de82c676b48f5437">armnn::NormalizationAlgorithmChannel</a> </td> |
| 355 | <td class="paramname"><em>normalizationAlgorithmChannel</em></td><td>)</td> |
| 356 | <td></td> |
| 357 | </tr> |
| 358 | </table> |
| 359 | </div><div class="memdoc"> |
| 360 | |
| 361 | <p class="definition">Definition at line <a class="el" href="_serializer_utils_8cpp_source.xhtml#l00141">141</a> of file <a class="el" href="_serializer_utils_8cpp_source.xhtml">SerializerUtils.cpp</a>.</p> |
| 362 | |
| 363 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#abe18a5033f2ab9c0de82c676b48f5437a810f43f3996922151c39b76143faeecc">armnn::Across</a>, and <a class="el" href="namespacearmnn.xhtml#abe18a5033f2ab9c0de82c676b48f5437a37bac6dce4f46277d89bfa3003e2e39b">armnn::Within</a>.</p> |
| 364 | |
| 365 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l01158">SerializerVisitor::VisitNormalizationLayer()</a>.</p> |
| 366 | <div class="fragment"><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> {</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">switch</span> (normalizationAlgorithmChannel)</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#abe18a5033f2ab9c0de82c676b48f5437a810f43f3996922151c39b76143faeecc">armnn::NormalizationAlgorithmChannel::Across</a>:</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmChannel::NormalizationAlgorithmChannel_Across;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#abe18a5033f2ab9c0de82c676b48f5437a37bac6dce4f46277d89bfa3003e2e39b">armnn::NormalizationAlgorithmChannel::Within</a>:</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmChannel::NormalizationAlgorithmChannel_Within;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmChannel::NormalizationAlgorithmChannel_Across;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  }</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> }</div><div class="ttc" id="namespacearmnn_xhtml_abe18a5033f2ab9c0de82c676b48f5437a37bac6dce4f46277d89bfa3003e2e39b"><div class="ttname"><a href="namespacearmnn.xhtml#abe18a5033f2ab9c0de82c676b48f5437a37bac6dce4f46277d89bfa3003e2e39b">armnn::NormalizationAlgorithmChannel::Within</a></div></div> |
| 367 | <div class="ttc" id="namespacearmnn_xhtml_abe18a5033f2ab9c0de82c676b48f5437a810f43f3996922151c39b76143faeecc"><div class="ttname"><a href="namespacearmnn.xhtml#abe18a5033f2ab9c0de82c676b48f5437a810f43f3996922151c39b76143faeecc">armnn::NormalizationAlgorithmChannel::Across</a></div></div> |
| 368 | </div><!-- fragment --> |
| 369 | </div> |
| 370 | </div> |
| 371 | <a id="ac813f02c91c348db92b5a40ecfa0135e"></a> |
| 372 | <h2 class="memtitle"><span class="permalink"><a href="#ac813f02c91c348db92b5a40ecfa0135e">◆ </a></span>GetFlatBufferNormalizationAlgorithmMethod()</h2> |
| 373 | |
| 374 | <div class="memitem"> |
| 375 | <div class="memproto"> |
| 376 | <table class="memname"> |
| 377 | <tr> |
| 378 | <td class="memname">armnnSerializer::NormalizationAlgorithmMethod GetFlatBufferNormalizationAlgorithmMethod </td> |
| 379 | <td>(</td> |
| 380 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#ad605d1661fa0d8c7fea651d82fbe11c9">armnn::NormalizationAlgorithmMethod</a> </td> |
| 381 | <td class="paramname"><em>normalizationAlgorithmMethod</em></td><td>)</td> |
| 382 | <td></td> |
| 383 | </tr> |
| 384 | </table> |
| 385 | </div><div class="memdoc"> |
| 386 | |
| 387 | <p class="definition">Definition at line <a class="el" href="_serializer_utils_8cpp_source.xhtml#l00155">155</a> of file <a class="el" href="_serializer_utils_8cpp_source.xhtml">SerializerUtils.cpp</a>.</p> |
| 388 | |
| 389 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#ad605d1661fa0d8c7fea651d82fbe11c9ac65d2e51c610dd3853a3c777aa8bfe9d">armnn::LocalBrightness</a>, and <a class="el" href="namespacearmnn.xhtml#ad605d1661fa0d8c7fea651d82fbe11c9aa94d2fcabc6b001015aeddfa19266e6f">armnn::LocalContrast</a>.</p> |
| 390 | |
| 391 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l01158">SerializerVisitor::VisitNormalizationLayer()</a>.</p> |
| 392 | <div class="fragment"><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> {</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">switch</span> (normalizationAlgorithmMethod)</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>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad605d1661fa0d8c7fea651d82fbe11c9ac65d2e51c610dd3853a3c777aa8bfe9d">armnn::NormalizationAlgorithmMethod::LocalBrightness</a>:</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmMethod::NormalizationAlgorithmMethod_LocalBrightness;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#ad605d1661fa0d8c7fea651d82fbe11c9aa94d2fcabc6b001015aeddfa19266e6f">armnn::NormalizationAlgorithmMethod::LocalContrast</a>:</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmMethod::NormalizationAlgorithmMethod_LocalContrast;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmMethod::NormalizationAlgorithmMethod_LocalBrightness;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  }</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> }</div><div class="ttc" id="namespacearmnn_xhtml_ad605d1661fa0d8c7fea651d82fbe11c9aa94d2fcabc6b001015aeddfa19266e6f"><div class="ttname"><a href="namespacearmnn.xhtml#ad605d1661fa0d8c7fea651d82fbe11c9aa94d2fcabc6b001015aeddfa19266e6f">armnn::NormalizationAlgorithmMethod::LocalContrast</a></div><div class="ttdoc">Jarret 2009: Local Contrast Normalization. </div></div> |
| 393 | <div class="ttc" id="namespacearmnn_xhtml_ad605d1661fa0d8c7fea651d82fbe11c9ac65d2e51c610dd3853a3c777aa8bfe9d"><div class="ttname"><a href="namespacearmnn.xhtml#ad605d1661fa0d8c7fea651d82fbe11c9ac65d2e51c610dd3853a3c777aa8bfe9d">armnn::NormalizationAlgorithmMethod::LocalBrightness</a></div><div class="ttdoc">Krichevsky 2012: Local Brightness Normalization. </div></div> |
| 394 | </div><!-- fragment --> |
| 395 | </div> |
| 396 | </div> |
| 397 | <a id="aa5f62540b7f991c1522cf9c43fc005ee"></a> |
| 398 | <h2 class="memtitle"><span class="permalink"><a href="#aa5f62540b7f991c1522cf9c43fc005ee">◆ </a></span>GetFlatBufferOutputShapeRounding()</h2> |
| 399 | |
| 400 | <div class="memitem"> |
| 401 | <div class="memproto"> |
| 402 | <table class="memname"> |
| 403 | <tr> |
| 404 | <td class="memname">armnnSerializer::OutputShapeRounding GetFlatBufferOutputShapeRounding </td> |
| 405 | <td>(</td> |
| 406 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#adf2e5515c4c36a3e7e46bb8b83c6754e">armnn::OutputShapeRounding</a> </td> |
| 407 | <td class="paramname"><em>outputShapeRounding</em></td><td>)</td> |
| 408 | <td></td> |
| 409 | </tr> |
| 410 | </table> |
| 411 | </div><div class="memdoc"> |
| 412 | |
| 413 | <p class="definition">Definition at line <a class="el" href="_serializer_utils_8cpp_source.xhtml#l00117">117</a> of file <a class="el" href="_serializer_utils_8cpp_source.xhtml">SerializerUtils.cpp</a>.</p> |
| 414 | |
| 415 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#adf2e5515c4c36a3e7e46bb8b83c6754ea3237fbc8204064c106cb9080088a17cb">armnn::Ceiling</a>, and <a class="el" href="namespacearmnn.xhtml#adf2e5515c4c36a3e7e46bb8b83c6754eaf3f6d0343d56ce88ce7958170ed05cb3">armnn::Floor</a>.</p> |
| 416 | |
| 417 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l00947">SerializerVisitor::VisitPooling2dLayer()</a>.</p> |
| 418 | <div class="fragment"><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> {</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">switch</span> (outputShapeRounding)</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  {</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#adf2e5515c4c36a3e7e46bb8b83c6754ea3237fbc8204064c106cb9080088a17cb">armnn::OutputShapeRounding::Ceiling</a>:</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">return</span> armnnSerializer::OutputShapeRounding::OutputShapeRounding_Ceiling;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#adf2e5515c4c36a3e7e46bb8b83c6754eaf3f6d0343d56ce88ce7958170ed05cb3">armnn::OutputShapeRounding::Floor</a>:</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">return</span> armnnSerializer::OutputShapeRounding::OutputShapeRounding_Floor;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  }</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> }</div><div class="ttc" id="namespacearmnn_xhtml_adf2e5515c4c36a3e7e46bb8b83c6754ea3237fbc8204064c106cb9080088a17cb"><div class="ttname"><a href="namespacearmnn.xhtml#adf2e5515c4c36a3e7e46bb8b83c6754ea3237fbc8204064c106cb9080088a17cb">armnn::OutputShapeRounding::Ceiling</a></div></div> |
| 419 | <div class="ttc" id="namespacearmnn_xhtml_adf2e5515c4c36a3e7e46bb8b83c6754eaf3f6d0343d56ce88ce7958170ed05cb3"><div class="ttname"><a href="namespacearmnn.xhtml#adf2e5515c4c36a3e7e46bb8b83c6754eaf3f6d0343d56ce88ce7958170ed05cb3">armnn::OutputShapeRounding::Floor</a></div></div> |
| 420 | </div><!-- fragment --> |
| 421 | </div> |
| 422 | </div> |
| 423 | <a id="a30eb1e8d2a9b090243c4ededa17746b7"></a> |
| 424 | <h2 class="memtitle"><span class="permalink"><a href="#a30eb1e8d2a9b090243c4ededa17746b7">◆ </a></span>GetFlatBufferPaddingMethod()</h2> |
| 425 | |
| 426 | <div class="memitem"> |
| 427 | <div class="memproto"> |
| 428 | <table class="memname"> |
| 429 | <tr> |
| 430 | <td class="memname">armnnSerializer::PaddingMethod GetFlatBufferPaddingMethod </td> |
| 431 | <td>(</td> |
| 432 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#a3888429b6ebc79f9a7df549e5e4d9a2f">armnn::PaddingMethod</a> </td> |
| 433 | <td class="paramname"><em>paddingMethod</em></td><td>)</td> |
| 434 | <td></td> |
| 435 | </tr> |
| 436 | </table> |
| 437 | </div><div class="memdoc"> |
| 438 | |
| 439 | <p class="definition">Definition at line <a class="el" href="_serializer_utils_8cpp_source.xhtml#l00129">129</a> of file <a class="el" href="_serializer_utils_8cpp_source.xhtml">SerializerUtils.cpp</a>.</p> |
| 440 | |
| 441 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#a3888429b6ebc79f9a7df549e5e4d9a2fa843f2812f595e7ec7c5036e89fde02d6">armnn::Exclude</a>, and <a class="el" href="namespacearmnn.xhtml#a3888429b6ebc79f9a7df549e5e4d9a2faad301514192636ad34210adce598a45a">armnn::IgnoreValue</a>.</p> |
| 442 | |
| 443 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l00947">SerializerVisitor::VisitPooling2dLayer()</a>.</p> |
| 444 | <div class="fragment"><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">switch</span> (paddingMethod)</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  {</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a3888429b6ebc79f9a7df549e5e4d9a2faad301514192636ad34210adce598a45a">armnn::PaddingMethod::IgnoreValue</a>:</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">return</span> armnnSerializer::PaddingMethod::PaddingMethod_IgnoreValue;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a3888429b6ebc79f9a7df549e5e4d9a2fa843f2812f595e7ec7c5036e89fde02d6">armnn::PaddingMethod::Exclude</a>:</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">return</span> armnnSerializer::PaddingMethod::PaddingMethod_Exclude;</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_a3888429b6ebc79f9a7df549e5e4d9a2fa843f2812f595e7ec7c5036e89fde02d6"><div class="ttname"><a href="namespacearmnn.xhtml#a3888429b6ebc79f9a7df549e5e4d9a2fa843f2812f595e7ec7c5036e89fde02d6">armnn::PaddingMethod::Exclude</a></div><div class="ttdoc">The padding fields don&#39;t count and are ignored. </div></div> |
| 445 | <div class="ttc" id="namespacearmnn_xhtml_a3888429b6ebc79f9a7df549e5e4d9a2faad301514192636ad34210adce598a45a"><div class="ttname"><a href="namespacearmnn.xhtml#a3888429b6ebc79f9a7df549e5e4d9a2faad301514192636ad34210adce598a45a">armnn::PaddingMethod::IgnoreValue</a></div><div class="ttdoc">The padding fields count, but are ignored. </div></div> |
| 446 | </div><!-- fragment --> |
| 447 | </div> |
| 448 | </div> |
| 449 | <a id="ac2eceb2274af867d713fe44720fc2d4e"></a> |
| 450 | <h2 class="memtitle"><span class="permalink"><a href="#ac2eceb2274af867d713fe44720fc2d4e">◆ </a></span>GetFlatBufferPoolingAlgorithm()</h2> |
| 451 | |
| 452 | <div class="memitem"> |
| 453 | <div class="memproto"> |
| 454 | <table class="memname"> |
| 455 | <tr> |
| 456 | <td class="memname">armnnSerializer::PoolingAlgorithm GetFlatBufferPoolingAlgorithm </td> |
| 457 | <td>(</td> |
| 458 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#a961bbfe1db71a848eff5a1f0ab775718">armnn::PoolingAlgorithm</a> </td> |
| 459 | <td class="paramname"><em>poolingAlgorithm</em></td><td>)</td> |
| 460 | <td></td> |
| 461 | </tr> |
| 462 | </table> |
| 463 | </div><div class="memdoc"> |
| 464 | |
| 465 | <p class="definition">Definition at line <a class="el" href="_serializer_utils_8cpp_source.xhtml#l00103">103</a> of file <a class="el" href="_serializer_utils_8cpp_source.xhtml">SerializerUtils.cpp</a>.</p> |
| 466 | |
| 467 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#a961bbfe1db71a848eff5a1f0ab775718ab1897515d548a960afe49ecf66a29021">armnn::Average</a>, <a class="el" href="namespacearmnn.xhtml#a961bbfe1db71a848eff5a1f0ab775718a7e6aa2d53f6ee2b1a34b017fa403cb76">armnn::L2</a>, and <a class="el" href="namespacearmnn.xhtml#a961bbfe1db71a848eff5a1f0ab775718a6a061313d22e51e0f25b7cd4dc065233">armnn::Max</a>.</p> |
| 468 | |
| 469 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l00947">SerializerVisitor::VisitPooling2dLayer()</a>.</p> |
| 470 | <div class="fragment"><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> {</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">switch</span> (poolingAlgorithm)</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  {</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a961bbfe1db71a848eff5a1f0ab775718ab1897515d548a960afe49ecf66a29021">armnn::PoolingAlgorithm::Average</a>:</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">return</span> armnnSerializer::PoolingAlgorithm::PoolingAlgorithm_Average;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a961bbfe1db71a848eff5a1f0ab775718a7e6aa2d53f6ee2b1a34b017fa403cb76">armnn::PoolingAlgorithm::L2</a>:</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">return</span> armnnSerializer::PoolingAlgorithm::PoolingAlgorithm_L2;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a961bbfe1db71a848eff5a1f0ab775718a6a061313d22e51e0f25b7cd4dc065233">armnn::PoolingAlgorithm::Max</a>:</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">return</span> armnnSerializer::PoolingAlgorithm::PoolingAlgorithm_Max;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  }</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a961bbfe1db71a848eff5a1f0ab775718ab1897515d548a960afe49ecf66a29021"><div class="ttname"><a href="namespacearmnn.xhtml#a961bbfe1db71a848eff5a1f0ab775718ab1897515d548a960afe49ecf66a29021">armnn::PoolingAlgorithm::Average</a></div></div> |
| 471 | <div class="ttc" id="namespacearmnn_xhtml_a961bbfe1db71a848eff5a1f0ab775718a6a061313d22e51e0f25b7cd4dc065233"><div class="ttname"><a href="namespacearmnn.xhtml#a961bbfe1db71a848eff5a1f0ab775718a6a061313d22e51e0f25b7cd4dc065233">armnn::PoolingAlgorithm::Max</a></div></div> |
| 472 | <div class="ttc" id="namespacearmnn_xhtml_a961bbfe1db71a848eff5a1f0ab775718a7e6aa2d53f6ee2b1a34b017fa403cb76"><div class="ttname"><a href="namespacearmnn.xhtml#a961bbfe1db71a848eff5a1f0ab775718a7e6aa2d53f6ee2b1a34b017fa403cb76">armnn::PoolingAlgorithm::L2</a></div></div> |
| 473 | </div><!-- fragment --> |
| 474 | </div> |
| 475 | </div> |
| 476 | <a id="a255a85366167a060a9e33ce2378f28a0"></a> |
| 477 | <h2 class="memtitle"><span class="permalink"><a href="#a255a85366167a060a9e33ce2378f28a0">◆ </a></span>GetFlatBufferResizeMethod()</h2> |
| 478 | |
| 479 | <div class="memitem"> |
| 480 | <div class="memproto"> |
| 481 | <table class="memname"> |
| 482 | <tr> |
| 483 | <td class="memname">armnnSerializer::ResizeMethod GetFlatBufferResizeMethod </td> |
| 484 | <td>(</td> |
| 485 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#a9a2af2f8c4af4f9efa8e79417d505ac4">armnn::ResizeMethod</a> </td> |
| 486 | <td class="paramname"><em>method</em></td><td>)</td> |
| 487 | <td></td> |
| 488 | </tr> |
| 489 | </table> |
| 490 | </div><div class="memdoc"> |
| 491 | |
| 492 | <p class="definition">Definition at line <a class="el" href="_serializer_utils_8cpp_source.xhtml#l00169">169</a> of file <a class="el" href="_serializer_utils_8cpp_source.xhtml">SerializerUtils.cpp</a>.</p> |
| 493 | |
| 494 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f">armnn::Bilinear</a>, and <a class="el" href="namespacearmnn.xhtml#a9a2af2f8c4af4f9efa8e79417d505ac4aaa020331bb30d2fa2ecf7c3a0777823f">armnn::NearestNeighbor</a>.</p> |
| 495 | |
| 496 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l00876">SerializerVisitor::VisitResizeLayer()</a>.</p> |
| 497 | <div class="fragment"><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>  <span class="keywordflow">switch</span> (method)</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a9a2af2f8c4af4f9efa8e79417d505ac4aaa020331bb30d2fa2ecf7c3a0777823f">armnn::ResizeMethod::NearestNeighbor</a>:</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">return</span> armnnSerializer::ResizeMethod_NearestNeighbor;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f">armnn::ResizeMethod::Bilinear</a>:</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordflow">return</span> armnnSerializer::ResizeMethod_Bilinear;</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordflow">return</span> armnnSerializer::ResizeMethod_NearestNeighbor;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  }</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f"><div class="ttname"><a href="namespacearmnn.xhtml#a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f">armnn::ResizeMethod::Bilinear</a></div></div> |
| 498 | <div class="ttc" id="namespacearmnn_xhtml_a9a2af2f8c4af4f9efa8e79417d505ac4aaa020331bb30d2fa2ecf7c3a0777823f"><div class="ttname"><a href="namespacearmnn.xhtml#a9a2af2f8c4af4f9efa8e79417d505ac4aaa020331bb30d2fa2ecf7c3a0777823f">armnn::ResizeMethod::NearestNeighbor</a></div></div> |
| 499 | </div><!-- fragment --> |
| 500 | </div> |
| 501 | </div> |
| 502 | <a id="ae4ba1925d55937fdb1770852ff0554bf"></a> |
| 503 | <h2 class="memtitle"><span class="permalink"><a href="#ae4ba1925d55937fdb1770852ff0554bf">◆ </a></span>GetFlatBufferUnaryOperation()</h2> |
| 504 | |
| 505 | <div class="memitem"> |
| 506 | <div class="memproto"> |
| 507 | <table class="memname"> |
| 508 | <tr> |
| 509 | <td class="memname">armnnSerializer::UnaryOperation GetFlatBufferUnaryOperation </td> |
| 510 | <td>(</td> |
| 511 | <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8">armnn::UnaryOperation</a> </td> |
| 512 | <td class="paramname"><em>comparisonOperation</em></td><td>)</td> |
| 513 | <td></td> |
| 514 | </tr> |
| 515 | </table> |
| 516 | </div><div class="memdoc"> |
| 517 | |
| 518 | <p class="definition">Definition at line <a class="el" href="_serializer_utils_8cpp_source.xhtml#l00084">84</a> of file <a class="el" href="_serializer_utils_8cpp_source.xhtml">SerializerUtils.cpp</a>.</p> |
| 519 | |
| 520 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::Abs</a>, <a class="el" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8acad39a154bffb61175f674d6eefaf6d0">armnn::Exp</a>, <a class="el" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8afb278fa5defd7e699fcbc930c3e76ccd">armnn::Neg</a>, <a class="el" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">armnn::Rsqrt</a>, and <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaae77f3ad25595e35b327334d89410054">armnn::Sqrt</a>.</p> |
| 521 | |
| 522 | <p class="reference">Referenced by <a class="el" href="_serializer_8cpp_source.xhtml#l00446">SerializerVisitor::VisitElementwiseUnaryLayer()</a>.</p> |
| 523 | <div class="fragment"><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> {</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordflow">switch</span> (comparisonOperation)</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  {</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::UnaryOperation::Abs</a>:</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">return</span> armnnSerializer::UnaryOperation::UnaryOperation_Abs;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">armnn::UnaryOperation::Rsqrt</a>:</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> armnnSerializer::UnaryOperation::UnaryOperation_Rsqrt;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaae77f3ad25595e35b327334d89410054">armnn::UnaryOperation::Sqrt</a>:</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">return</span> armnnSerializer::UnaryOperation::UnaryOperation_Sqrt;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8acad39a154bffb61175f674d6eefaf6d0">armnn::UnaryOperation::Exp</a>:</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">return</span> armnnSerializer::UnaryOperation::UnaryOperation_Exp;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8afb278fa5defd7e699fcbc930c3e76ccd">armnn::UnaryOperation::Neg</a>:</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">return</span> armnnSerializer::UnaryOperation::UnaryOperation_Neg;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_invalid_argument_exception.xhtml">armnn::InvalidArgumentException</a>(<span class="stringliteral">"Unary operation unknown"</span>);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  }</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaaae77f3ad25595e35b327334d89410054"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaaae77f3ad25595e35b327334d89410054">armnn::ActivationFunction::Sqrt</a></div></div> |
| 524 | <div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::ActivationFunction::Abs</a></div></div> |
| 525 | <div class="ttc" id="namespacearmnn_xhtml_a1cfaa710db2a54673b21d2ea2da757c8afb278fa5defd7e699fcbc930c3e76ccd"><div class="ttname"><a href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8afb278fa5defd7e699fcbc930c3e76ccd">armnn::UnaryOperation::Neg</a></div></div> |
| 526 | <div class="ttc" id="classarmnn_1_1_invalid_argument_exception_xhtml"><div class="ttname"><a href="classarmnn_1_1_invalid_argument_exception.xhtml">armnn::InvalidArgumentException</a></div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.xhtml#l00080">Exceptions.hpp:80</a></div></div> |
| 527 | <div class="ttc" id="namespacearmnn_xhtml_a1cfaa710db2a54673b21d2ea2da757c8acad39a154bffb61175f674d6eefaf6d0"><div class="ttname"><a href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8acad39a154bffb61175f674d6eefaf6d0">armnn::UnaryOperation::Exp</a></div></div> |
| 528 | <div class="ttc" id="namespacearmnn_xhtml_a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4"><div class="ttname"><a href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">armnn::UnaryOperation::Rsqrt</a></div></div> |
| 529 | </div><!-- fragment --> |
| 530 | </div> |
| 531 | </div> |
| 532 | </div><!-- contents --> |
| 533 | </div><!-- doc-content --> |
| 534 | <!-- start footer part --> |
| 535 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 536 | <ul> |
| 537 | <li class="navelem"><a class="el" href="namespacearmnn_serializer.xhtml">armnnSerializer</a></li> |
| 538 | <li class="footer">Generated on Fri Mar 13 2020 16:09:21 for ArmNN by |
| 539 | <a href="http://www.doxygen.org/index.html"> |
| 540 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 541 | </ul> |
| 542 | </div> |
| 543 | </body> |
| 544 | </html> |