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: TypeAnyOf Struct 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('structarmnn_1_1_type_any_of.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="structarmnn_1_1_type_any_of-members.xhtml">List of all members</a> </div> |
| 100 | <div class="headertitle"> |
| 101 | <div class="title">TypeAnyOf Struct Reference</div> </div> |
| 102 | </div><!--header--> |
| 103 | <div class="contents"> |
| 104 | |
| 105 | <p><code>#include <<a class="el" href="_layer_support_rules_8hpp_source.xhtml">LayerSupportRules.hpp</a>></code></p> |
| 106 | <div class="dynheader"> |
| 107 | Inheritance diagram for TypeAnyOf:</div> |
| 108 | <div class="dyncontent"> |
| 109 | <div class="center"> |
| 110 | <img src="structarmnn_1_1_type_any_of.png" usemap="#TypeAnyOf_map" alt=""/> |
| 111 | <map id="TypeAnyOf_map" name="TypeAnyOf_map"> |
| 112 | <area href="structarmnn_1_1_rule.xhtml" alt="Rule" shape="rect" coords="0,0,77,24"/> |
| 113 | </map> |
| 114 | </div></div> |
| 115 | <table class="memberdecls"> |
| 116 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 117 | Public Member Functions</h2></td></tr> |
| 118 | <tr class="memitem:a3f831199c2d2c5210aee2e8081aa3a67"><td class="memTemplParams" colspan="2">template<typename Container > </td></tr> |
| 119 | <tr class="memitem:a3f831199c2d2c5210aee2e8081aa3a67"><td class="memTemplItemLeft" align="right" valign="top"> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_type_any_of.xhtml#a3f831199c2d2c5210aee2e8081aa3a67">TypeAnyOf</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &<a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>, const Container &c)</td></tr> |
| 120 | <tr class="separator:a3f831199c2d2c5210aee2e8081aa3a67"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="inherit_header pub_methods_structarmnn_1_1_rule"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structarmnn_1_1_rule')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="structarmnn_1_1_rule.xhtml">Rule</a></td></tr> |
| 122 | <tr class="memitem:ac07d93c2c80e51349f3dec89a2e45c84 inherit pub_methods_structarmnn_1_1_rule"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_rule.xhtml#ac07d93c2c80e51349f3dec89a2e45c84">operator()</a> () const</td></tr> |
| 123 | <tr class="separator:ac07d93c2c80e51349f3dec89a2e45c84 inherit pub_methods_structarmnn_1_1_rule"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | </table><table class="memberdecls"> |
| 125 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| 126 | Additional Inherited Members</h2></td></tr> |
| 127 | <tr class="inherit_header pub_attribs_structarmnn_1_1_rule"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_structarmnn_1_1_rule')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="structarmnn_1_1_rule.xhtml">Rule</a></td></tr> |
| 128 | <tr class="memitem:a56ff3471540bd0e390495d3537db42e6 inherit pub_attribs_structarmnn_1_1_rule"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_rule.xhtml#a56ff3471540bd0e390495d3537db42e6">m_Res</a> = <a class="el" href="_ref_layer_tests_8cpp.xhtml#a37f1c3ccc9fc906be85185350dd83d48">true</a></td></tr> |
| 129 | <tr class="separator:a56ff3471540bd0e390495d3537db42e6 inherit pub_attribs_structarmnn_1_1_rule"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | </table> |
| 131 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 132 | <div class="textblock"> |
| 133 | <p class="definition">Definition at line <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00089">89</a> of file <a class="el" href="_layer_support_rules_8hpp_source.xhtml">LayerSupportRules.hpp</a>.</p> |
| 134 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 135 | <a id="a3f831199c2d2c5210aee2e8081aa3a67"></a> |
| 136 | <h2 class="memtitle"><span class="permalink"><a href="#a3f831199c2d2c5210aee2e8081aa3a67">◆ </a></span>TypeAnyOf()</h2> |
| 137 | |
| 138 | <div class="memitem"> |
| 139 | <div class="memproto"> |
| 140 | <table class="mlabels"> |
| 141 | <tr> |
| 142 | <td class="mlabels-left"> |
| 143 | <table class="memname"> |
| 144 | <tr> |
| 145 | <td class="memname"><a class="el" href="structarmnn_1_1_type_any_of.xhtml">TypeAnyOf</a> </td> |
| 146 | <td>(</td> |
| 147 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & </td> |
| 148 | <td class="paramname"><em>info</em>, </td> |
| 149 | </tr> |
| 150 | <tr> |
| 151 | <td class="paramkey"></td> |
| 152 | <td></td> |
| 153 | <td class="paramtype">const Container & </td> |
| 154 | <td class="paramname"><em>c</em> </td> |
| 155 | </tr> |
| 156 | <tr> |
| 157 | <td></td> |
| 158 | <td>)</td> |
| 159 | <td></td><td></td> |
| 160 | </tr> |
| 161 | </table> |
| 162 | </td> |
| 163 | <td class="mlabels-right"> |
| 164 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 165 | </tr> |
| 166 | </table> |
| 167 | </div><div class="memdoc"> |
| 168 | |
| 169 | <p class="definition">Definition at line <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00092">92</a> of file <a class="el" href="_layer_support_rules_8hpp_source.xhtml">LayerSupportRules.hpp</a>.</p> |
| 170 | |
| 171 | <p class="reference">References <a class="el" href="_tensor_8hpp_source.xhtml#l00095">TensorInfo::GetDataType()</a>, <a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::info</a>, and <a class="el" href="_layer_support_rules_8hpp_source.xhtml#l00054">Rule::m_Res</a>.</p> |
| 172 | <div class="fragment"><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  {</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="structarmnn_1_1_rule.xhtml#a56ff3471540bd0e390495d3537db42e6">m_Res</a> = std::any_of(c.begin(), c.end(), [&<a class="code" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>](<a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> dt)</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  {</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">return</span> dt == <a class="code" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>.GetDataType();</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  });</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  }</div><div class="ttc" id="structarmnn_1_1_rule_xhtml_a56ff3471540bd0e390495d3537db42e6"><div class="ttname"><a href="structarmnn_1_1_rule.xhtml#a56ff3471540bd0e390495d3537db42e6">armnn::Rule::m_Res</a></div><div class="ttdeci">bool m_Res</div><div class="ttdef"><b>Definition:</b> <a href="_layer_support_rules_8hpp_source.xhtml#l00054">LayerSupportRules.hpp:54</a></div></div> |
| 173 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a></div><div class="ttdeci">DataType</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.xhtml#l00032">Types.hpp:32</a></div></div> |
| 174 | <div class="ttc" id="namespacearmnn_xhtml_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div> |
| 175 | </div><!-- fragment --> |
| 176 | </div> |
| 177 | </div> |
| 178 | <hr/>The documentation for this struct was generated from the following file:<ul> |
| 179 | <li>src/backends/backendsCommon/<a class="el" href="_layer_support_rules_8hpp_source.xhtml">LayerSupportRules.hpp</a></li> |
| 180 | </ul> |
| 181 | </div><!-- contents --> |
| 182 | </div><!-- doc-content --> |
| 183 | <!-- start footer part --> |
| 184 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 185 | <ul> |
| 186 | <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_type_any_of.xhtml">TypeAnyOf</a></li> |
| 187 | <li class="footer">Generated on Fri Mar 13 2020 16:09:20 for ArmNN by |
| 188 | <a href="http://www.doxygen.org/index.html"> |
| 189 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 190 | </ul> |
| 191 | </div> |
| 192 | </body> |
| 193 | </html> |