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/optimizations/ConvertConstantsHalfToFloatTests.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); |
| 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('_convert_constants_half_to_float_tests_8cpp.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="#func-members">Functions</a> </div> |
| 85 | <div class="headertitle"> |
| 86 | <div class="title">ConvertConstantsHalfToFloatTests.cpp File Reference</div> </div> |
| 87 | </div><!--header--> |
| 88 | <div class="contents"> |
| 89 | <div class="textblock"><code>#include "<a class="el" href="_test_utils_8hpp_source.html">../TestUtils.hpp</a>"</code><br /> |
| 90 | <code>#include <<a class="el" href="_optimizer_8hpp_source.html">Optimizer.hpp</a>></code><br /> |
| 91 | <code>#include <boost/test/unit_test.hpp></code><br /> |
| 92 | </div> |
| 93 | <p><a href="_convert_constants_half_to_float_tests_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:ae024d8be3a1bc0f6e528f29bb0c66b28"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_convert_constants_half_to_float_tests_8cpp.html#ae024d8be3a1bc0f6e528f29bb0c66b28">BOOST_AUTO_TEST_CASE</a> (ConvertConstantsHalfToFloatTest)</td></tr> |
| 98 | <tr class="separator:ae024d8be3a1bc0f6e528f29bb0c66b28"><td class="memSeparator" colspan="2"> </td></tr> |
| 99 | </table> |
| 100 | <h2 class="groupheader">Function Documentation</h2> |
| 101 | <a id="ae024d8be3a1bc0f6e528f29bb0c66b28"></a> |
| 102 | <h2 class="memtitle"><span class="permalink"><a href="#ae024d8be3a1bc0f6e528f29bb0c66b28">◆ </a></span>BOOST_AUTO_TEST_CASE()</h2> |
| 103 | |
| 104 | <div class="memitem"> |
| 105 | <div class="memproto"> |
| 106 | <table class="memname"> |
| 107 | <tr> |
| 108 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 109 | <td>(</td> |
| 110 | <td class="paramtype">ConvertConstantsHalfToFloatTest </td> |
| 111 | <td class="paramname"></td><td>)</td> |
| 112 | <td></td> |
| 113 | </tr> |
| 114 | </table> |
| 115 | </div><div class="memdoc"> |
| 116 | |
| 117 | <p class="definition">Definition at line <a class="el" href="_convert_constants_half_to_float_tests_8cpp_source.html#l00015">15</a> of file <a class="el" href="_convert_constants_half_to_float_tests_8cpp_source.html">ConvertConstantsHalfToFloatTests.cpp</a>.</p> |
| 118 | |
| 119 | <p class="reference">References <a class="el" href="_graph_8hpp_source.html#l00397">Graph::AddLayer()</a>, <a class="el" href="_profiler_tests_8cpp.html#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>, <a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, <a class="el" href="_layer_8cpp_source.html#l00079">OutputSlot::Connect()</a>, <a class="el" href="_floating_point_converter_8cpp_source.html#l00015">FloatingPointConverter::ConvertFloat32To16()</a>, <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>, <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>, <a class="el" href="_layer_8hpp_source.html#l00312">Layer::GetOutputSlot()</a>, <a class="el" href="_fully_connected_layer_8hpp_source.html#l00019">FullyConnectedLayer::m_Weight</a>, <a class="el" href="_optimizer_8hpp_source.html#l00043">armnn::MakeOptimizations()</a>, <a class="el" href="_optimizer_8cpp_source.html#l00016">Optimizer::Pass()</a>, and <a class="el" href="_layer_8cpp_source.html#l00058">OutputSlot::SetTensorInfo()</a>.</p> |
| 120 | <div class="fragment"><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <a class="code" href="classarmnn_1_1_graph.html">armnn::Graph</a> graph;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>({ 1, 1, 1, 2 }, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="comment">// Create the half precision input data</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> dims[] = { 4, 1, 1, 1 };</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  std::vector<float> convWeightsData{ 1.f, 2.f, 3.f, 4.f };</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  std::vector<uint16_t> halfWeights(4);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="classarmnn_utils_1_1_floating_point_converter.html#af0fdbfb53596052d571cb73899f9da2b">armnnUtils::FloatingPointConverter::ConvertFloat32To16</a>(convWeightsData.data(), convWeightsData.size(),</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  halfWeights.data());</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">armnn::ConstTensor</a> weights(<a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a>(4, dims, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>), halfWeights);</div><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>  <span class="comment">//Create the simple test network</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">auto</span> input = graph.<a class="code" href="classarmnn_1_1_graph.html#a7563c5b899e7d0ada08fd0fdb202f205">AddLayer</a><<a class="code" href="classarmnn_1_1_input_layer.html">armnn::InputLayer</a>>(0, <span class="stringliteral">"input"</span>);</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  input-><a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>().<a class="code" href="classarmnn_1_1_output_slot.html#a7e5c5771d741dd5473989047a9314728">SetTensorInfo</a>(info);</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keyword">auto</span> fc = graph.<a class="code" href="classarmnn_1_1_graph.html#a7563c5b899e7d0ada08fd0fdb202f205">AddLayer</a><<a class="code" href="classarmnn_1_1_fully_connected_layer.html">armnn::FullyConnectedLayer</a>>(<a class="code" href="structarmnn_1_1_fully_connected_descriptor.html">armnn::FullyConnectedDescriptor</a>(), <span class="stringliteral">"fc"</span>);</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  fc-><a class="code" href="classarmnn_1_1_fully_connected_layer.html#a2664044e28e69309ea08ef385fe53903">m_Weight</a> = std::make_unique<armnn::ScopedCpuTensorHandle>(weights);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  fc->GetOutputSlot().SetTensorInfo(info);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">auto</span> output = graph.<a class="code" href="classarmnn_1_1_graph.html#a7563c5b899e7d0ada08fd0fdb202f205">AddLayer</a><<a class="code" href="classarmnn_1_1_output_layer.html">armnn::OutputLayer</a>>(1, <span class="stringliteral">"output"</span>);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">//Connect up the layers</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  input-><a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>().<a class="code" href="classarmnn_1_1_output_slot.html#adcfb97035799ea4c043f9ef370714815">Connect</a>(fc->GetInputSlot(0));</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  fc->GetOutputSlot().Connect(output->GetInputSlot(0));</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>  <span class="comment">//Test the tensor info is correct.</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(fc->m_Weight->GetTensorInfo().GetDataType() == <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// Run the optimizer</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classarmnn_1_1_optimizer.html#a1f48ba622b76ea04d15c9b62f642bf08">armnn::Optimizer::Pass</a>(graph, <a class="code" href="namespacearmnn.html#aa7427025a851113a492de0b68b23d22a">armnn::MakeOptimizations</a>(<a class="code" href="namespacearmnn_1_1optimizations.html#a06cac66872538895dd6b59cdf39173d2">ConvertConstantsHalfToFloat</a>()));</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="comment">//Test the tensor info is correct.</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(fc->m_Weight->GetTensorInfo().GetDataType() == <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><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>  <span class="comment">// Now test the data matches float32 data</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordtype">float</span>* data = fc->m_Weight->GetTensor<<span class="keywordtype">float</span>>();</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(1.0f == data[0]);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(2.0f == data[1]);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(3.0f == data[2]);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(4.0f == data[3]);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> }</div><div class="ttc" id="classarmnn_1_1_fully_connected_layer_html_a2664044e28e69309ea08ef385fe53903"><div class="ttname"><a href="classarmnn_1_1_fully_connected_layer.html#a2664044e28e69309ea08ef385fe53903">armnn::FullyConnectedLayer::m_Weight</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_Weight</div><div class="ttdoc">A unique pointer to store Weight values. </div><div class="ttdef"><b>Definition:</b> <a href="_fully_connected_layer_8hpp_source.html#l00019">FullyConnectedLayer.hpp:19</a></div></div> |
| 121 | <div class="ttc" id="classarmnn_1_1_input_layer_html"><div class="ttname"><a href="classarmnn_1_1_input_layer.html">armnn::InputLayer</a></div><div class="ttdoc">A layer user-provided data can be bound to (e.g. inputs, outputs). </div><div class="ttdef"><b>Definition:</b> <a href="_input_layer_8hpp_source.html#l00013">InputLayer.hpp:13</a></div></div> |
| 122 | <div class="ttc" id="classarmnn_1_1_const_tensor_html"><div class="ttname"><a href="classarmnn_1_1_const_tensor.html">armnn::ConstTensor</a></div><div class="ttdoc">A tensor defined by a TensorInfo (shape and data type) and an immutable backing store. </div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00199">Tensor.hpp:199</a></div></div> |
| 123 | <div class="ttc" id="namespacearmnn_html_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div> |
| 124 | <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> |
| 125 | <div class="ttc" id="classarmnn_1_1_graph_html_a7563c5b899e7d0ada08fd0fdb202f205"><div class="ttname"><a href="classarmnn_1_1_graph.html#a7563c5b899e7d0ada08fd0fdb202f205">armnn::Graph::AddLayer</a></div><div class="ttdeci">LayerT * AddLayer(Args &&... args)</div><div class="ttdoc">Adds a new layer, of type LayerType, to the graph constructed with the arguments passed. </div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00397">Graph.hpp:397</a></div></div> |
| 126 | <div class="ttc" id="classarmnn_1_1_optimizer_html_a1f48ba622b76ea04d15c9b62f642bf08"><div class="ttname"><a href="classarmnn_1_1_optimizer.html#a1f48ba622b76ea04d15c9b62f642bf08">armnn::Optimizer::Pass</a></div><div class="ttdeci">static void Pass(Graph &graph, const Optimizations &optimizations)</div><div class="ttdef"><b>Definition:</b> <a href="_optimizer_8cpp_source.html#l00016">Optimizer.cpp:16</a></div></div> |
| 127 | <div class="ttc" id="classarmnn_1_1_output_slot_html_adcfb97035799ea4c043f9ef370714815"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#adcfb97035799ea4c043f9ef370714815">armnn::OutputSlot::Connect</a></div><div class="ttdeci">int Connect(InputSlot &destination)</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00079">Layer.cpp:79</a></div></div> |
| 128 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 129 | <div class="ttc" id="classarmnn_1_1_fully_connected_layer_html"><div class="ttname"><a href="classarmnn_1_1_fully_connected_layer.html">armnn::FullyConnectedLayer</a></div><div class="ttdoc">This layer represents a fully connected operation. </div><div class="ttdef"><b>Definition:</b> <a href="_fully_connected_layer_8hpp_source.html#l00015">FullyConnectedLayer.hpp:15</a></div></div> |
| 130 | <div class="ttc" id="namespacearmnn_1_1optimizations_html_a06cac66872538895dd6b59cdf39173d2"><div class="ttname"><a href="namespacearmnn_1_1optimizations.html#a06cac66872538895dd6b59cdf39173d2">armnn::optimizations::ConvertConstantsHalfToFloat</a></div><div class="ttdeci">ConvertConstants< Float16ToFloat32, IsFloat32Layer > ConvertConstantsHalfToFloat</div><div class="ttdef"><b>Definition:</b> <a href="_convert_constants_8hpp_source.html#l00100">ConvertConstants.hpp:100</a></div></div> |
| 131 | <div class="ttc" id="classarmnn_utils_1_1_floating_point_converter_html_af0fdbfb53596052d571cb73899f9da2b"><div class="ttname"><a href="classarmnn_utils_1_1_floating_point_converter.html#af0fdbfb53596052d571cb73899f9da2b">armnnUtils::FloatingPointConverter::ConvertFloat32To16</a></div><div class="ttdeci">static void ConvertFloat32To16(const float *srcFloat32Buffer, size_t numElements, void *dstFloat16Buffer)</div><div class="ttdef"><b>Definition:</b> <a href="_floating_point_converter_8cpp_source.html#l00015">FloatingPointConverter.cpp:15</a></div></div> |
| 132 | <div class="ttc" id="classarmnn_1_1_output_slot_html_a7e5c5771d741dd5473989047a9314728"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#a7e5c5771d741dd5473989047a9314728">armnn::OutputSlot::SetTensorInfo</a></div><div class="ttdeci">void SetTensorInfo(const TensorInfo &tensorInfo) override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00058">Layer.cpp:58</a></div></div> |
| 133 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 134 | <div class="ttc" id="structarmnn_1_1_fully_connected_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_fully_connected_descriptor.html">armnn::FullyConnectedDescriptor</a></div><div class="ttdoc">A FullyConnectedDescriptor for the FullyConnectedLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00373">Descriptors.hpp:373</a></div></div> |
| 135 | <div class="ttc" id="classarmnn_1_1_output_layer_html"><div class="ttname"><a href="classarmnn_1_1_output_layer.html">armnn::OutputLayer</a></div><div class="ttdoc">A layer user-provided data can be bound to (e.g. inputs, outputs). </div><div class="ttdef"><b>Definition:</b> <a href="_output_layer_8hpp_source.html#l00013">OutputLayer.hpp:13</a></div></div> |
| 136 | <div class="ttc" id="namespacearmnn_html_aa7427025a851113a492de0b68b23d22a"><div class="ttname"><a href="namespacearmnn.html#aa7427025a851113a492de0b68b23d22a">armnn::MakeOptimizations</a></div><div class="ttdeci">Optimizer::Optimizations MakeOptimizations(Args &&... args)</div><div class="ttdef"><b>Definition:</b> <a href="_optimizer_8hpp_source.html#l00043">Optimizer.hpp:43</a></div></div> |
| 137 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 138 | <div class="ttc" id="classarmnn_1_1_graph_html"><div class="ttname"><a href="classarmnn_1_1_graph.html">armnn::Graph</a></div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00029">Graph.hpp:29</a></div></div> |
| 139 | <div class="ttc" id="classarmnn_1_1_layer_html_a0e36688a43c35668d8db5257274c68fe"><div class="ttname"><a href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">armnn::Layer::GetOutputSlot</a></div><div class="ttdeci">const OutputSlot & GetOutputSlot(unsigned int index=0) const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00312">Layer.hpp:312</a></div></div> |
| 140 | </div><!-- fragment --> |
| 141 | </div> |
| 142 | </div> |
| 143 | </div><!-- contents --> |
| 144 | </div><!-- doc-content --> |
| 145 | <!-- start footer part --> |
| 146 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 147 | <ul> |
| 148 | <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="dir_f1cd0e6da811a659c139424442adfb5f.html">optimizations</a></li><li class="navelem"><a class="el" href="_convert_constants_half_to_float_tests_8cpp.html">ConvertConstantsHalfToFloatTests.cpp</a></li> |
| 149 | <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by |
| 150 | <a href="http://www.doxygen.org/index.html"> |
| 151 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 152 | </ul> |
| 153 | </div> |
| 154 | </body> |
| 155 | </html> |