Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: src/armnnSerializer/SerializerUtils.cpp Source File</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('_serializer_utils_8cpp_source.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="headertitle"> |
| 84 | <div class="title">SerializerUtils.cpp</div> </div> |
| 85 | </div><!--header--> |
| 86 | <div class="contents"> |
| 87 | <a href="_serializer_utils_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright © 2017 Arm Ltd. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// SPDX-License-Identifier: MIT</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "<a class="code" href="_serializer_utils_8hpp.html">SerializerUtils.hpp</a>"</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="keyword">namespace </span><a class="code" href="namespacearmnn_serializer.html">armnnSerializer</a></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> {</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="namespacearmnn_serializer.html#a1c88cccaeb232c6fe8022c7006bb21bc"> 11</a></span> <a class="code" href="namespacearmnn.html#a2d299363c9fc33334c571fa29ca4f58c">armnnSerializer::ComparisonOperation</a> <a class="code" href="namespacearmnn_serializer.html#a1c88cccaeb232c6fe8022c7006bb21bc">GetFlatBufferComparisonOperation</a>(<a class="code" href="namespacearmnn.html#a2d299363c9fc33334c571fa29ca4f58c">armnn::ComparisonOperation</a> comparisonOperation)</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> {</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <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.html#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.html#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.html#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.html#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.html#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.html#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="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="namespacearmnn_serializer.html#af7a4f31739f602d7d78a056ebed19d04"> 31</a></span> armnnSerializer::ConstTensorData <a class="code" href="namespacearmnn_serializer.html#af7a4f31739f602d7d78a056ebed19d04">GetFlatBufferConstTensorData</a>(<a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> dataType)</div><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.html#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.html#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.html#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.html#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.html#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.html#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="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="namespacearmnn_serializer.html#a27876085f01a54e1995bc0b3ea96ce41"> 49</a></span> <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnnSerializer::DataType</a> <a class="code" href="namespacearmnn_serializer.html#a27876085f01a54e1995bc0b3ea96ce41">GetFlatBufferDataType</a>(<a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> dataType)</div><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.html#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.html#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.html#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.html#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.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>:</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">return</span> armnnSerializer::DataType::DataType_QAsymmU8;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a27226c864bac7454a8504f8edb15d95b">armnn::DataType::Boolean</a>:</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">return</span> armnnSerializer::DataType::DataType_Boolean;</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> armnnSerializer::DataType::DataType_Float16;</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="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="namespacearmnn_serializer.html#a6a38e099993f10c9262e0b5f2bff4fcd"> 70</a></span> <a class="code" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnnSerializer::DataLayout</a> <a class="code" href="namespacearmnn_serializer.html#a6a38e099993f10c9262e0b5f2bff4fcd">GetFlatBufferDataLayout</a>(<a class="code" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> {</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">switch</span> (dataLayout)</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  {</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0ad066db54b89b0912e7e7c6da51e2da51">armnn::DataLayout::NHWC</a>:</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">return</span> armnnSerializer::DataLayout::DataLayout_NHWC;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0a6b99f356fe3b30a2a850b5ea897c289f">armnn::DataLayout::NCHW</a>:</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">return</span> armnnSerializer::DataLayout::DataLayout_NCHW;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> }</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="namespacearmnn_serializer.html#ae4ba1925d55937fdb1770852ff0554bf"> 82</a></span> <a class="code" href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8">armnnSerializer::UnaryOperation</a> <a class="code" href="namespacearmnn_serializer.html#ae4ba1925d55937fdb1770852ff0554bf">GetFlatBufferUnaryOperation</a>(<a class="code" href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8">armnn::UnaryOperation</a> comparisonOperation)</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> {</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">switch</span> (comparisonOperation)</div><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">case</span> <a class="code" href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::UnaryOperation::Abs</a>:</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">return</span> armnnSerializer::UnaryOperation::UnaryOperation_Abs;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">armnn::UnaryOperation::Rsqrt</a>:</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">return</span> armnnSerializer::UnaryOperation::UnaryOperation_Rsqrt;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaaae77f3ad25595e35b327334d89410054">armnn::UnaryOperation::Sqrt</a>:</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> armnnSerializer::UnaryOperation::UnaryOperation_Sqrt;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8acad39a154bffb61175f674d6eefaf6d0">armnn::UnaryOperation::Exp</a>:</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">return</span> armnnSerializer::UnaryOperation::UnaryOperation_Exp;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8afb278fa5defd7e699fcbc930c3e76ccd">armnn::UnaryOperation::Neg</a>:</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">return</span> armnnSerializer::UnaryOperation::UnaryOperation_Neg;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_invalid_argument_exception.html">armnn::InvalidArgumentException</a>(<span class="stringliteral">"Unary operation unknown"</span>);</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  }</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> }</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="namespacearmnn_serializer.html#ac2eceb2274af867d713fe44720fc2d4e"> 101</a></span> <a class="code" href="namespacearmnn.html#a961bbfe1db71a848eff5a1f0ab775718">armnnSerializer::PoolingAlgorithm</a> <a class="code" href="namespacearmnn_serializer.html#ac2eceb2274af867d713fe44720fc2d4e">GetFlatBufferPoolingAlgorithm</a>(<a class="code" href="namespacearmnn.html#a961bbfe1db71a848eff5a1f0ab775718">armnn::PoolingAlgorithm</a> poolingAlgorithm)</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> {</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">switch</span> (poolingAlgorithm)</div><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">case</span> <a class="code" href="namespacearmnn.html#a961bbfe1db71a848eff5a1f0ab775718ab1897515d548a960afe49ecf66a29021">armnn::PoolingAlgorithm::Average</a>:</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">return</span> armnnSerializer::PoolingAlgorithm::PoolingAlgorithm_Average;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a961bbfe1db71a848eff5a1f0ab775718a7e6aa2d53f6ee2b1a34b017fa403cb76">armnn::PoolingAlgorithm::L2</a>:</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">return</span> armnnSerializer::PoolingAlgorithm::PoolingAlgorithm_L2;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#ae7e8cbf71db6a490789ca6dcaa8deeaea6a061313d22e51e0f25b7cd4dc065233">armnn::PoolingAlgorithm::Max</a>:</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">return</span> armnnSerializer::PoolingAlgorithm::PoolingAlgorithm_Max;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  }</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> }</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="namespacearmnn_serializer.html#aa5f62540b7f991c1522cf9c43fc005ee"> 115</a></span> <a class="code" href="namespacearmnn.html#adf2e5515c4c36a3e7e46bb8b83c6754e">armnnSerializer::OutputShapeRounding</a> <a class="code" href="namespacearmnn_serializer.html#aa5f62540b7f991c1522cf9c43fc005ee">GetFlatBufferOutputShapeRounding</a>(<a class="code" href="namespacearmnn.html#adf2e5515c4c36a3e7e46bb8b83c6754e">armnn::OutputShapeRounding</a> outputShapeRounding)</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">switch</span> (outputShapeRounding)</div><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">case</span> <a class="code" href="namespacearmnn.html#adf2e5515c4c36a3e7e46bb8b83c6754ea3237fbc8204064c106cb9080088a17cb">armnn::OutputShapeRounding::Ceiling</a>:</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span> armnnSerializer::OutputShapeRounding::OutputShapeRounding_Ceiling;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#adf2e5515c4c36a3e7e46bb8b83c6754eaf3f6d0343d56ce88ce7958170ed05cb3">armnn::OutputShapeRounding::Floor</a>:</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">return</span> armnnSerializer::OutputShapeRounding::OutputShapeRounding_Floor;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> }</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="namespacearmnn_serializer.html#a30eb1e8d2a9b090243c4ededa17746b7"> 127</a></span> <a class="code" href="namespacearmnn.html#a3888429b6ebc79f9a7df549e5e4d9a2f">armnnSerializer::PaddingMethod</a> <a class="code" href="namespacearmnn_serializer.html#a30eb1e8d2a9b090243c4ededa17746b7">GetFlatBufferPaddingMethod</a>(<a class="code" href="namespacearmnn.html#a3888429b6ebc79f9a7df549e5e4d9a2f">armnn::PaddingMethod</a> paddingMethod)</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> {</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">switch</span> (paddingMethod)</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a3888429b6ebc79f9a7df549e5e4d9a2faad301514192636ad34210adce598a45a">armnn::PaddingMethod::IgnoreValue</a>:</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span> armnnSerializer::PaddingMethod::PaddingMethod_IgnoreValue;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a3888429b6ebc79f9a7df549e5e4d9a2fa843f2812f595e7ec7c5036e89fde02d6">armnn::PaddingMethod::Exclude</a>:</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> armnnSerializer::PaddingMethod::PaddingMethod_Exclude;</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> }</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> </div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="namespacearmnn_serializer.html#af279947f1e42035d0f611e5b8cd70cb2"> 139</a></span> <a class="code" href="namespacearmnn.html#abe18a5033f2ab9c0de82c676b48f5437">armnnSerializer::NormalizationAlgorithmChannel</a> <a class="code" href="namespacearmnn_serializer.html#af279947f1e42035d0f611e5b8cd70cb2">GetFlatBufferNormalizationAlgorithmChannel</a>(</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="namespacearmnn.html#abe18a5033f2ab9c0de82c676b48f5437">armnn::NormalizationAlgorithmChannel</a> normalizationAlgorithmChannel)</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">switch</span> (normalizationAlgorithmChannel)</div><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">case</span> <a class="code" href="namespacearmnn.html#abe18a5033f2ab9c0de82c676b48f5437a810f43f3996922151c39b76143faeecc">armnn::NormalizationAlgorithmChannel::Across</a>:</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmChannel::NormalizationAlgorithmChannel_Across;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#abe18a5033f2ab9c0de82c676b48f5437a37bac6dce4f46277d89bfa3003e2e39b">armnn::NormalizationAlgorithmChannel::Within</a>:</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmChannel::NormalizationAlgorithmChannel_Within;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmChannel::NormalizationAlgorithmChannel_Across;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  }</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> }</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="namespacearmnn_serializer.html#ac813f02c91c348db92b5a40ecfa0135e"> 153</a></span> <a class="code" href="namespacearmnn.html#ad605d1661fa0d8c7fea651d82fbe11c9">armnnSerializer::NormalizationAlgorithmMethod</a> <a class="code" href="namespacearmnn_serializer.html#ac813f02c91c348db92b5a40ecfa0135e">GetFlatBufferNormalizationAlgorithmMethod</a>(</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="namespacearmnn.html#ad605d1661fa0d8c7fea651d82fbe11c9">armnn::NormalizationAlgorithmMethod</a> normalizationAlgorithmMethod)</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> {</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">switch</span> (normalizationAlgorithmMethod)</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  {</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#ad605d1661fa0d8c7fea651d82fbe11c9ac65d2e51c610dd3853a3c777aa8bfe9d">armnn::NormalizationAlgorithmMethod::LocalBrightness</a>:</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmMethod::NormalizationAlgorithmMethod_LocalBrightness;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#ad605d1661fa0d8c7fea651d82fbe11c9aa94d2fcabc6b001015aeddfa19266e6f">armnn::NormalizationAlgorithmMethod::LocalContrast</a>:</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmMethod::NormalizationAlgorithmMethod_LocalContrast;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">return</span> armnnSerializer::NormalizationAlgorithmMethod::NormalizationAlgorithmMethod_LocalBrightness;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  }</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> }</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="namespacearmnn_serializer.html#a255a85366167a060a9e33ce2378f28a0"> 167</a></span> <a class="code" href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4">armnnSerializer::ResizeMethod</a> <a class="code" href="namespacearmnn_serializer.html#a255a85366167a060a9e33ce2378f28a0">GetFlatBufferResizeMethod</a>(<a class="code" href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4">armnn::ResizeMethod</a> method)</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">switch</span> (method)</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>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4aaa020331bb30d2fa2ecf7c3a0777823f">armnn::ResizeMethod::NearestNeighbor</a>:</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> armnnSerializer::ResizeMethod_NearestNeighbor;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f">armnn::ResizeMethod::Bilinear</a>:</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">return</span> armnnSerializer::ResizeMethod_Bilinear;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordflow">return</span> armnnSerializer::ResizeMethod_NearestNeighbor;</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  }</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> }</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> } <span class="comment">// namespace armnnSerializer</span></div><div class="ttc" id="namespacearmnn_html_adf2e5515c4c36a3e7e46bb8b83c6754ea3237fbc8204064c106cb9080088a17cb"><div class="ttname"><a href="namespacearmnn.html#adf2e5515c4c36a3e7e46bb8b83c6754ea3237fbc8204064c106cb9080088a17cb">armnn::OutputShapeRounding::Ceiling</a></div></div> |
| 88 | <div class="ttc" id="namespacearmnn_html_ae7e8cbf71db6a490789ca6dcaa8deeaea6a061313d22e51e0f25b7cd4dc065233"><div class="ttname"><a href="namespacearmnn.html#ae7e8cbf71db6a490789ca6dcaa8deeaea6a061313d22e51e0f25b7cd4dc065233">armnn::ArgMinMaxFunction::Max</a></div></div> |
| 89 | <div class="ttc" id="namespacearmnn_html_a3888429b6ebc79f9a7df549e5e4d9a2f"><div class="ttname"><a href="namespacearmnn.html#a3888429b6ebc79f9a7df549e5e4d9a2f">armnn::PaddingMethod</a></div><div class="ttdeci">PaddingMethod</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00115">Types.hpp:115</a></div></div> |
| 90 | <div class="ttc" id="namespacearmnn_html_a56297e0f7b215eea46c818cb7528d9eaaae77f3ad25595e35b327334d89410054"><div class="ttname"><a href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaaae77f3ad25595e35b327334d89410054">armnn::ActivationFunction::Sqrt</a></div></div> |
| 91 | <div class="ttc" id="namespacearmnn_html_a2d299363c9fc33334c571fa29ca4f58ca19bb0af2c3c530538cb41aff7f235b96"><div class="ttname"><a href="namespacearmnn.html#a2d299363c9fc33334c571fa29ca4f58ca19bb0af2c3c530538cb41aff7f235b96">armnn::ComparisonOperation::NotEqual</a></div></div> |
| 92 | <div class="ttc" id="namespacearmnn_serializer_html_aa5f62540b7f991c1522cf9c43fc005ee"><div class="ttname"><a href="namespacearmnn_serializer.html#aa5f62540b7f991c1522cf9c43fc005ee">armnnSerializer::GetFlatBufferOutputShapeRounding</a></div><div class="ttdeci">armnnSerializer::OutputShapeRounding GetFlatBufferOutputShapeRounding(armnn::OutputShapeRounding outputShapeRounding)</div><div class="ttdef"><b>Definition:</b> <a href="_serializer_utils_8cpp_source.html#l00115">SerializerUtils.cpp:115</a></div></div> |
| 93 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a></div></div> |
| 94 | <div class="ttc" id="namespacearmnn_html_ad1d5cce2d9e9a5d61c243e5c989112e0a6b99f356fe3b30a2a850b5ea897c289f"><div class="ttname"><a href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0a6b99f356fe3b30a2a850b5ea897c289f">armnn::DataLayout::NCHW</a></div></div> |
| 95 | <div class="ttc" id="namespacearmnn_html_abe18a5033f2ab9c0de82c676b48f5437a37bac6dce4f46277d89bfa3003e2e39b"><div class="ttname"><a href="namespacearmnn.html#abe18a5033f2ab9c0de82c676b48f5437a37bac6dce4f46277d89bfa3003e2e39b">armnn::NormalizationAlgorithmChannel::Within</a></div></div> |
| 96 | <div class="ttc" id="namespacearmnn_html_a9a2af2f8c4af4f9efa8e79417d505ac4"><div class="ttname"><a href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4">armnn::ResizeMethod</a></div><div class="ttdeci">ResizeMethod</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00100">Types.hpp:100</a></div></div> |
| 97 | <div class="ttc" id="namespacearmnn_serializer_html_af7a4f31739f602d7d78a056ebed19d04"><div class="ttname"><a href="namespacearmnn_serializer.html#af7a4f31739f602d7d78a056ebed19d04">armnnSerializer::GetFlatBufferConstTensorData</a></div><div class="ttdeci">armnnSerializer::ConstTensorData GetFlatBufferConstTensorData(armnn::DataType dataType)</div><div class="ttdef"><b>Definition:</b> <a href="_serializer_utils_8cpp_source.html#l00031">SerializerUtils.cpp:31</a></div></div> |
| 98 | <div class="ttc" id="namespacearmnn_html_adf2e5515c4c36a3e7e46bb8b83c6754e"><div class="ttname"><a href="namespacearmnn.html#adf2e5515c4c36a3e7e46bb8b83c6754e">armnn::OutputShapeRounding</a></div><div class="ttdeci">OutputShapeRounding</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00137">Types.hpp:137</a></div></div> |
| 99 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a27226c864bac7454a8504f8edb15d95b"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a27226c864bac7454a8504f8edb15d95b">armnn::DataType::Boolean</a></div></div> |
| 100 | <div class="ttc" id="namespacearmnn_html_a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6"><div class="ttname"><a href="namespacearmnn.html#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::ActivationFunction::Abs</a></div></div> |
| 101 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 102 | <div class="ttc" id="classarmnn_1_1_invalid_argument_exception_html"><div class="ttname"><a href="classarmnn_1_1_invalid_argument_exception.html">armnn::InvalidArgumentException</a></div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00080">Exceptions.hpp:80</a></div></div> |
| 103 | <div class="ttc" id="namespacearmnn_serializer_html_a30eb1e8d2a9b090243c4ededa17746b7"><div class="ttname"><a href="namespacearmnn_serializer.html#a30eb1e8d2a9b090243c4ededa17746b7">armnnSerializer::GetFlatBufferPaddingMethod</a></div><div class="ttdeci">armnnSerializer::PaddingMethod GetFlatBufferPaddingMethod(armnn::PaddingMethod paddingMethod)</div><div class="ttdef"><b>Definition:</b> <a href="_serializer_utils_8cpp_source.html#l00127">SerializerUtils.cpp:127</a></div></div> |
| 104 | <div class="ttc" id="namespacearmnn_html_ad605d1661fa0d8c7fea651d82fbe11c9ac65d2e51c610dd3853a3c777aa8bfe9d"><div class="ttname"><a href="namespacearmnn.html#ad605d1661fa0d8c7fea651d82fbe11c9ac65d2e51c610dd3853a3c777aa8bfe9d">armnn::NormalizationAlgorithmMethod::LocalBrightness</a></div><div class="ttdoc">Krichevsky 2012: Local Brightness Normalization. </div></div> |
| 105 | <div class="ttc" id="namespacearmnn_html_ad605d1661fa0d8c7fea651d82fbe11c9aa94d2fcabc6b001015aeddfa19266e6f"><div class="ttname"><a href="namespacearmnn.html#ad605d1661fa0d8c7fea651d82fbe11c9aa94d2fcabc6b001015aeddfa19266e6f">armnn::NormalizationAlgorithmMethod::LocalContrast</a></div><div class="ttdoc">Jarret 2009: Local Contrast Normalization. </div></div> |
| 106 | <div class="ttc" id="namespacearmnn_serializer_html_ac2eceb2274af867d713fe44720fc2d4e"><div class="ttname"><a href="namespacearmnn_serializer.html#ac2eceb2274af867d713fe44720fc2d4e">armnnSerializer::GetFlatBufferPoolingAlgorithm</a></div><div class="ttdeci">armnnSerializer::PoolingAlgorithm GetFlatBufferPoolingAlgorithm(armnn::PoolingAlgorithm poolingAlgorithm)</div><div class="ttdef"><b>Definition:</b> <a href="_serializer_utils_8cpp_source.html#l00101">SerializerUtils.cpp:101</a></div></div> |
| 107 | <div class="ttc" id="namespacearmnn_html_a2d299363c9fc33334c571fa29ca4f58c"><div class="ttname"><a href="namespacearmnn.html#a2d299363c9fc33334c571fa29ca4f58c">armnn::ComparisonOperation</a></div><div class="ttdeci">ComparisonOperation</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00074">Types.hpp:74</a></div></div> |
| 108 | <div class="ttc" id="namespacearmnn_html_a961bbfe1db71a848eff5a1f0ab775718"><div class="ttname"><a href="namespacearmnn.html#a961bbfe1db71a848eff5a1f0ab775718">armnn::PoolingAlgorithm</a></div><div class="ttdeci">PoolingAlgorithm</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00093">Types.hpp:93</a></div></div> |
| 109 | <div class="ttc" id="namespacearmnn_html_a3888429b6ebc79f9a7df549e5e4d9a2faad301514192636ad34210adce598a45a"><div class="ttname"><a href="namespacearmnn.html#a3888429b6ebc79f9a7df549e5e4d9a2faad301514192636ad34210adce598a45a">armnn::PaddingMethod::IgnoreValue</a></div><div class="ttdoc">The padding fields count, but are ignored. </div></div> |
| 110 | <div class="ttc" id="namespacearmnn_html_a2d299363c9fc33334c571fa29ca4f58ca8768a6821cd735aea4f5b0df88c1fc6a"><div class="ttname"><a href="namespacearmnn.html#a2d299363c9fc33334c571fa29ca4f58ca8768a6821cd735aea4f5b0df88c1fc6a">armnn::ComparisonOperation::Greater</a></div></div> |
| 111 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a></div></div> |
| 112 | <div class="ttc" id="namespacearmnn_html_a3888429b6ebc79f9a7df549e5e4d9a2fa843f2812f595e7ec7c5036e89fde02d6"><div class="ttname"><a href="namespacearmnn.html#a3888429b6ebc79f9a7df549e5e4d9a2fa843f2812f595e7ec7c5036e89fde02d6">armnn::PaddingMethod::Exclude</a></div><div class="ttdoc">The padding fields don&#39;t count and are ignored. </div></div> |
| 113 | <div class="ttc" id="namespacearmnn_html_a2d299363c9fc33334c571fa29ca4f58caa4cbdbb6070a5abb35fc95ecf1e22c14"><div class="ttname"><a href="namespacearmnn.html#a2d299363c9fc33334c571fa29ca4f58caa4cbdbb6070a5abb35fc95ecf1e22c14">armnn::ComparisonOperation::LessOrEqual</a></div></div> |
| 114 | <div class="ttc" id="namespacearmnn_serializer_html"><div class="ttname"><a href="namespacearmnn_serializer.html">armnnSerializer</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_serializer_8hpp_source.html#l00011">ISerializer.hpp:11</a></div></div> |
| 115 | <div class="ttc" id="namespacearmnn_html_a2d299363c9fc33334c571fa29ca4f58caf5f286e73bda105e538310b3190f75c5"><div class="ttname"><a href="namespacearmnn.html#a2d299363c9fc33334c571fa29ca4f58caf5f286e73bda105e538310b3190f75c5">armnn::ComparisonOperation::Equal</a></div></div> |
| 116 | <div class="ttc" id="namespacearmnn_html_a1cfaa710db2a54673b21d2ea2da757c8acad39a154bffb61175f674d6eefaf6d0"><div class="ttname"><a href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8acad39a154bffb61175f674d6eefaf6d0">armnn::UnaryOperation::Exp</a></div></div> |
| 117 | <div class="ttc" id="namespacearmnn_html_ad605d1661fa0d8c7fea651d82fbe11c9"><div class="ttname"><a href="namespacearmnn.html#ad605d1661fa0d8c7fea651d82fbe11c9">armnn::NormalizationAlgorithmMethod</a></div><div class="ttdeci">NormalizationAlgorithmMethod</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00129">Types.hpp:129</a></div></div> |
| 118 | <div class="ttc" id="namespacearmnn_html_abe18a5033f2ab9c0de82c676b48f5437a810f43f3996922151c39b76143faeecc"><div class="ttname"><a href="namespacearmnn.html#abe18a5033f2ab9c0de82c676b48f5437a810f43f3996922151c39b76143faeecc">armnn::NormalizationAlgorithmChannel::Across</a></div></div> |
| 119 | <div class="ttc" id="namespacearmnn_serializer_html_a255a85366167a060a9e33ce2378f28a0"><div class="ttname"><a href="namespacearmnn_serializer.html#a255a85366167a060a9e33ce2378f28a0">armnnSerializer::GetFlatBufferResizeMethod</a></div><div class="ttdeci">armnnSerializer::ResizeMethod GetFlatBufferResizeMethod(armnn::ResizeMethod method)</div><div class="ttdef"><b>Definition:</b> <a href="_serializer_utils_8cpp_source.html#l00167">SerializerUtils.cpp:167</a></div></div> |
| 120 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6accedffbc6e5308e33d3843e8bdc0dad7">armnn::DataType::Signed32</a></div></div> |
| 121 | <div class="ttc" id="namespacearmnn_serializer_html_af279947f1e42035d0f611e5b8cd70cb2"><div class="ttname"><a href="namespacearmnn_serializer.html#af279947f1e42035d0f611e5b8cd70cb2">armnnSerializer::GetFlatBufferNormalizationAlgorithmChannel</a></div><div class="ttdeci">armnnSerializer::NormalizationAlgorithmChannel GetFlatBufferNormalizationAlgorithmChannel(armnn::NormalizationAlgorithmChannel normalizationAlgorithmChannel)</div><div class="ttdef"><b>Definition:</b> <a href="_serializer_utils_8cpp_source.html#l00139">SerializerUtils.cpp:139</a></div></div> |
| 122 | <div class="ttc" id="namespacearmnn_html_a1cfaa710db2a54673b21d2ea2da757c8afb278fa5defd7e699fcbc930c3e76ccd"><div class="ttname"><a href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8afb278fa5defd7e699fcbc930c3e76ccd">armnn::UnaryOperation::Neg</a></div></div> |
| 123 | <div class="ttc" id="namespacearmnn_html_a961bbfe1db71a848eff5a1f0ab775718a7e6aa2d53f6ee2b1a34b017fa403cb76"><div class="ttname"><a href="namespacearmnn.html#a961bbfe1db71a848eff5a1f0ab775718a7e6aa2d53f6ee2b1a34b017fa403cb76">armnn::PoolingAlgorithm::L2</a></div></div> |
| 124 | <div class="ttc" id="namespacearmnn_html_a1cfaa710db2a54673b21d2ea2da757c8"><div class="ttname"><a href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8">armnn::UnaryOperation</a></div><div class="ttdeci">UnaryOperation</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00084">Types.hpp:84</a></div></div> |
| 125 | <div class="ttc" id="namespacearmnn_serializer_html_a1c88cccaeb232c6fe8022c7006bb21bc"><div class="ttname"><a href="namespacearmnn_serializer.html#a1c88cccaeb232c6fe8022c7006bb21bc">armnnSerializer::GetFlatBufferComparisonOperation</a></div><div class="ttdeci">armnnSerializer::ComparisonOperation GetFlatBufferComparisonOperation(armnn::ComparisonOperation comparisonOperation)</div><div class="ttdef"><b>Definition:</b> <a href="_serializer_utils_8cpp_source.html#l00011">SerializerUtils.cpp:11</a></div></div> |
| 126 | <div class="ttc" id="namespacearmnn_html_a2d299363c9fc33334c571fa29ca4f58ca1cfdf0e8d0c87a228c1f40d9bee7888b"><div class="ttname"><a href="namespacearmnn.html#a2d299363c9fc33334c571fa29ca4f58ca1cfdf0e8d0c87a228c1f40d9bee7888b">armnn::ComparisonOperation::Less</a></div></div> |
| 127 | <div class="ttc" id="namespacearmnn_html_ad1d5cce2d9e9a5d61c243e5c989112e0"><div class="ttname"><a href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a></div><div class="ttdeci">DataLayout</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00048">Types.hpp:48</a></div></div> |
| 128 | <div class="ttc" id="namespacearmnn_serializer_html_a27876085f01a54e1995bc0b3ea96ce41"><div class="ttname"><a href="namespacearmnn_serializer.html#a27876085f01a54e1995bc0b3ea96ce41">armnnSerializer::GetFlatBufferDataType</a></div><div class="ttdeci">armnnSerializer::DataType GetFlatBufferDataType(armnn::DataType dataType)</div><div class="ttdef"><b>Definition:</b> <a href="_serializer_utils_8cpp_source.html#l00049">SerializerUtils.cpp:49</a></div></div> |
| 129 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a></div><div class="ttdeci">DataType</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00032">Types.hpp:32</a></div></div> |
| 130 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 131 | <div class="ttc" id="namespacearmnn_html_abe18a5033f2ab9c0de82c676b48f5437"><div class="ttname"><a href="namespacearmnn.html#abe18a5033f2ab9c0de82c676b48f5437">armnn::NormalizationAlgorithmChannel</a></div><div class="ttdeci">NormalizationAlgorithmChannel</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00123">Types.hpp:123</a></div></div> |
| 132 | <div class="ttc" id="namespacearmnn_html_adf2e5515c4c36a3e7e46bb8b83c6754eaf3f6d0343d56ce88ce7958170ed05cb3"><div class="ttname"><a href="namespacearmnn.html#adf2e5515c4c36a3e7e46bb8b83c6754eaf3f6d0343d56ce88ce7958170ed05cb3">armnn::OutputShapeRounding::Floor</a></div></div> |
| 133 | <div class="ttc" id="namespacearmnn_html_a2d299363c9fc33334c571fa29ca4f58ca6f2f0aefb3d22da0f3839453add5f937"><div class="ttname"><a href="namespacearmnn.html#a2d299363c9fc33334c571fa29ca4f58ca6f2f0aefb3d22da0f3839453add5f937">armnn::ComparisonOperation::GreaterOrEqual</a></div></div> |
| 134 | <div class="ttc" id="namespacearmnn_html_a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f"><div class="ttname"><a href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4aaf17c98bbd83c27d6426d2ff3fa81d7f">armnn::ResizeMethod::Bilinear</a></div></div> |
| 135 | <div class="ttc" id="namespacearmnn_html_a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4"><div class="ttname"><a href="namespacearmnn.html#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">armnn::UnaryOperation::Rsqrt</a></div></div> |
| 136 | <div class="ttc" id="namespacearmnn_html_a9a2af2f8c4af4f9efa8e79417d505ac4aaa020331bb30d2fa2ecf7c3a0777823f"><div class="ttname"><a href="namespacearmnn.html#a9a2af2f8c4af4f9efa8e79417d505ac4aaa020331bb30d2fa2ecf7c3a0777823f">armnn::ResizeMethod::NearestNeighbor</a></div></div> |
| 137 | <div class="ttc" id="namespacearmnn_serializer_html_a6a38e099993f10c9262e0b5f2bff4fcd"><div class="ttname"><a href="namespacearmnn_serializer.html#a6a38e099993f10c9262e0b5f2bff4fcd">armnnSerializer::GetFlatBufferDataLayout</a></div><div class="ttdeci">armnnSerializer::DataLayout GetFlatBufferDataLayout(armnn::DataLayout dataLayout)</div><div class="ttdef"><b>Definition:</b> <a href="_serializer_utils_8cpp_source.html#l00070">SerializerUtils.cpp:70</a></div></div> |
| 138 | <div class="ttc" id="namespacearmnn_html_a961bbfe1db71a848eff5a1f0ab775718ab1897515d548a960afe49ecf66a29021"><div class="ttname"><a href="namespacearmnn.html#a961bbfe1db71a848eff5a1f0ab775718ab1897515d548a960afe49ecf66a29021">armnn::PoolingAlgorithm::Average</a></div></div> |
| 139 | <div class="ttc" id="_serializer_utils_8hpp_html"><div class="ttname"><a href="_serializer_utils_8hpp.html">SerializerUtils.hpp</a></div></div> |
| 140 | <div class="ttc" id="namespacearmnn_serializer_html_ae4ba1925d55937fdb1770852ff0554bf"><div class="ttname"><a href="namespacearmnn_serializer.html#ae4ba1925d55937fdb1770852ff0554bf">armnnSerializer::GetFlatBufferUnaryOperation</a></div><div class="ttdeci">armnnSerializer::UnaryOperation GetFlatBufferUnaryOperation(armnn::UnaryOperation comparisonOperation)</div><div class="ttdef"><b>Definition:</b> <a href="_serializer_utils_8cpp_source.html#l00082">SerializerUtils.cpp:82</a></div></div> |
| 141 | <div class="ttc" id="namespacearmnn_serializer_html_ac813f02c91c348db92b5a40ecfa0135e"><div class="ttname"><a href="namespacearmnn_serializer.html#ac813f02c91c348db92b5a40ecfa0135e">armnnSerializer::GetFlatBufferNormalizationAlgorithmMethod</a></div><div class="ttdeci">armnnSerializer::NormalizationAlgorithmMethod GetFlatBufferNormalizationAlgorithmMethod(armnn::NormalizationAlgorithmMethod normalizationAlgorithmMethod)</div><div class="ttdef"><b>Definition:</b> <a href="_serializer_utils_8cpp_source.html#l00153">SerializerUtils.cpp:153</a></div></div> |
| 142 | <div class="ttc" id="namespacearmnn_html_ad1d5cce2d9e9a5d61c243e5c989112e0ad066db54b89b0912e7e7c6da51e2da51"><div class="ttname"><a href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0ad066db54b89b0912e7e7c6da51e2da51">armnn::DataLayout::NHWC</a></div></div> |
| 143 | </div><!-- fragment --></div><!-- contents --> |
| 144 | </div><!-- doc-content --> |
| 145 | <!-- start footer part --> |
| 146 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 147 | <ul> |
| 148 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_bff0d59bec81fb3d13742442d8f4421d.html">armnnSerializer</a></li><li class="navelem"><a class="el" href="_serializer_utils_8cpp.html">SerializerUtils.cpp</a></li> |
| 149 | <li class="footer">Generated on Fri Mar 13 2020 16:06:55 for ArmNN by |
| 150 | <a href="http://www.doxygen.org/index.html"> |
| 151 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 152 | </ul> |
| 153 | </div> |
| 154 | </body> |
| 155 | </html> |