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/armnnTfLiteParser/test/OutputShapeOfSqueeze.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('_output_shape_of_squeeze_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">OutputShapeOfSqueeze.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="_tf_lite_parser_8hpp_source.html">../TfLiteParser.hpp</a>"</code><br />
91 <code>#include <iostream></code><br />
92 <code>#include <string></code><br />
94 <p><a href="_output_shape_of_squeeze_8cpp_source.html">Go to the source code of this file.</a></p>
95 <table class="memberdecls">
96 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
97 Functions</h2></td></tr>
98 <tr class="memitem:ae3a6cb217a792718f2bd0e8f45e3ca9e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_output_shape_of_squeeze_8cpp.html#ae3a6cb217a792718f2bd0e8f45e3ca9e">BOOST_AUTO_TEST_SUITE</a> (TensorflowLiteParser)</td></tr>
99 <tr class="separator:ae3a6cb217a792718f2bd0e8f45e3ca9e"><td class="memSeparator" colspan="2"> </td></tr>
100 <tr class="memitem:ab3d999658d7d69b794a1e1997ac29ff4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_output_shape_of_squeeze_8cpp.html#ab3d999658d7d69b794a1e1997ac29ff4">BOOST_FIXTURE_TEST_CASE</a> (EmptySqueezeDims_OutputWithAllDimensionsSqueezed, TfLiteParserFixture)</td></tr>
101 <tr class="separator:ab3d999658d7d69b794a1e1997ac29ff4"><td class="memSeparator" colspan="2"> </td></tr>
102 <tr class="memitem:a9725cfd2247da237707c37ef87596c7b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_output_shape_of_squeeze_8cpp.html#a9725cfd2247da237707c37ef87596c7b">BOOST_FIXTURE_TEST_CASE</a> (SqueezeDimsNotIncludingSizeOneDimensions_NoDimensionsSqueezedInOutput, TfLiteParserFixture)</td></tr>
103 <tr class="separator:a9725cfd2247da237707c37ef87596c7b"><td class="memSeparator" colspan="2"> </td></tr>
104 <tr class="memitem:a1ed43ba7737ea60ddb9c274967888820"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_output_shape_of_squeeze_8cpp.html#a1ed43ba7737ea60ddb9c274967888820">BOOST_FIXTURE_TEST_CASE</a> (SqueezeDimsRangePartial_OutputWithDimensionsWithinRangeSqueezed, TfLiteParserFixture)</td></tr>
105 <tr class="separator:a1ed43ba7737ea60ddb9c274967888820"><td class="memSeparator" colspan="2"> </td></tr>
106 <tr class="memitem:af7f71af5c6c124222dd1c42c5df892f4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_output_shape_of_squeeze_8cpp.html#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END</a> ()</td></tr>
107 <tr class="separator:af7f71af5c6c124222dd1c42c5df892f4"><td class="memSeparator" colspan="2"> </td></tr>
109 <h2 class="groupheader">Function Documentation</h2>
110 <a id="ae3a6cb217a792718f2bd0e8f45e3ca9e"></a>
111 <h2 class="memtitle"><span class="permalink"><a href="#ae3a6cb217a792718f2bd0e8f45e3ca9e">◆ </a></span>BOOST_AUTO_TEST_SUITE()</h2>
113 <div class="memitem">
114 <div class="memproto">
115 <table class="memname">
117 <td class="memname">BOOST_AUTO_TEST_SUITE </td>
119 <td class="paramtype">TensorflowLiteParser </td>
120 <td class="paramname"></td><td>)</td>
124 </div><div class="memdoc">
126 <p class="reference">Referenced by <a class="el" href="_subgraph_view_tests_8cpp_source.html#l00368">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_tensor_test_8cpp_source.html#l00024">armnn::boost_test_print_type()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00128">TestQuantizedLstmLayerVisitor::CheckInputParameters()</a>, <a class="el" href="_optimization_views_tests_8cpp_source.html#l00018">CheckLayers()</a>, <a class="el" href="_graph_tests_8cpp_source.html#l00022">CheckOrder()</a>, <a class="el" href="_profiler_tests_8cpp_source.html#l00022">armnn::GetProfilerEventSequenceSize()</a>, <a class="el" href="_backend_profiling_tests_8cpp_source.html#l00090">PacketWriter()</a>, and <a class="el" href="_runtime_tests_8cpp_source.html#l00028">armnn::RuntimeLoadedNetworksReserve()</a>.</p>
130 <a id="af7f71af5c6c124222dd1c42c5df892f4"></a>
131 <h2 class="memtitle"><span class="permalink"><a href="#af7f71af5c6c124222dd1c42c5df892f4">◆ </a></span>BOOST_AUTO_TEST_SUITE_END()</h2>
133 <div class="memitem">
134 <div class="memproto">
135 <table class="memname">
137 <td class="memname">BOOST_AUTO_TEST_SUITE_END </td>
139 <td class="paramname"></td><td>)</td>
143 </div><div class="memdoc">
145 <p class="reference">Referenced by <a class="el" href="_output_shape_of_squeeze_8cpp_source.html#l00050">BOOST_FIXTURE_TEST_CASE()</a>.</p>
149 <a id="ab3d999658d7d69b794a1e1997ac29ff4"></a>
150 <h2 class="memtitle"><span class="permalink"><a href="#ab3d999658d7d69b794a1e1997ac29ff4">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[1/3]</span></h2>
152 <div class="memitem">
153 <div class="memproto">
154 <table class="memname">
156 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
158 <td class="paramtype">EmptySqueezeDims_OutputWithAllDimensionsSqueezed </td>
159 <td class="paramname">, </td>
162 <td class="paramkey"></td>
164 <td class="paramtype">TfLiteParserFixture </td>
165 <td class="paramname"> </td>
173 </div><div class="memdoc">
175 <p class="definition">Definition at line <a class="el" href="_output_shape_of_squeeze_8cpp_source.html#l00027">27</a> of file <a class="el" href="_output_shape_of_squeeze_8cpp_source.html">OutputShapeOfSqueeze.cpp</a>.</p>
177 <p class="reference">References <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>, <a class="el" href="_tensor_8hpp_source.html#l00092">TensorInfo::GetNumDimensions()</a>, <a class="el" href="_tensor_8hpp_source.html#l00093">TensorInfo::GetNumElements()</a>, <a class="el" href="_tensor_8hpp_source.html#l00088">TensorInfo::GetShape()</a>, and <a class="el" href="_tf_lite_parser_8cpp_source.html#l01466">TfLiteParser::OutputShapeOfSqueeze()</a>.</p>
178 <div class="fragment"><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  std::vector<uint32_t> squeezeDims = { };</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputTensorInfo = <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a>(4, m_InputShape, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputTensorInfo = m_Parser.OutputShapeOfSqueeze(squeezeDims, inputTensorInfo);</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  BOOST_TEST(outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#a8846406ac37fbd2204f0be16ee05d5b7">GetNumElements</a>() == 4);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  BOOST_TEST(outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#a157e27d41e9f6b21f0d3c025fa47dc24">GetNumDimensions</a>() == 2);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  BOOST_TEST((outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>() == <a class="code" href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a>({ 2, 2 })));</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> };</div><div class="ttc" id="classarmnn_1_1_tensor_info_html_a157e27d41e9f6b21f0d3c025fa47dc24"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a157e27d41e9f6b21f0d3c025fa47dc24">armnn::TensorInfo::GetNumDimensions</a></div><div class="ttdeci">unsigned int GetNumDimensions() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00092">Tensor.hpp:92</a></div></div>
179 <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div>
180 <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div>
181 <div class="ttc" id="classarmnn_1_1_tensor_shape_html"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00020">Tensor.hpp:20</a></div></div>
182 <div class="ttc" id="classarmnn_1_1_tensor_info_html_a8846406ac37fbd2204f0be16ee05d5b7"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a8846406ac37fbd2204f0be16ee05d5b7">armnn::TensorInfo::GetNumElements</a></div><div class="ttdeci">unsigned int GetNumElements() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00093">Tensor.hpp:93</a></div></div>
183 <div class="ttc" id="classarmnn_1_1_tensor_info_html_a8b5d0f8a24e9d9238f412260a552acf8"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">armnn::TensorInfo::GetShape</a></div><div class="ttdeci">const TensorShape & GetShape() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00088">Tensor.hpp:88</a></div></div>
184 </div><!-- fragment -->
187 <a id="a9725cfd2247da237707c37ef87596c7b"></a>
188 <h2 class="memtitle"><span class="permalink"><a href="#a9725cfd2247da237707c37ef87596c7b">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[2/3]</span></h2>
190 <div class="memitem">
191 <div class="memproto">
192 <table class="memname">
194 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
196 <td class="paramtype">SqueezeDimsNotIncludingSizeOneDimensions_NoDimensionsSqueezedInOutput </td>
197 <td class="paramname">, </td>
200 <td class="paramkey"></td>
202 <td class="paramtype">TfLiteParserFixture </td>
203 <td class="paramname"> </td>
211 </div><div class="memdoc">
213 <p class="definition">Definition at line <a class="el" href="_output_shape_of_squeeze_8cpp_source.html#l00039">39</a> of file <a class="el" href="_output_shape_of_squeeze_8cpp_source.html">OutputShapeOfSqueeze.cpp</a>.</p>
215 <p class="reference">References <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>, <a class="el" href="_tensor_8hpp_source.html#l00092">TensorInfo::GetNumDimensions()</a>, <a class="el" href="_tensor_8hpp_source.html#l00093">TensorInfo::GetNumElements()</a>, <a class="el" href="_tensor_8hpp_source.html#l00088">TensorInfo::GetShape()</a>, and <a class="el" href="_tf_lite_parser_8cpp_source.html#l01466">TfLiteParser::OutputShapeOfSqueeze()</a>.</p>
216 <div class="fragment"><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  std::vector<uint32_t> squeezeDims = { 1, 2 };</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputTensorInfo = <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a>(4, m_InputShape, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputTensorInfo = m_Parser.OutputShapeOfSqueeze(squeezeDims, inputTensorInfo);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  BOOST_TEST(outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#a8846406ac37fbd2204f0be16ee05d5b7">GetNumElements</a>() == 4);</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  BOOST_TEST(outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#a157e27d41e9f6b21f0d3c025fa47dc24">GetNumDimensions</a>() == 4);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  BOOST_TEST((outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>() == <a class="code" href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a>({ 1, 2, 2, 1 })));</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> };</div><div class="ttc" id="classarmnn_1_1_tensor_info_html_a157e27d41e9f6b21f0d3c025fa47dc24"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a157e27d41e9f6b21f0d3c025fa47dc24">armnn::TensorInfo::GetNumDimensions</a></div><div class="ttdeci">unsigned int GetNumDimensions() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00092">Tensor.hpp:92</a></div></div>
217 <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div>
218 <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div>
219 <div class="ttc" id="classarmnn_1_1_tensor_shape_html"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00020">Tensor.hpp:20</a></div></div>
220 <div class="ttc" id="classarmnn_1_1_tensor_info_html_a8846406ac37fbd2204f0be16ee05d5b7"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a8846406ac37fbd2204f0be16ee05d5b7">armnn::TensorInfo::GetNumElements</a></div><div class="ttdeci">unsigned int GetNumElements() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00093">Tensor.hpp:93</a></div></div>
221 <div class="ttc" id="classarmnn_1_1_tensor_info_html_a8b5d0f8a24e9d9238f412260a552acf8"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">armnn::TensorInfo::GetShape</a></div><div class="ttdeci">const TensorShape & GetShape() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00088">Tensor.hpp:88</a></div></div>
222 </div><!-- fragment -->
225 <a id="a1ed43ba7737ea60ddb9c274967888820"></a>
226 <h2 class="memtitle"><span class="permalink"><a href="#a1ed43ba7737ea60ddb9c274967888820">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[3/3]</span></h2>
228 <div class="memitem">
229 <div class="memproto">
230 <table class="memname">
232 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
234 <td class="paramtype">SqueezeDimsRangePartial_OutputWithDimensionsWithinRangeSqueezed </td>
235 <td class="paramname">, </td>
238 <td class="paramkey"></td>
240 <td class="paramtype">TfLiteParserFixture </td>
241 <td class="paramname"> </td>
249 </div><div class="memdoc">
251 <p class="definition">Definition at line <a class="el" href="_output_shape_of_squeeze_8cpp_source.html#l00050">50</a> of file <a class="el" href="_output_shape_of_squeeze_8cpp_source.html">OutputShapeOfSqueeze.cpp</a>.</p>
253 <p class="reference">References <a class="el" href="_output_shape_of_squeeze_8cpp.html#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>, <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>, <a class="el" href="_tensor_8hpp_source.html#l00092">TensorInfo::GetNumDimensions()</a>, <a class="el" href="_tensor_8hpp_source.html#l00093">TensorInfo::GetNumElements()</a>, <a class="el" href="_tensor_8hpp_source.html#l00088">TensorInfo::GetShape()</a>, and <a class="el" href="_tf_lite_parser_8cpp_source.html#l01466">TfLiteParser::OutputShapeOfSqueeze()</a>.</p>
254 <div class="fragment"><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> {</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  std::vector<uint32_t> squeezeDims = { 1, 3 };</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputTensorInfo = <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a>(4, m_InputShape, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputTensorInfo = m_Parser.OutputShapeOfSqueeze(squeezeDims, inputTensorInfo);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  BOOST_TEST(outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#a8846406ac37fbd2204f0be16ee05d5b7">GetNumElements</a>() == 4);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  BOOST_TEST(outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#a157e27d41e9f6b21f0d3c025fa47dc24">GetNumDimensions</a>() == 3);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  BOOST_TEST((outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>() == <a class="code" href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a>({ 1, 2, 2 })));</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> };</div><div class="ttc" id="classarmnn_1_1_tensor_info_html_a157e27d41e9f6b21f0d3c025fa47dc24"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a157e27d41e9f6b21f0d3c025fa47dc24">armnn::TensorInfo::GetNumDimensions</a></div><div class="ttdeci">unsigned int GetNumDimensions() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00092">Tensor.hpp:92</a></div></div>
255 <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div>
256 <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div>
257 <div class="ttc" id="classarmnn_1_1_tensor_shape_html"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00020">Tensor.hpp:20</a></div></div>
258 <div class="ttc" id="classarmnn_1_1_tensor_info_html_a8846406ac37fbd2204f0be16ee05d5b7"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a8846406ac37fbd2204f0be16ee05d5b7">armnn::TensorInfo::GetNumElements</a></div><div class="ttdeci">unsigned int GetNumElements() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00093">Tensor.hpp:93</a></div></div>
259 <div class="ttc" id="classarmnn_1_1_tensor_info_html_a8b5d0f8a24e9d9238f412260a552acf8"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">armnn::TensorInfo::GetShape</a></div><div class="ttdeci">const TensorShape & GetShape() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00088">Tensor.hpp:88</a></div></div>
260 </div><!-- fragment -->
263 </div><!-- contents -->
264 </div><!-- doc-content -->
265 <!-- start footer part -->
266 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
268 <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_510324e450b9df55f9aac2d01fae83d8.html">armnnTfLiteParser</a></li><li class="navelem"><a class="el" href="dir_6d8d07609c57029a35488d2120e28fbd.html">test</a></li><li class="navelem"><a class="el" href="_output_shape_of_squeeze_8cpp.html">OutputShapeOfSqueeze.cpp</a></li>
269 <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by
270 <a href="http://www.doxygen.org/index.html">
271 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>