1 <!-- Copyright (c) 2020 ARM Limited. -->
3 <!-- SPDX-License-Identifier: MIT -->
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">
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/armnnTfParser/test/ExpandDims.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);
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">
30 extensions: ["tex2jax.js"],
31 jax: ["input/TeX","output/HTML-CSS"],
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"/>
38 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
40 <table cellspacing="0" cellpadding="0">
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>
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');
58 <script type="text/javascript" src="menudata.js"></script>
59 <script type="text/javascript" src="menu.js"></script>
60 <script type="text/javascript">
62 initMenu('',true,false,'search.php','Search');
63 $(document).ready(function() { init_search(); });
66 <div id="main-nav"></div>
68 <div id="side-nav" class="ui-resizable side-nav-resizable">
70 <div id="nav-tree-contents">
71 <div id="nav-sync" class="sync"></div>
74 <div id="splitbar" style="-moz-user-select:none;"
75 class="ui-resizable-handle">
78 <script type="text/javascript">
79 $(document).ready(function(){initNavTree('_expand_dims_8cpp.xhtml','');});
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)">
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">
98 <a href="#func-members">Functions</a> </div>
99 <div class="headertitle">
100 <div class="title">ExpandDims.cpp File Reference</div> </div>
102 <div class="contents">
103 <div class="textblock"><code>#include <boost/test/unit_test.hpp></code><br />
104 <code>#include "<a class="el" href="_i_tf_parser_8hpp_source.xhtml">armnnTfParser/ITfParser.hpp</a>"</code><br />
105 <code>#include "<a class="el" href="_parser_prototxt_fixture_8hpp_source.xhtml">ParserPrototxtFixture.hpp</a>"</code><br />
107 <p><a href="_expand_dims_8cpp_source.xhtml">Go to the source code of this file.</a></p>
108 <table class="memberdecls">
109 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
110 Functions</h2></td></tr>
111 <tr class="memitem:a5a825b021750b8a83ba880fbda166f6a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_expand_dims_8cpp.xhtml#a5a825b021750b8a83ba880fbda166f6a">BOOST_FIXTURE_TEST_CASE</a> (ParseExpandZeroDim, ExpandZeroDim)</td></tr>
112 <tr class="separator:a5a825b021750b8a83ba880fbda166f6a"><td class="memSeparator" colspan="2"> </td></tr>
113 <tr class="memitem:add2b41c0a265abb584c924ce3fd7aba8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_expand_dims_8cpp.xhtml#add2b41c0a265abb584c924ce3fd7aba8">BOOST_FIXTURE_TEST_CASE</a> (ParseExpandTwoDim, ExpandTwoDim)</td></tr>
114 <tr class="separator:add2b41c0a265abb584c924ce3fd7aba8"><td class="memSeparator" colspan="2"> </td></tr>
115 <tr class="memitem:a017af3a31be919d789da1fc354ccbbbc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_expand_dims_8cpp.xhtml#a017af3a31be919d789da1fc354ccbbbc">BOOST_FIXTURE_TEST_CASE</a> (ParseExpandThreeDim, ExpandThreeDim)</td></tr>
116 <tr class="separator:a017af3a31be919d789da1fc354ccbbbc"><td class="memSeparator" colspan="2"> </td></tr>
117 <tr class="memitem:a7431814e456257121aa3edf037e1786d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_expand_dims_8cpp.xhtml#a7431814e456257121aa3edf037e1786d">BOOST_FIXTURE_TEST_CASE</a> (ParseExpandMinusOneDim, ExpandMinusOneDim)</td></tr>
118 <tr class="separator:a7431814e456257121aa3edf037e1786d"><td class="memSeparator" colspan="2"> </td></tr>
119 <tr class="memitem:a6a2bd46292dd260e3f3f61b07df35945"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_expand_dims_8cpp.xhtml#a6a2bd46292dd260e3f3f61b07df35945">BOOST_FIXTURE_TEST_CASE</a> (ParseExpandMinusThreeDim, ExpandMinusThreeDim)</td></tr>
120 <tr class="separator:a6a2bd46292dd260e3f3f61b07df35945"><td class="memSeparator" colspan="2"> </td></tr>
122 <h2 class="groupheader">Function Documentation</h2>
123 <a id="a5a825b021750b8a83ba880fbda166f6a"></a>
124 <h2 class="memtitle"><span class="permalink"><a href="#a5a825b021750b8a83ba880fbda166f6a">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[1/5]</span></h2>
126 <div class="memitem">
127 <div class="memproto">
128 <table class="memname">
130 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
132 <td class="paramtype">ParseExpandZeroDim </td>
133 <td class="paramname">, </td>
136 <td class="paramkey"></td>
138 <td class="paramtype">ExpandZeroDim </td>
139 <td class="paramname"> </td>
147 </div><div class="memdoc">
149 <p class="definition">Definition at line <a class="el" href="_expand_dims_8cpp_source.xhtml#l00082">82</a> of file <a class="el" href="_expand_dims_8cpp_source.xhtml">ExpandDims.cpp</a>.</p>
150 <div class="fragment"><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> {</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  BOOST_TEST((m_Parser->GetNetworkOutputBindingInfo(<span class="stringliteral">"ExpandDims"</span>).second.GetShape() ==</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a>({1, 2, 3, 5})));</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00020">Tensor.hpp:20</a></div></div>
151 </div><!-- fragment -->
154 <a id="add2b41c0a265abb584c924ce3fd7aba8"></a>
155 <h2 class="memtitle"><span class="permalink"><a href="#add2b41c0a265abb584c924ce3fd7aba8">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[2/5]</span></h2>
157 <div class="memitem">
158 <div class="memproto">
159 <table class="memname">
161 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
163 <td class="paramtype">ParseExpandTwoDim </td>
164 <td class="paramname">, </td>
167 <td class="paramkey"></td>
169 <td class="paramtype">ExpandTwoDim </td>
170 <td class="paramname"> </td>
178 </div><div class="memdoc">
180 <p class="definition">Definition at line <a class="el" href="_expand_dims_8cpp_source.xhtml#l00088">88</a> of file <a class="el" href="_expand_dims_8cpp_source.xhtml">ExpandDims.cpp</a>.</p>
181 <div class="fragment"><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  BOOST_TEST((m_Parser->GetNetworkOutputBindingInfo(<span class="stringliteral">"ExpandDims"</span>).second.GetShape() ==</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a>({2, 3, 1, 5})));</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00020">Tensor.hpp:20</a></div></div>
182 </div><!-- fragment -->
185 <a id="a017af3a31be919d789da1fc354ccbbbc"></a>
186 <h2 class="memtitle"><span class="permalink"><a href="#a017af3a31be919d789da1fc354ccbbbc">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[3/5]</span></h2>
188 <div class="memitem">
189 <div class="memproto">
190 <table class="memname">
192 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
194 <td class="paramtype">ParseExpandThreeDim </td>
195 <td class="paramname">, </td>
198 <td class="paramkey"></td>
200 <td class="paramtype">ExpandThreeDim </td>
201 <td class="paramname"> </td>
209 </div><div class="memdoc">
211 <p class="definition">Definition at line <a class="el" href="_expand_dims_8cpp_source.xhtml#l00094">94</a> of file <a class="el" href="_expand_dims_8cpp_source.xhtml">ExpandDims.cpp</a>.</p>
212 <div class="fragment"><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>  BOOST_TEST((m_Parser->GetNetworkOutputBindingInfo(<span class="stringliteral">"ExpandDims"</span>).second.GetShape() ==</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a>({2, 3, 5, 1})));</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00020">Tensor.hpp:20</a></div></div>
213 </div><!-- fragment -->
216 <a id="a7431814e456257121aa3edf037e1786d"></a>
217 <h2 class="memtitle"><span class="permalink"><a href="#a7431814e456257121aa3edf037e1786d">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[4/5]</span></h2>
219 <div class="memitem">
220 <div class="memproto">
221 <table class="memname">
223 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
225 <td class="paramtype">ParseExpandMinusOneDim </td>
226 <td class="paramname">, </td>
229 <td class="paramkey"></td>
231 <td class="paramtype">ExpandMinusOneDim </td>
232 <td class="paramname"> </td>
240 </div><div class="memdoc">
242 <p class="definition">Definition at line <a class="el" href="_expand_dims_8cpp_source.xhtml#l00100">100</a> of file <a class="el" href="_expand_dims_8cpp_source.xhtml">ExpandDims.cpp</a>.</p>
243 <div class="fragment"><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> {</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  BOOST_TEST((m_Parser->GetNetworkOutputBindingInfo(<span class="stringliteral">"ExpandDims"</span>).second.GetShape() ==</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a>({2, 3, 5, 1})));</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00020">Tensor.hpp:20</a></div></div>
244 </div><!-- fragment -->
247 <a id="a6a2bd46292dd260e3f3f61b07df35945"></a>
248 <h2 class="memtitle"><span class="permalink"><a href="#a6a2bd46292dd260e3f3f61b07df35945">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[5/5]</span></h2>
250 <div class="memitem">
251 <div class="memproto">
252 <table class="memname">
254 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
256 <td class="paramtype">ParseExpandMinusThreeDim </td>
257 <td class="paramname">, </td>
260 <td class="paramkey"></td>
262 <td class="paramtype">ExpandMinusThreeDim </td>
263 <td class="paramname"> </td>
271 </div><div class="memdoc">
273 <p class="definition">Definition at line <a class="el" href="_expand_dims_8cpp_source.xhtml#l00106">106</a> of file <a class="el" href="_expand_dims_8cpp_source.xhtml">ExpandDims.cpp</a>.</p>
275 <p class="reference">References <a class="el" href="_profiler_tests_8cpp.xhtml#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>.</p>
276 <div class="fragment"><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> {</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  BOOST_TEST((m_Parser->GetNetworkOutputBindingInfo(<span class="stringliteral">"ExpandDims"</span>).second.GetShape() ==</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a>({2, 1, 3, 5})));</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00020">Tensor.hpp:20</a></div></div>
277 </div><!-- fragment -->
280 </div><!-- contents -->
281 </div><!-- doc-content -->
282 <!-- start footer part -->
283 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
285 <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_50aba35e23cba3c8856f8642cc06d5dc.xhtml">armnnTfParser</a></li><li class="navelem"><a class="el" href="dir_4ccaefd65a1feacebd3c00536508ef51.xhtml">test</a></li><li class="navelem"><a class="el" href="_expand_dims_8cpp.xhtml">ExpandDims.cpp</a></li>
286 <li class="footer">Generated on Fri Mar 13 2020 16:09:14 for ArmNN by
287 <a href="http://www.doxygen.org/index.html">
288 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>