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">
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/armnnTfParser/test/Greater.cpp 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);
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" />
25 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
27 <table cellspacing="0" cellpadding="0">
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>
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');
44 <script type="text/javascript" src="menudata.js"></script>
45 <script type="text/javascript" src="menu.js"></script>
46 <script type="text/javascript">
48 initMenu('',true,false,'search.php','Search');
49 $(document).ready(function() { init_search(); });
52 <div id="main-nav"></div>
54 <div id="side-nav" class="ui-resizable side-nav-resizable">
56 <div id="nav-tree-contents">
57 <div id="nav-sync" class="sync"></div>
60 <div id="splitbar" style="-moz-user-select:none;"
61 class="ui-resizable-handle">
64 <script type="text/javascript">
65 $(document).ready(function(){initNavTree('_greater_8cpp.html','');});
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)">
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">
84 <a href="#func-members">Functions</a> </div>
85 <div class="headertitle">
86 <div class="title">Greater.cpp File Reference</div> </div>
88 <div class="contents">
89 <div class="textblock"><code>#include <boost/test/unit_test.hpp></code><br />
90 <code>#include "<a class="el" href="_i_tf_parser_8hpp_source.html">armnnTfParser/ITfParser.hpp</a>"</code><br />
91 <code>#include "<a class="el" href="_parser_prototxt_fixture_8hpp_source.html">ParserPrototxtFixture.hpp</a>"</code><br />
93 <p><a href="_greater_8cpp_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="func-members"></a>
96 Functions</h2></td></tr>
97 <tr class="memitem:ab711e2eff6de5850f806e0ebf88c5a02"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_greater_8cpp.html#ab711e2eff6de5850f806e0ebf88c5a02">BOOST_FIXTURE_TEST_CASE</a> (ParseGreaterUnsupportedBroadcast, GreaterFixture)</td></tr>
98 <tr class="separator:ab711e2eff6de5850f806e0ebf88c5a02"><td class="memSeparator" colspan="2"> </td></tr>
99 <tr class="memitem:afa85c5b3d00a03469c57c7a093b884b9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_greater_8cpp.html#afa85c5b3d00a03469c57c7a093b884b9">BOOST_FIXTURE_TEST_CASE</a> (ParseGreaterTwoByTwo, GreaterFixtureTwoByTwo)</td></tr>
100 <tr class="separator:afa85c5b3d00a03469c57c7a093b884b9"><td class="memSeparator" colspan="2"> </td></tr>
101 <tr class="memitem:aa438947e58fe7b11178ee322ba981bdf"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_greater_8cpp.html#aa438947e58fe7b11178ee322ba981bdf">BOOST_FIXTURE_TEST_CASE</a> (ParseGreaterBroadcast1DToTwoByTwo, GreaterBroadcast1DAnd4D)</td></tr>
102 <tr class="separator:aa438947e58fe7b11178ee322ba981bdf"><td class="memSeparator" colspan="2"> </td></tr>
103 <tr class="memitem:aa55589c6ce9f8167fe98b89f14d41132"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_greater_8cpp.html#aa55589c6ce9f8167fe98b89f14d41132">BOOST_FIXTURE_TEST_CASE</a> (ParseGreaterBroadcast4DAnd1D, GreaterBroadcast4DAnd1D)</td></tr>
104 <tr class="separator:aa55589c6ce9f8167fe98b89f14d41132"><td class="memSeparator" colspan="2"> </td></tr>
105 <tr class="memitem:abdb85c09c55c6a1bbd1b7fa297100fa6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_greater_8cpp.html#abdb85c09c55c6a1bbd1b7fa297100fa6">BOOST_FIXTURE_TEST_CASE</a> (ParseGreaterMultiDimBroadcast, GreaterMultiDimBroadcast)</td></tr>
106 <tr class="separator:abdb85c09c55c6a1bbd1b7fa297100fa6"><td class="memSeparator" colspan="2"> </td></tr>
108 <h2 class="groupheader">Function Documentation</h2>
109 <a id="ab711e2eff6de5850f806e0ebf88c5a02"></a>
110 <h2 class="memtitle"><span class="permalink"><a href="#ab711e2eff6de5850f806e0ebf88c5a02">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[1/5]</span></h2>
112 <div class="memitem">
113 <div class="memproto">
114 <table class="memname">
116 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
118 <td class="paramtype">ParseGreaterUnsupportedBroadcast </td>
119 <td class="paramname">, </td>
122 <td class="paramkey"></td>
124 <td class="paramtype">GreaterFixture </td>
125 <td class="paramname"> </td>
133 </div><div class="memdoc">
135 <p class="definition">Definition at line <a class="el" href="_greater_8cpp_source.html#l00067">67</a> of file <a class="el" href="_greater_8cpp_source.html">Greater.cpp</a>.</p>
137 <p class="reference">References <a class="el" href="_parser_prototxt_fixture_8hpp_source.html#l00140">ParserPrototxtFixture< TParser >::Setup()</a>.</p>
138 <div class="fragment"><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>  BOOST_REQUIRE_THROW(Setup({ { <span class="stringliteral">"input0"</span>, {2, 3} },</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  { <span class="stringliteral">"input1"</span>, {1, 2, 2, 3} } },</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  { <span class="stringliteral">"output"</span> }),</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classarmnn_1_1_parse_exception.html">armnn::ParseException</a>);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> }</div><div class="ttc" id="classarmnn_1_1_parse_exception_html"><div class="ttname"><a href="classarmnn_1_1_parse_exception.html">armnn::ParseException</a></div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00092">Exceptions.hpp:92</a></div></div>
139 </div><!-- fragment -->
142 <a id="afa85c5b3d00a03469c57c7a093b884b9"></a>
143 <h2 class="memtitle"><span class="permalink"><a href="#afa85c5b3d00a03469c57c7a093b884b9">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[2/5]</span></h2>
145 <div class="memitem">
146 <div class="memproto">
147 <table class="memname">
149 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
151 <td class="paramtype">ParseGreaterTwoByTwo </td>
152 <td class="paramname">, </td>
155 <td class="paramkey"></td>
157 <td class="paramtype">GreaterFixtureTwoByTwo </td>
158 <td class="paramname"> </td>
166 </div><div class="memdoc">
168 <p class="definition">Definition at line <a class="el" href="_greater_8cpp_source.html#l00092">92</a> of file <a class="el" href="_greater_8cpp_source.html">Greater.cpp</a>.</p>
169 <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>  RunComparisonTest<2>({ { <span class="stringliteral">"input0"</span>, { 1.0f, 2.0f, 3.0f, 4.0f} },</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  { <span class="stringliteral">"input1"</span>, { 1.0f, 5.0f, 2.0f, 2.0f} } },</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  { { <span class="stringliteral">"output"</span>, { 0, 0, 1, 1} } });</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> }</div></div><!-- fragment -->
172 <a id="aa438947e58fe7b11178ee322ba981bdf"></a>
173 <h2 class="memtitle"><span class="permalink"><a href="#aa438947e58fe7b11178ee322ba981bdf">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[3/5]</span></h2>
175 <div class="memitem">
176 <div class="memproto">
177 <table class="memname">
179 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
181 <td class="paramtype">ParseGreaterBroadcast1DToTwoByTwo </td>
182 <td class="paramname">, </td>
185 <td class="paramkey"></td>
187 <td class="paramtype">GreaterBroadcast1DAnd4D </td>
188 <td class="paramname"> </td>
196 </div><div class="memdoc">
198 <p class="definition">Definition at line <a class="el" href="_greater_8cpp_source.html#l00104">104</a> of file <a class="el" href="_greater_8cpp_source.html">Greater.cpp</a>.</p>
199 <div class="fragment"><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> {</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  RunComparisonTest<4>({ { <span class="stringliteral">"input0"</span>, { 2.0f } },</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  { <span class="stringliteral">"input1"</span>, { 1.0f, 2.0f, 3.0f, 2.0f } } },</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  { { <span class="stringliteral">"output"</span>, { 1, 0, 0, 0 } } });</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> }</div></div><!-- fragment -->
202 <a id="aa55589c6ce9f8167fe98b89f14d41132"></a>
203 <h2 class="memtitle"><span class="permalink"><a href="#aa55589c6ce9f8167fe98b89f14d41132">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[4/5]</span></h2>
205 <div class="memitem">
206 <div class="memproto">
207 <table class="memname">
209 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
211 <td class="paramtype">ParseGreaterBroadcast4DAnd1D </td>
212 <td class="paramname">, </td>
215 <td class="paramkey"></td>
217 <td class="paramtype">GreaterBroadcast4DAnd1D </td>
218 <td class="paramname"> </td>
226 </div><div class="memdoc">
228 <p class="definition">Definition at line <a class="el" href="_greater_8cpp_source.html#l00116">116</a> of file <a class="el" href="_greater_8cpp_source.html">Greater.cpp</a>.</p>
229 <div class="fragment"><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> {</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  RunComparisonTest<4>({ { <span class="stringliteral">"input0"</span>, { 1.0f, 2.0f, 3.0f, 2.0f } },</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  { <span class="stringliteral">"input1"</span>, { 3.0f } } },</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  { { <span class="stringliteral">"output"</span>, { 0, 0, 0, 0 } } });</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> }</div></div><!-- fragment -->
232 <a id="abdb85c09c55c6a1bbd1b7fa297100fa6"></a>
233 <h2 class="memtitle"><span class="permalink"><a href="#abdb85c09c55c6a1bbd1b7fa297100fa6">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[5/5]</span></h2>
235 <div class="memitem">
236 <div class="memproto">
237 <table class="memname">
239 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
241 <td class="paramtype">ParseGreaterMultiDimBroadcast </td>
242 <td class="paramname">, </td>
245 <td class="paramkey"></td>
247 <td class="paramtype">GreaterMultiDimBroadcast </td>
248 <td class="paramname"> </td>
256 </div><div class="memdoc">
258 <p class="definition">Definition at line <a class="el" href="_greater_8cpp_source.html#l00128">128</a> of file <a class="el" href="_greater_8cpp_source.html">Greater.cpp</a>.</p>
260 <p class="reference">References <a class="el" href="_profiler_tests_8cpp.html#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>.</p>
261 <div class="fragment"><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> {</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  RunComparisonTest<4>({ { <span class="stringliteral">"input0"</span>, { 1.0f, 2.0f } },</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  { <span class="stringliteral">"input1"</span>, { 1.0f, 2.0f, 3.0f,</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  3.0f, 2.0f, 2.0f } } },</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  { { <span class="stringliteral">"output"</span>, { 0, 0, 0,</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  1, 0, 0,</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  0, 0, 0,</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  0, 0, 0 } } });</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> }</div></div><!-- fragment -->
264 </div><!-- contents -->
265 </div><!-- doc-content -->
266 <!-- start footer part -->
267 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
269 <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_50aba35e23cba3c8856f8642cc06d5dc.html">armnnTfParser</a></li><li class="navelem"><a class="el" href="dir_4ccaefd65a1feacebd3c00536508ef51.html">test</a></li><li class="navelem"><a class="el" href="_greater_8cpp.html">Greater.cpp</a></li>
270 <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by
271 <a href="http://www.doxygen.org/index.html">
272 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>