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/armnnTfLiteParser/test/Pack.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('_pack_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">Pack.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="_parser_flatbuffers_fixture_8hpp_source.xhtml">ParserFlatbuffersFixture.hpp</a>"</code><br />
105 <code>#include "<a class="el" href="_tf_lite_parser_8hpp_source.xhtml">../TfLiteParser.hpp</a>"</code><br />
106 <code>#include <string></code><br />
107 <code>#include <iostream></code><br />
109 <p><a href="_pack_8cpp_source.xhtml">Go to the source code of this file.</a></p>
110 <table class="memberdecls">
111 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
112 Functions</h2></td></tr>
113 <tr class="memitem:aa36c976111caf1178501d90324dec4d1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_pack_8cpp.xhtml#aa36c976111caf1178501d90324dec4d1">BOOST_FIXTURE_TEST_CASE</a> (ParsePack, SimplePackFixture)</td></tr>
114 <tr class="separator:aa36c976111caf1178501d90324dec4d1"><td class="memSeparator" colspan="2"> </td></tr>
116 <h2 class="groupheader">Function Documentation</h2>
117 <a id="aa36c976111caf1178501d90324dec4d1"></a>
118 <h2 class="memtitle"><span class="permalink"><a href="#aa36c976111caf1178501d90324dec4d1">◆ </a></span>BOOST_FIXTURE_TEST_CASE()</h2>
120 <div class="memitem">
121 <div class="memproto">
122 <table class="memname">
124 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
126 <td class="paramtype">ParsePack </td>
127 <td class="paramname">, </td>
130 <td class="paramkey"></td>
132 <td class="paramtype">SimplePackFixture </td>
133 <td class="paramname"> </td>
141 </div><div class="memdoc">
143 <p class="definition">Definition at line <a class="el" href="_pack_8cpp_source.xhtml#l00106">106</a> of file <a class="el" href="_pack_8cpp_source.xhtml">Pack.cpp</a>.</p>
145 <p class="reference">References <a class="el" href="_profiler_tests_8cpp.xhtml#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>.</p>
146 <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>  RunTest<4, armnn::DataType::Float32>(</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  0,</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  { {<span class="stringliteral">"inputTensor1"</span>, { 1, 2, 3,</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  4, 5, 6,</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  7, 8, 9,</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  10, 11, 12,</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  13, 14, 15,</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  16, 17, 18 } },</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  {<span class="stringliteral">"inputTensor2"</span>, { 19, 20, 21,</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  22, 23, 24,</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  25, 26, 27,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  28, 29, 30,</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  31, 32, 33,</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  34, 35, 36 } } },</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  { {<span class="stringliteral">"outputTensor"</span>, { 1, 19,</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  2, 20,</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  3, 21,</div><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>  4, 22,</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  5, 23,</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  6, 24,</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  7, 25,</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  8, 26,</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  9, 27,</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> </div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  10, 28,</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  11, 29,</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  12, 30,</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  13, 31,</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  14, 32,</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  15, 33,</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  16, 34,</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  17, 35,</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  18, 36 } } });</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> }</div></div><!-- fragment -->
149 </div><!-- contents -->
150 </div><!-- doc-content -->
151 <!-- start footer part -->
152 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
154 <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_510324e450b9df55f9aac2d01fae83d8.xhtml">armnnTfLiteParser</a></li><li class="navelem"><a class="el" href="dir_6d8d07609c57029a35488d2120e28fbd.xhtml">test</a></li><li class="navelem"><a class="el" href="_pack_8cpp.xhtml">Pack.cpp</a></li>
155 <li class="footer">Generated on Fri Mar 13 2020 16:09:14 for ArmNN by
156 <a href="http://www.doxygen.org/index.html">
157 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>