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/armnn/test/TestNameAndDescriptorLayerVisitor.hpp File Reference</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('_test_name_and_descriptor_layer_visitor_8hpp.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="summary"> |
| 84 | <a href="#nested-classes">Classes</a> | |
| 85 | <a href="#define-members">Macros</a> </div> |
| 86 | <div class="headertitle"> |
| 87 | <div class="title">TestNameAndDescriptorLayerVisitor.hpp File Reference</div> </div> |
| 88 | </div><!--header--> |
| 89 | <div class="contents"> |
| 90 | <div class="textblock"><code>#include "<a class="el" href="_test_layer_visitor_8hpp_source.html">TestLayerVisitor.hpp</a>"</code><br /> |
| 91 | <code>#include <boost/test/unit_test.hpp></code><br /> |
| 92 | </div> |
| 93 | <p><a href="_test_name_and_descriptor_layer_visitor_8hpp_source.html">Go to the source code of this file.</a></p> |
| 94 | <table class="memberdecls"> |
| 95 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| 96 | Classes</h2></td></tr> |
| 97 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_activation_layer_visitor.html">TestActivationLayerVisitor</a></td></tr> |
| 98 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 99 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_arg_min_max_layer_visitor.html">TestArgMinMaxLayerVisitor</a></td></tr> |
| 100 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 101 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_batch_to_space_nd_layer_visitor.html">TestBatchToSpaceNdLayerVisitor</a></td></tr> |
| 102 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 103 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_comparison_layer_visitor.html">TestComparisonLayerVisitor</a></td></tr> |
| 104 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 105 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_concat_layer_visitor.html">TestConcatLayerVisitor</a></td></tr> |
| 106 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 107 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_depth_to_space_layer_visitor.html">TestDepthToSpaceLayerVisitor</a></td></tr> |
| 108 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_elementwise_unary_layer_visitor.html">TestElementwiseUnaryLayerVisitor</a></td></tr> |
| 110 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 111 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_instance_normalization_layer_visitor.html">TestInstanceNormalizationLayerVisitor</a></td></tr> |
| 112 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_l2_normalization_layer_visitor.html">TestL2NormalizationLayerVisitor</a></td></tr> |
| 114 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_log_softmax_layer_visitor.html">TestLogSoftmaxLayerVisitor</a></td></tr> |
| 116 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_mean_layer_visitor.html">TestMeanLayerVisitor</a></td></tr> |
| 118 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_normalization_layer_visitor.html">TestNormalizationLayerVisitor</a></td></tr> |
| 120 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_pad_layer_visitor.html">TestPadLayerVisitor</a></td></tr> |
| 122 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_permute_layer_visitor.html">TestPermuteLayerVisitor</a></td></tr> |
| 124 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_pooling2d_layer_visitor.html">TestPooling2dLayerVisitor</a></td></tr> |
| 126 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_reshape_layer_visitor.html">TestReshapeLayerVisitor</a></td></tr> |
| 128 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_resize_layer_visitor.html">TestResizeLayerVisitor</a></td></tr> |
| 130 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_slice_layer_visitor.html">TestSliceLayerVisitor</a></td></tr> |
| 132 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_softmax_layer_visitor.html">TestSoftmaxLayerVisitor</a></td></tr> |
| 134 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_space_to_batch_nd_layer_visitor.html">TestSpaceToBatchNdLayerVisitor</a></td></tr> |
| 136 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_space_to_depth_layer_visitor.html">TestSpaceToDepthLayerVisitor</a></td></tr> |
| 138 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_splitter_layer_visitor.html">TestSplitterLayerVisitor</a></td></tr> |
| 140 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_stack_layer_visitor.html">TestStackLayerVisitor</a></td></tr> |
| 142 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_stand_in_layer_visitor.html">TestStandInLayerVisitor</a></td></tr> |
| 144 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 145 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_test_strided_slice_layer_visitor.html">TestStridedSliceLayerVisitor</a></td></tr> |
| 146 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 147 | </table><table class="memberdecls"> |
| 148 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> |
| 149 | Macros</h2></td></tr> |
| 150 | <tr class="memitem:abb64418b249a328aae53463610990dc4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_test_name_and_descriptor_layer_visitor_8hpp.html#abb64418b249a328aae53463610990dc4">DECLARE_TEST_NAME_AND_DESCRIPTOR_LAYER_VISITOR_CLASS</a>(name)</td></tr> |
| 151 | <tr class="separator:abb64418b249a328aae53463610990dc4"><td class="memSeparator" colspan="2"> </td></tr> |
| 152 | </table> |
| 153 | <h2 class="groupheader">Macro Definition Documentation</h2> |
| 154 | <a id="abb64418b249a328aae53463610990dc4"></a> |
| 155 | <h2 class="memtitle"><span class="permalink"><a href="#abb64418b249a328aae53463610990dc4">◆ </a></span>DECLARE_TEST_NAME_AND_DESCRIPTOR_LAYER_VISITOR_CLASS</h2> |
| 156 | |
| 157 | <div class="memitem"> |
| 158 | <div class="memproto"> |
| 159 | <table class="memname"> |
| 160 | <tr> |
| 161 | <td class="memname">#define DECLARE_TEST_NAME_AND_DESCRIPTOR_LAYER_VISITOR_CLASS</td> |
| 162 | <td>(</td> |
| 163 | <td class="paramtype"> </td> |
| 164 | <td class="paramname">name</td><td>)</td> |
| 165 | <td></td> |
| 166 | </tr> |
| 167 | </table> |
| 168 | </div><div class="memdoc"> |
| 169 | <b>Value:</b><div class="fragment"><div class="line"><span class="keyword">class </span>Test##name##LayerVisitor : <span class="keyword">public</span> <a class="code" href="classarmnn_1_1_test_layer_visitor.html">armnn::TestLayerVisitor</a> \</div><div class="line">{ \</div><div class="line">private: \</div><div class="line"> using Descriptor = armnn::name##Descriptor; \</div><div class="line"> Descriptor m_Descriptor; \</div><div class="line"> \</div><div class="line"> bool CheckDescriptor(<span class="keyword">const</span> Descriptor& descriptor) \</div><div class="line"> { \</div><div class="line"> return descriptor == m_Descriptor; \</div><div class="line"> } \</div><div class="line">\</div><div class="line">public: \</div><div class="line"> explicit Test##name##LayerVisitor(<span class="keyword">const</span> Descriptor& descriptor, \</div><div class="line"> <span class="keyword">const</span> <span class="keywordtype">char</span>* layerName = <span class="keyword">nullptr</span>) \</div><div class="line"> : <a class="code" href="classarmnn_1_1_test_layer_visitor.html">armnn::TestLayerVisitor</a>(layerName) \</div><div class="line"> , m_Descriptor(descriptor) {}; \</div><div class="line"> \</div><div class="line"> void Visit##name##Layer(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html">armnn::IConnectableLayer</a>* layer, \</div><div class="line"> <span class="keyword">const</span> Descriptor& descriptor, \</div><div class="line"> <span class="keyword">const</span> <span class="keywordtype">char</span>* layerName = <span class="keyword">nullptr</span>) override \</div><div class="line"> { \</div><div class="line"> CheckLayerPointer(layer); \</div><div class="line"> CheckDescriptor(descriptor); \</div><div class="line"> CheckLayerName(layerName); \</div><div class="line"> } \</div><div class="line">};</div><div class="ttc" id="classarmnn_1_1_test_layer_visitor_html"><div class="ttname"><a href="classarmnn_1_1_test_layer_visitor.html">armnn::TestLayerVisitor</a></div><div class="ttdef"><b>Definition:</b> <a href="_test_layer_visitor_8hpp_source.html#l00013">TestLayerVisitor.hpp:13</a></div></div> |
| 170 | <div class="ttc" id="classarmnn_1_1_i_connectable_layer_html"><div class="ttname"><a href="classarmnn_1_1_i_connectable_layer.html">armnn::IConnectableLayer</a></div><div class="ttdoc">Interface for a layer that is connectable to other layers via InputSlots and OutputSlots. </div><div class="ttdef"><b>Definition:</b> <a href="_i_network_8hpp_source.html#l00061">INetwork.hpp:61</a></div></div> |
| 171 | </div><!-- fragment --> |
| 172 | <p class="definition">Definition at line <a class="el" href="_test_name_and_descriptor_layer_visitor_8hpp_source.html#l00015">15</a> of file <a class="el" href="_test_name_and_descriptor_layer_visitor_8hpp_source.html">TestNameAndDescriptorLayerVisitor.hpp</a>.</p> |
| 173 | |
| 174 | </div> |
| 175 | </div> |
| 176 | </div><!-- contents --> |
| 177 | </div><!-- doc-content --> |
| 178 | <!-- start footer part --> |
| 179 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 180 | <ul> |
| 181 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_e0a84d05c80a2ef4231141dcbbeac5c8.html">armnn</a></li><li class="navelem"><a class="el" href="dir_9d86fd1fbecbedf5bdb69c7e7235fe5f.html">test</a></li><li class="navelem"><a class="el" href="_test_name_and_descriptor_layer_visitor_8hpp.html">TestNameAndDescriptorLayerVisitor.hpp</a></li> |
| 182 | <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by |
| 183 | <a href="http://www.doxygen.org/index.html"> |
| 184 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 185 | </ul> |
| 186 | </div> |
| 187 | </body> |
| 188 | </html> |