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: IOnnxParser Class Reference</title> |
| 15 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 16 | <script type="text/javascript" src="jquery.js"></script> |
| 17 | <script type="text/javascript" src="dynsections.js"></script> |
| 18 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 19 | <script type="text/javascript" src="resize.js"></script> |
| 20 | <script type="text/javascript" src="navtreedata.js"></script> |
| 21 | <script type="text/javascript" src="navtree.js"></script> |
| 22 | <script type="text/javascript"> |
| 23 | $(document).ready(initResizable); |
| 24 | </script> |
| 25 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 26 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 27 | <script type="text/javascript" src="search/search.js"></script> |
| 28 | <script type="text/x-mathjax-config"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 33 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 34 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 35 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 42 | <tr style="height: 56px;"> |
| 43 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| 44 | <td style="padding-left: 0.5em;"> |
| 45 | <div id="projectname"> |
| 46 |  <span id="projectnumber">20.02</span> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 53 | <!-- end header part --> |
| 54 | <!-- Generated by Doxygen 1.8.13 --> |
| 55 | <script type="text/javascript"> |
| 56 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('classarmnn_onnx_parser_1_1_i_onnx_parser.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="#pub-methods">Public Member Functions</a> | |
| 99 | <a href="#pub-static-methods">Static Public Member Functions</a> | |
| 100 | <a href="#pro-methods">Protected Member Functions</a> | |
| 101 | <a href="classarmnn_onnx_parser_1_1_i_onnx_parser-members.xhtml">List of all members</a> </div> |
| 102 | <div class="headertitle"> |
| 103 | <div class="title">IOnnxParser Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> |
| 104 | </div><!--header--> |
| 105 | <div class="contents"> |
| 106 | |
| 107 | <p><code>#include <<a class="el" href="_i_onnx_parser_8hpp_source.xhtml">IOnnxParser.hpp</a>></code></p> |
| 108 | <div class="dynheader"> |
| 109 | Inheritance diagram for IOnnxParser:</div> |
| 110 | <div class="dyncontent"> |
| 111 | <div class="center"> |
| 112 | <img src="classarmnn_onnx_parser_1_1_i_onnx_parser.png" usemap="#IOnnxParser_map" alt=""/> |
| 113 | <map id="IOnnxParser_map" name="IOnnxParser_map"> |
| 114 | <area href="classarmnn_onnx_parser_1_1_onnx_parser.xhtml" alt="OnnxParser" shape="rect" coords="0,56,83,80"/> |
| 115 | </map> |
| 116 | </div></div> |
| 117 | <table class="memberdecls"> |
| 118 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 119 | Public Member Functions</h2></td></tr> |
| 120 | <tr class="memitem:ad92bc619ba8c78c9a4200d6635fde326"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn.xhtml#ace74f6f9feb95a964a49d79458232703">armnn::INetworkPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#ad92bc619ba8c78c9a4200d6635fde326">CreateNetworkFromBinaryFile</a> (const char *graphFile)=0</td></tr> |
| 121 | <tr class="memdesc:ad92bc619ba8c78c9a4200d6635fde326"><td class="mdescLeft"> </td><td class="mdescRight">Create the network from a protobuf binary file on disk. <a href="#ad92bc619ba8c78c9a4200d6635fde326">More...</a><br /></td></tr> |
| 122 | <tr class="separator:ad92bc619ba8c78c9a4200d6635fde326"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a9f8e06d1391080a1f34e49997c16f878"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn.xhtml#ace74f6f9feb95a964a49d79458232703">armnn::INetworkPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#a9f8e06d1391080a1f34e49997c16f878">CreateNetworkFromTextFile</a> (const char *graphFile)=0</td></tr> |
| 124 | <tr class="memdesc:a9f8e06d1391080a1f34e49997c16f878"><td class="mdescLeft"> </td><td class="mdescRight">Create the network from a protobuf text file on disk. <a href="#a9f8e06d1391080a1f34e49997c16f878">More...</a><br /></td></tr> |
| 125 | <tr class="separator:a9f8e06d1391080a1f34e49997c16f878"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:a02561e57c710ca5c616279c928125f1c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn.xhtml#ace74f6f9feb95a964a49d79458232703">armnn::INetworkPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#a02561e57c710ca5c616279c928125f1c">CreateNetworkFromString</a> (const std::string &protoText)=0</td></tr> |
| 127 | <tr class="memdesc:a02561e57c710ca5c616279c928125f1c"><td class="mdescLeft"> </td><td class="mdescRight">Create the network directly from protobuf text in a string. Useful for debugging/testing. <a href="#a02561e57c710ca5c616279c928125f1c">More...</a><br /></td></tr> |
| 128 | <tr class="separator:a02561e57c710ca5c616279c928125f1c"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:adbba18b867f84bfcd3c88d06f275eac9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn_onnx_parser.xhtml#a9084adbf804022c874039ad40d1939e9">BindingPointInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#adbba18b867f84bfcd3c88d06f275eac9">GetNetworkInputBindingInfo</a> (const std::string &name) const =0</td></tr> |
| 130 | <tr class="memdesc:adbba18b867f84bfcd3c88d06f275eac9"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name. <a href="#adbba18b867f84bfcd3c88d06f275eac9">More...</a><br /></td></tr> |
| 131 | <tr class="separator:adbba18b867f84bfcd3c88d06f275eac9"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="memitem:a99d33c004ce680f49893c9254d9bff5a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn_onnx_parser.xhtml#a9084adbf804022c874039ad40d1939e9">BindingPointInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#a99d33c004ce680f49893c9254d9bff5a">GetNetworkOutputBindingInfo</a> (const std::string &name) const =0</td></tr> |
| 133 | <tr class="memdesc:a99d33c004ce680f49893c9254d9bff5a"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name. <a href="#a99d33c004ce680f49893c9254d9bff5a">More...</a><br /></td></tr> |
| 134 | <tr class="separator:a99d33c004ce680f49893c9254d9bff5a"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | </table><table class="memberdecls"> |
| 136 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> |
| 137 | Static Public Member Functions</h2></td></tr> |
| 138 | <tr class="memitem:a1ae1d4dfe89d26b84d371439d6815bfb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml">IOnnxParser</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#a1ae1d4dfe89d26b84d371439d6815bfb">CreateRaw</a> ()</td></tr> |
| 139 | <tr class="separator:a1ae1d4dfe89d26b84d371439d6815bfb"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | <tr class="memitem:af9b9254fb8a084f0db4f7deff0498b20"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearmnn_onnx_parser.xhtml#ac7dfccab29feeb5f33f1ec0183c1e123">IOnnxParserPtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#af9b9254fb8a084f0db4f7deff0498b20">Create</a> ()</td></tr> |
| 141 | <tr class="separator:af9b9254fb8a084f0db4f7deff0498b20"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | <tr class="memitem:a793da4fa60bf13f128c20d8def32c291"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#a793da4fa60bf13f128c20d8def32c291">Destroy</a> (<a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml">IOnnxParser</a> *parser)</td></tr> |
| 143 | <tr class="separator:a793da4fa60bf13f128c20d8def32c291"><td class="memSeparator" colspan="2"> </td></tr> |
| 144 | </table><table class="memberdecls"> |
| 145 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> |
| 146 | Protected Member Functions</h2></td></tr> |
| 147 | <tr class="memitem:a722949b1ae5d20dce7e8c5004c9a248b"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#a722949b1ae5d20dce7e8c5004c9a248b">~IOnnxParser</a> ()</td></tr> |
| 148 | <tr class="separator:a722949b1ae5d20dce7e8c5004c9a248b"><td class="memSeparator" colspan="2"> </td></tr> |
| 149 | </table> |
| 150 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 151 | <div class="textblock"> |
| 152 | <p class="definition">Definition at line <a class="el" href="_i_onnx_parser_8hpp_source.xhtml#l00022">22</a> of file <a class="el" href="_i_onnx_parser_8hpp_source.xhtml">IOnnxParser.hpp</a>.</p> |
| 153 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 154 | <a id="a722949b1ae5d20dce7e8c5004c9a248b"></a> |
| 155 | <h2 class="memtitle"><span class="permalink"><a href="#a722949b1ae5d20dce7e8c5004c9a248b">◆ </a></span>~IOnnxParser()</h2> |
| 156 | |
| 157 | <div class="memitem"> |
| 158 | <div class="memproto"> |
| 159 | <table class="mlabels"> |
| 160 | <tr> |
| 161 | <td class="mlabels-left"> |
| 162 | <table class="memname"> |
| 163 | <tr> |
| 164 | <td class="memname">virtual ~<a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml">IOnnxParser</a> </td> |
| 165 | <td>(</td> |
| 166 | <td class="paramname"></td><td>)</td> |
| 167 | <td></td> |
| 168 | </tr> |
| 169 | </table> |
| 170 | </td> |
| 171 | <td class="mlabels-right"> |
| 172 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> |
| 173 | </tr> |
| 174 | </table> |
| 175 | </div><div class="memdoc"> |
| 176 | |
| 177 | <p class="definition">Definition at line <a class="el" href="_i_onnx_parser_8hpp_source.xhtml#l00045">45</a> of file <a class="el" href="_i_onnx_parser_8hpp_source.xhtml">IOnnxParser.hpp</a>.</p> |
| 178 | <div class="fragment"><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {};</div></div><!-- fragment --> |
| 179 | </div> |
| 180 | </div> |
| 181 | <h2 class="groupheader">Member Function Documentation</h2> |
| 182 | <a id="af9b9254fb8a084f0db4f7deff0498b20"></a> |
| 183 | <h2 class="memtitle"><span class="permalink"><a href="#af9b9254fb8a084f0db4f7deff0498b20">◆ </a></span>Create()</h2> |
| 184 | |
| 185 | <div class="memitem"> |
| 186 | <div class="memproto"> |
| 187 | <table class="mlabels"> |
| 188 | <tr> |
| 189 | <td class="mlabels-left"> |
| 190 | <table class="memname"> |
| 191 | <tr> |
| 192 | <td class="memname"><a class="el" href="namespacearmnn_onnx_parser.xhtml#ac7dfccab29feeb5f33f1ec0183c1e123">IOnnxParserPtr</a> Create </td> |
| 193 | <td>(</td> |
| 194 | <td class="paramname"></td><td>)</td> |
| 195 | <td></td> |
| 196 | </tr> |
| 197 | </table> |
| 198 | </td> |
| 199 | <td class="mlabels-right"> |
| 200 | <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 201 | </tr> |
| 202 | </table> |
| 203 | </div><div class="memdoc"> |
| 204 | |
| 205 | <p class="definition">Definition at line <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00424">424</a> of file <a class="el" href="_onnx_parser_8cpp_source.xhtml">OnnxParser.cpp</a>.</p> |
| 206 | |
| 207 | <p class="reference">Referenced by <a class="el" href="_constructor_8cpp_source.xhtml#l00011">BOOST_AUTO_TEST_CASE()</a>.</p> |
| 208 | <div class="fragment"><div class="line"><a name="l00425"></a><span class="lineno"> 425</span> {</div><div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn_onnx_parser.xhtml#ac7dfccab29feeb5f33f1ec0183c1e123">IOnnxParserPtr</a>(<a class="code" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#a1ae1d4dfe89d26b84d371439d6815bfb">CreateRaw</a>(), &<a class="code" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#a793da4fa60bf13f128c20d8def32c291">IOnnxParser::Destroy</a>);</div><div class="line"><a name="l00427"></a><span class="lineno"> 427</span> }</div><div class="ttc" id="classarmnn_onnx_parser_1_1_i_onnx_parser_xhtml_a1ae1d4dfe89d26b84d371439d6815bfb"><div class="ttname"><a href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#a1ae1d4dfe89d26b84d371439d6815bfb">armnnOnnxParser::IOnnxParser::CreateRaw</a></div><div class="ttdeci">static IOnnxParser * CreateRaw()</div><div class="ttdef"><b>Definition:</b> <a href="_onnx_parser_8cpp_source.xhtml#l00419">OnnxParser.cpp:419</a></div></div> |
| 209 | <div class="ttc" id="classarmnn_onnx_parser_1_1_i_onnx_parser_xhtml_a793da4fa60bf13f128c20d8def32c291"><div class="ttname"><a href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml#a793da4fa60bf13f128c20d8def32c291">armnnOnnxParser::IOnnxParser::Destroy</a></div><div class="ttdeci">static void Destroy(IOnnxParser *parser)</div><div class="ttdef"><b>Definition:</b> <a href="_onnx_parser_8cpp_source.xhtml#l00429">OnnxParser.cpp:429</a></div></div> |
| 210 | <div class="ttc" id="namespacearmnn_onnx_parser_xhtml_ac7dfccab29feeb5f33f1ec0183c1e123"><div class="ttname"><a href="namespacearmnn_onnx_parser.xhtml#ac7dfccab29feeb5f33f1ec0183c1e123">armnnOnnxParser::IOnnxParserPtr</a></div><div class="ttdeci">std::unique_ptr< IOnnxParser, void(*)(IOnnxParser *parser)> IOnnxParserPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_onnx_parser_8hpp_source.xhtml#l00020">IOnnxParser.hpp:20</a></div></div> |
| 211 | </div><!-- fragment --> |
| 212 | </div> |
| 213 | </div> |
| 214 | <a id="ad92bc619ba8c78c9a4200d6635fde326"></a> |
| 215 | <h2 class="memtitle"><span class="permalink"><a href="#ad92bc619ba8c78c9a4200d6635fde326">◆ </a></span>CreateNetworkFromBinaryFile()</h2> |
| 216 | |
| 217 | <div class="memitem"> |
| 218 | <div class="memproto"> |
| 219 | <table class="mlabels"> |
| 220 | <tr> |
| 221 | <td class="mlabels-left"> |
| 222 | <table class="memname"> |
| 223 | <tr> |
| 224 | <td class="memname">virtual <a class="el" href="namespacearmnn.xhtml#ace74f6f9feb95a964a49d79458232703">armnn::INetworkPtr</a> CreateNetworkFromBinaryFile </td> |
| 225 | <td>(</td> |
| 226 | <td class="paramtype">const char * </td> |
| 227 | <td class="paramname"><em>graphFile</em></td><td>)</td> |
| 228 | <td></td> |
| 229 | </tr> |
| 230 | </table> |
| 231 | </td> |
| 232 | <td class="mlabels-right"> |
| 233 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 234 | </tr> |
| 235 | </table> |
| 236 | </div><div class="memdoc"> |
| 237 | |
| 238 | <p>Create the network from a protobuf binary file on disk. </p> |
| 239 | |
| 240 | <p>Implemented in <a class="el" href="classarmnn_onnx_parser_1_1_onnx_parser.xhtml#a012b24cafd443425314d4f9e06cec6c1">OnnxParser</a>.</p> |
| 241 | |
| 242 | </div> |
| 243 | </div> |
| 244 | <a id="a02561e57c710ca5c616279c928125f1c"></a> |
| 245 | <h2 class="memtitle"><span class="permalink"><a href="#a02561e57c710ca5c616279c928125f1c">◆ </a></span>CreateNetworkFromString()</h2> |
| 246 | |
| 247 | <div class="memitem"> |
| 248 | <div class="memproto"> |
| 249 | <table class="mlabels"> |
| 250 | <tr> |
| 251 | <td class="mlabels-left"> |
| 252 | <table class="memname"> |
| 253 | <tr> |
| 254 | <td class="memname">virtual <a class="el" href="namespacearmnn.xhtml#ace74f6f9feb95a964a49d79458232703">armnn::INetworkPtr</a> CreateNetworkFromString </td> |
| 255 | <td>(</td> |
| 256 | <td class="paramtype">const std::string & </td> |
| 257 | <td class="paramname"><em>protoText</em></td><td>)</td> |
| 258 | <td></td> |
| 259 | </tr> |
| 260 | </table> |
| 261 | </td> |
| 262 | <td class="mlabels-right"> |
| 263 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 264 | </tr> |
| 265 | </table> |
| 266 | </div><div class="memdoc"> |
| 267 | |
| 268 | <p>Create the network directly from protobuf text in a string. Useful for debugging/testing. </p> |
| 269 | |
| 270 | <p>Implemented in <a class="el" href="classarmnn_onnx_parser_1_1_onnx_parser.xhtml#a4cb67bfbe630abf10787ac613d1a31c5">OnnxParser</a>.</p> |
| 271 | |
| 272 | </div> |
| 273 | </div> |
| 274 | <a id="a9f8e06d1391080a1f34e49997c16f878"></a> |
| 275 | <h2 class="memtitle"><span class="permalink"><a href="#a9f8e06d1391080a1f34e49997c16f878">◆ </a></span>CreateNetworkFromTextFile()</h2> |
| 276 | |
| 277 | <div class="memitem"> |
| 278 | <div class="memproto"> |
| 279 | <table class="mlabels"> |
| 280 | <tr> |
| 281 | <td class="mlabels-left"> |
| 282 | <table class="memname"> |
| 283 | <tr> |
| 284 | <td class="memname">virtual <a class="el" href="namespacearmnn.xhtml#ace74f6f9feb95a964a49d79458232703">armnn::INetworkPtr</a> CreateNetworkFromTextFile </td> |
| 285 | <td>(</td> |
| 286 | <td class="paramtype">const char * </td> |
| 287 | <td class="paramname"><em>graphFile</em></td><td>)</td> |
| 288 | <td></td> |
| 289 | </tr> |
| 290 | </table> |
| 291 | </td> |
| 292 | <td class="mlabels-right"> |
| 293 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 294 | </tr> |
| 295 | </table> |
| 296 | </div><div class="memdoc"> |
| 297 | |
| 298 | <p>Create the network from a protobuf text file on disk. </p> |
| 299 | |
| 300 | <p>Implemented in <a class="el" href="classarmnn_onnx_parser_1_1_onnx_parser.xhtml#a08bac41eb476686564b15063edf1fc04">OnnxParser</a>.</p> |
| 301 | |
| 302 | </div> |
| 303 | </div> |
| 304 | <a id="a1ae1d4dfe89d26b84d371439d6815bfb"></a> |
| 305 | <h2 class="memtitle"><span class="permalink"><a href="#a1ae1d4dfe89d26b84d371439d6815bfb">◆ </a></span>CreateRaw()</h2> |
| 306 | |
| 307 | <div class="memitem"> |
| 308 | <div class="memproto"> |
| 309 | <table class="mlabels"> |
| 310 | <tr> |
| 311 | <td class="mlabels-left"> |
| 312 | <table class="memname"> |
| 313 | <tr> |
| 314 | <td class="memname"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml">IOnnxParser</a> * CreateRaw </td> |
| 315 | <td>(</td> |
| 316 | <td class="paramname"></td><td>)</td> |
| 317 | <td></td> |
| 318 | </tr> |
| 319 | </table> |
| 320 | </td> |
| 321 | <td class="mlabels-right"> |
| 322 | <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 323 | </tr> |
| 324 | </table> |
| 325 | </div><div class="memdoc"> |
| 326 | |
| 327 | <p class="definition">Definition at line <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00419">419</a> of file <a class="el" href="_onnx_parser_8cpp_source.xhtml">OnnxParser.cpp</a>.</p> |
| 328 | <div class="fragment"><div class="line"><a name="l00420"></a><span class="lineno"> 420</span> {</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> OnnxParser();</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span> }</div></div><!-- fragment --> |
| 329 | </div> |
| 330 | </div> |
| 331 | <a id="a793da4fa60bf13f128c20d8def32c291"></a> |
| 332 | <h2 class="memtitle"><span class="permalink"><a href="#a793da4fa60bf13f128c20d8def32c291">◆ </a></span>Destroy()</h2> |
| 333 | |
| 334 | <div class="memitem"> |
| 335 | <div class="memproto"> |
| 336 | <table class="mlabels"> |
| 337 | <tr> |
| 338 | <td class="mlabels-left"> |
| 339 | <table class="memname"> |
| 340 | <tr> |
| 341 | <td class="memname">void Destroy </td> |
| 342 | <td>(</td> |
| 343 | <td class="paramtype"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml">IOnnxParser</a> * </td> |
| 344 | <td class="paramname"><em>parser</em></td><td>)</td> |
| 345 | <td></td> |
| 346 | </tr> |
| 347 | </table> |
| 348 | </td> |
| 349 | <td class="mlabels-right"> |
| 350 | <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 351 | </tr> |
| 352 | </table> |
| 353 | </div><div class="memdoc"> |
| 354 | |
| 355 | <p class="definition">Definition at line <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00429">429</a> of file <a class="el" href="_onnx_parser_8cpp_source.xhtml">OnnxParser.cpp</a>.</p> |
| 356 | <div class="fragment"><div class="line"><a name="l00430"></a><span class="lineno"> 430</span> {</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keyword">delete</span> parser;</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span> }</div></div><!-- fragment --> |
| 357 | </div> |
| 358 | </div> |
| 359 | <a id="adbba18b867f84bfcd3c88d06f275eac9"></a> |
| 360 | <h2 class="memtitle"><span class="permalink"><a href="#adbba18b867f84bfcd3c88d06f275eac9">◆ </a></span>GetNetworkInputBindingInfo()</h2> |
| 361 | |
| 362 | <div class="memitem"> |
| 363 | <div class="memproto"> |
| 364 | <table class="mlabels"> |
| 365 | <tr> |
| 366 | <td class="mlabels-left"> |
| 367 | <table class="memname"> |
| 368 | <tr> |
| 369 | <td class="memname">virtual <a class="el" href="namespacearmnn_onnx_parser.xhtml#a9084adbf804022c874039ad40d1939e9">BindingPointInfo</a> GetNetworkInputBindingInfo </td> |
| 370 | <td>(</td> |
| 371 | <td class="paramtype">const std::string & </td> |
| 372 | <td class="paramname"><em>name</em></td><td>)</td> |
| 373 | <td> const</td> |
| 374 | </tr> |
| 375 | </table> |
| 376 | </td> |
| 377 | <td class="mlabels-right"> |
| 378 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 379 | </tr> |
| 380 | </table> |
| 381 | </div><div class="memdoc"> |
| 382 | |
| 383 | <p>Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name. </p> |
| 384 | |
| 385 | <p>Implemented in <a class="el" href="classarmnn_onnx_parser_1_1_onnx_parser.xhtml#aba39201ebaeb0738f15a14b3c8da1f5a">OnnxParser</a>.</p> |
| 386 | |
| 387 | </div> |
| 388 | </div> |
| 389 | <a id="a99d33c004ce680f49893c9254d9bff5a"></a> |
| 390 | <h2 class="memtitle"><span class="permalink"><a href="#a99d33c004ce680f49893c9254d9bff5a">◆ </a></span>GetNetworkOutputBindingInfo()</h2> |
| 391 | |
| 392 | <div class="memitem"> |
| 393 | <div class="memproto"> |
| 394 | <table class="mlabels"> |
| 395 | <tr> |
| 396 | <td class="mlabels-left"> |
| 397 | <table class="memname"> |
| 398 | <tr> |
| 399 | <td class="memname">virtual <a class="el" href="namespacearmnn_onnx_parser.xhtml#a9084adbf804022c874039ad40d1939e9">BindingPointInfo</a> GetNetworkOutputBindingInfo </td> |
| 400 | <td>(</td> |
| 401 | <td class="paramtype">const std::string & </td> |
| 402 | <td class="paramname"><em>name</em></td><td>)</td> |
| 403 | <td> const</td> |
| 404 | </tr> |
| 405 | </table> |
| 406 | </td> |
| 407 | <td class="mlabels-right"> |
| 408 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 409 | </tr> |
| 410 | </table> |
| 411 | </div><div class="memdoc"> |
| 412 | |
| 413 | <p>Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name. </p> |
| 414 | |
| 415 | <p>Implemented in <a class="el" href="classarmnn_onnx_parser_1_1_onnx_parser.xhtml#aee8c8fa7de3c87392791d9f8dd90655f">OnnxParser</a>.</p> |
| 416 | |
| 417 | </div> |
| 418 | </div> |
| 419 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 420 | <li>include/armnnOnnxParser/<a class="el" href="_i_onnx_parser_8hpp_source.xhtml">IOnnxParser.hpp</a></li> |
| 421 | <li>src/armnnOnnxParser/<a class="el" href="_onnx_parser_8cpp_source.xhtml">OnnxParser.cpp</a></li> |
| 422 | </ul> |
| 423 | </div><!-- contents --> |
| 424 | </div><!-- doc-content --> |
| 425 | <!-- start footer part --> |
| 426 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 427 | <ul> |
| 428 | <li class="navelem"><a class="el" href="namespacearmnn_onnx_parser.xhtml">armnnOnnxParser</a></li><li class="navelem"><a class="el" href="classarmnn_onnx_parser_1_1_i_onnx_parser.xhtml">IOnnxParser</a></li> |
| 429 | <li class="footer">Generated on Fri Mar 13 2020 16:09:21 for ArmNN by |
| 430 | <a href="http://www.doxygen.org/index.html"> |
| 431 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 432 | </ul> |
| 433 | </div> |
| 434 | </body> |
| 435 | </html> |