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: src/armnnOnnxParser/OnnxParser.cpp File 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('_onnx_parser_8cpp.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="#namespaces">Namespaces</a> | |
| 99 | <a href="#define-members">Macros</a> </div> |
| 100 | <div class="headertitle"> |
| 101 | <div class="title">OnnxParser.cpp File Reference</div> </div> |
| 102 | </div><!--header--> |
| 103 | <div class="contents"> |
| 104 | <div class="textblock"><code>#include "<a class="el" href="_onnx_parser_8hpp_source.xhtml">OnnxParser.hpp</a>"</code><br /> |
| 105 | <code>#include <<a class="el" href="_descriptors_8hpp_source.xhtml">armnn/Descriptors.hpp</a>></code><br /> |
| 106 | <code>#include <<a class="el" href="_utils_8hpp_source.xhtml">armnn/Utils.hpp</a>></code><br /> |
| 107 | <code>#include <<a class="el" href="_verification_helpers_8hpp_source.xhtml">VerificationHelpers.hpp</a>></code><br /> |
| 108 | <code>#include <boost/format.hpp></code><br /> |
| 109 | <code>#include <boost/numeric/conversion/cast.hpp></code><br /> |
| 110 | <code>#include <google/protobuf/text_format.h></code><br /> |
| 111 | <code>#include <google/protobuf/io/zero_copy_stream_impl.h></code><br /> |
| 112 | <code>#include <numeric></code><br /> |
| 113 | </div> |
| 114 | <p><a href="_onnx_parser_8cpp_source.xhtml">Go to the source code of this file.</a></p> |
| 115 | <table class="memberdecls"> |
| 116 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| 117 | Namespaces</h2></td></tr> |
| 118 | <tr class="memitem:namespacearmnn_onnx_parser"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_onnx_parser.xhtml">armnnOnnxParser</a></td></tr> |
| 119 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 120 | </table><table class="memberdecls"> |
| 121 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> |
| 122 | Macros</h2></td></tr> |
| 123 | <tr class="memitem:a71cae957feb9162183d6f62fd549ffe1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_onnx_parser_8cpp.xhtml#a71cae957feb9162183d6f62fd549ffe1">CHECK_VALID_DATATYPE</a>(NODE, TENSOR, ACTUAL, ...)   CheckValidDataType({__VA_ARGS__}, ACTUAL, #__VA_ARGS__, NODE, TENSOR, <a class="el" href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>())</td></tr> |
| 124 | <tr class="separator:a71cae957feb9162183d6f62fd549ffe1"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:a5426a7adb280d1739cc6d66fe9ac1b9c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_onnx_parser_8cpp.xhtml#a5426a7adb280d1739cc6d66fe9ac1b9c">STR_LIST</a>(...)   StrTypeListPair(#__VA_ARGS__, {__VA_ARGS__})</td></tr> |
| 126 | <tr class="separator:a5426a7adb280d1739cc6d66fe9ac1b9c"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:a0e987f9d4f46b35c9b1ff0cc950dc5b1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_onnx_parser_8cpp.xhtml#a0e987f9d4f46b35c9b1ff0cc950dc5b1">VALID_INPUTS</a>(NODE, VALID_INPUTS)</td></tr> |
| 128 | <tr class="separator:a0e987f9d4f46b35c9b1ff0cc950dc5b1"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | </table> |
| 130 | <h2 class="groupheader">Macro Definition Documentation</h2> |
| 131 | <a id="a71cae957feb9162183d6f62fd549ffe1"></a> |
| 132 | <h2 class="memtitle"><span class="permalink"><a href="#a71cae957feb9162183d6f62fd549ffe1">◆ </a></span>CHECK_VALID_DATATYPE</h2> |
| 133 | |
| 134 | <div class="memitem"> |
| 135 | <div class="memproto"> |
| 136 | <table class="memname"> |
| 137 | <tr> |
| 138 | <td class="memname">#define CHECK_VALID_DATATYPE</td> |
| 139 | <td>(</td> |
| 140 | <td class="paramtype"> </td> |
| 141 | <td class="paramname">NODE, </td> |
| 142 | </tr> |
| 143 | <tr> |
| 144 | <td class="paramkey"></td> |
| 145 | <td></td> |
| 146 | <td class="paramtype"> </td> |
| 147 | <td class="paramname">TENSOR, </td> |
| 148 | </tr> |
| 149 | <tr> |
| 150 | <td class="paramkey"></td> |
| 151 | <td></td> |
| 152 | <td class="paramtype"> </td> |
| 153 | <td class="paramname">ACTUAL, </td> |
| 154 | </tr> |
| 155 | <tr> |
| 156 | <td class="paramkey"></td> |
| 157 | <td></td> |
| 158 | <td class="paramtype"> </td> |
| 159 | <td class="paramname"><em>...</em> </td> |
| 160 | </tr> |
| 161 | <tr> |
| 162 | <td></td> |
| 163 | <td>)</td> |
| 164 | <td></td><td>   CheckValidDataType({__VA_ARGS__}, ACTUAL, #__VA_ARGS__, NODE, TENSOR, <a class="el" href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>())</td> |
| 165 | </tr> |
| 166 | </table> |
| 167 | </div><div class="memdoc"> |
| 168 | |
| 169 | <p class="definition">Definition at line <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00048">48</a> of file <a class="el" href="_onnx_parser_8cpp_source.xhtml">OnnxParser.cpp</a>.</p> |
| 170 | |
| 171 | <p class="reference">Referenced by <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00584">OnnxParser::CreateNetworkFromString()</a>.</p> |
| 172 | |
| 173 | </div> |
| 174 | </div> |
| 175 | <a id="a5426a7adb280d1739cc6d66fe9ac1b9c"></a> |
| 176 | <h2 class="memtitle"><span class="permalink"><a href="#a5426a7adb280d1739cc6d66fe9ac1b9c">◆ </a></span>STR_LIST</h2> |
| 177 | |
| 178 | <div class="memitem"> |
| 179 | <div class="memproto"> |
| 180 | <table class="memname"> |
| 181 | <tr> |
| 182 | <td class="memname">#define STR_LIST</td> |
| 183 | <td>(</td> |
| 184 | <td class="paramtype"> </td> |
| 185 | <td class="paramname"><em>...</em></td><td>)</td> |
| 186 | <td>   StrTypeListPair(#__VA_ARGS__, {__VA_ARGS__})</td> |
| 187 | </tr> |
| 188 | </table> |
| 189 | </div><div class="memdoc"> |
| 190 | |
| 191 | <p class="definition">Definition at line <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00052">52</a> of file <a class="el" href="_onnx_parser_8cpp_source.xhtml">OnnxParser.cpp</a>.</p> |
| 192 | |
| 193 | <p class="reference">Referenced by <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00584">OnnxParser::CreateNetworkFromString()</a>.</p> |
| 194 | |
| 195 | </div> |
| 196 | </div> |
| 197 | <a id="a0e987f9d4f46b35c9b1ff0cc950dc5b1"></a> |
| 198 | <h2 class="memtitle"><span class="permalink"><a href="#a0e987f9d4f46b35c9b1ff0cc950dc5b1">◆ </a></span>VALID_INPUTS</h2> |
| 199 | |
| 200 | <div class="memitem"> |
| 201 | <div class="memproto"> |
| 202 | <table class="memname"> |
| 203 | <tr> |
| 204 | <td class="memname">#define VALID_INPUTS</td> |
| 205 | <td>(</td> |
| 206 | <td class="paramtype"> </td> |
| 207 | <td class="paramname">NODE, </td> |
| 208 | </tr> |
| 209 | <tr> |
| 210 | <td class="paramkey"></td> |
| 211 | <td></td> |
| 212 | <td class="paramtype"> </td> |
| 213 | <td class="paramname">VALID_INPUTS </td> |
| 214 | </tr> |
| 215 | <tr> |
| 216 | <td></td> |
| 217 | <td>)</td> |
| 218 | <td></td><td></td> |
| 219 | </tr> |
| 220 | </table> |
| 221 | </div><div class="memdoc"> |
| 222 | <b>Value:</b><div class="fragment"><div class="line">OnnxParser::ValidateInputs(NODE, \</div><div class="line"> <a class="code" href="_onnx_parser_8cpp.xhtml#a0e987f9d4f46b35c9b1ff0cc950dc5b1">VALID_INPUTS</a>, \</div><div class="line"> <a class="code" href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>())</div><div class="ttc" id="_onnx_parser_8cpp_xhtml_a0e987f9d4f46b35c9b1ff0cc950dc5b1"><div class="ttname"><a href="_onnx_parser_8cpp.xhtml#a0e987f9d4f46b35c9b1ff0cc950dc5b1">VALID_INPUTS</a></div><div class="ttdeci">#define VALID_INPUTS(NODE, VALID_INPUTS)</div><div class="ttdef"><b>Definition:</b> <a href="_onnx_parser_8cpp_source.xhtml#l00382">OnnxParser.cpp:382</a></div></div> |
| 223 | <div class="ttc" id="_exceptions_8hpp_xhtml_aa3be76aec4ce713822a5ea1ecbb7bc61"><div class="ttname"><a href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a></div><div class="ttdeci">#define CHECK_LOCATION()</div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.xhtml#l00192">Exceptions.hpp:192</a></div></div> |
| 224 | </div><!-- fragment --> |
| 225 | <p class="definition">Definition at line <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00382">382</a> of file <a class="el" href="_onnx_parser_8cpp_source.xhtml">OnnxParser.cpp</a>.</p> |
| 226 | |
| 227 | <p class="reference">Referenced by <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00584">OnnxParser::CreateNetworkFromString()</a>.</p> |
| 228 | |
| 229 | </div> |
| 230 | </div> |
| 231 | </div><!-- contents --> |
| 232 | </div><!-- doc-content --> |
| 233 | <!-- start footer part --> |
| 234 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 235 | <ul> |
| 236 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_29e3193d5087607956cb928081b12830.xhtml">armnnOnnxParser</a></li><li class="navelem"><a class="el" href="_onnx_parser_8cpp.xhtml">OnnxParser.cpp</a></li> |
| 237 | <li class="footer">Generated on Fri Mar 13 2020 16:09:14 for ArmNN by |
| 238 | <a href="http://www.doxygen.org/index.html"> |
| 239 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 240 | </ul> |
| 241 | </div> |
| 242 | </body> |
| 243 | </html> |