Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 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"> |
| 8 | <head> |
| 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/backends/reference/test/RefLayerSupportTests.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); |
| 24 | </script> |
| 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"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 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"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 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> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 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'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('_ref_layer_support_tests_8cpp.xhtml','');}); |
| 80 | </script> |
| 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)"> |
| 87 | </div> |
| 88 | |
| 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"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#func-members">Functions</a> </div> |
| 99 | <div class="headertitle"> |
| 100 | <div class="title">RefLayerSupportTests.cpp File Reference</div> </div> |
| 101 | </div><!--header--> |
| 102 | <div class="contents"> |
| 103 | <div class="textblock"><code>#include <<a class="el" href="_convert_fp16_to_fp32_layer_8hpp_source.xhtml">layers/ConvertFp16ToFp32Layer.hpp</a>></code><br /> |
| 104 | <code>#include <<a class="el" href="_convert_fp32_to_fp16_layer_8hpp_source.xhtml">layers/ConvertFp32ToFp16Layer.hpp</a>></code><br /> |
| 105 | <code>#include <<a class="el" href="_tensor_helpers_8hpp_source.xhtml">test/TensorHelpers.hpp</a>></code><br /> |
| 106 | <code>#include <<a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml">backendsCommon/CpuTensorHandle.hpp</a>></code><br /> |
| 107 | <code>#include <<a class="el" href="_ref_workload_factory_8hpp_source.xhtml">reference/RefWorkloadFactory.hpp</a>></code><br /> |
| 108 | <code>#include <<a class="el" href="_ref_layer_support_8hpp_source.xhtml">reference/RefLayerSupport.hpp</a>></code><br /> |
| 109 | <code>#include <<a class="el" href="_layer_tests_8hpp_source.xhtml">backendsCommon/test/LayerTests.hpp</a>></code><br /> |
| 110 | <code>#include <<a class="el" href="_is_layer_supported_test_impl_8hpp_source.xhtml">backendsCommon/test/IsLayerSupportedTestImpl.hpp</a>></code><br /> |
| 111 | <code>#include <boost/test/unit_test.hpp></code><br /> |
| 112 | <code>#include <boost/algorithm/string/trim.hpp></code><br /> |
| 113 | <code>#include <string></code><br /> |
| 114 | </div> |
| 115 | <p><a href="_ref_layer_support_tests_8cpp_source.xhtml">Go to the source code of this file.</a></p> |
| 116 | <table class="memberdecls"> |
| 117 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 118 | Functions</h2></td></tr> |
| 119 | <tr class="memitem:a4c49dd6552e4a87f4bd9aeccf9935fa7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#a4c49dd6552e4a87f4bd9aeccf9935fa7">BOOST_AUTO_TEST_CASE</a> (IsLayerSupportedLayerTypeMatches)</td></tr> |
| 120 | <tr class="separator:a4c49dd6552e4a87f4bd9aeccf9935fa7"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:a7072d09eceddfa54c843310ea783341f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#a7072d09eceddfa54c843310ea783341f">BOOST_AUTO_TEST_CASE</a> (IsLayerSupportedReferenceAddition)</td></tr> |
| 122 | <tr class="separator:a7072d09eceddfa54c843310ea783341f"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:ab37f4cfaaf8383fe1928e43764a8ecb5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#ab37f4cfaaf8383fe1928e43764a8ecb5">BOOST_AUTO_TEST_CASE</a> (IsLayerSupportedBFloat16Reference)</td></tr> |
| 124 | <tr class="separator:ab37f4cfaaf8383fe1928e43764a8ecb5"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:af7ac8b442f2c850756605a2c53aa67f4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#af7ac8b442f2c850756605a2c53aa67f4">BOOST_AUTO_TEST_CASE</a> (IsLayerSupportedFloat16Reference)</td></tr> |
| 126 | <tr class="separator:af7ac8b442f2c850756605a2c53aa67f4"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:a732195dd6b7dacf96d25ba5327160db1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#a732195dd6b7dacf96d25ba5327160db1">BOOST_AUTO_TEST_CASE</a> (IsLayerSupportedFloat32Reference)</td></tr> |
| 128 | <tr class="separator:a732195dd6b7dacf96d25ba5327160db1"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:a273f8bd21d7c5c1374f21c3d61f1de24"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#a273f8bd21d7c5c1374f21c3d61f1de24">BOOST_AUTO_TEST_CASE</a> (IsLayerSupportedUint8Reference)</td></tr> |
| 130 | <tr class="separator:a273f8bd21d7c5c1374f21c3d61f1de24"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:a531d3b79bfb3695572a6670df2a15bcf"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#a531d3b79bfb3695572a6670df2a15bcf">BOOST_AUTO_TEST_CASE</a> (IsLayerSupportedInt8Reference)</td></tr> |
| 132 | <tr class="separator:a531d3b79bfb3695572a6670df2a15bcf"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:a9f5743f027f97a5515b37db1e95068c3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#a9f5743f027f97a5515b37db1e95068c3">BOOST_AUTO_TEST_CASE</a> (IsLayerSupportedInt16Reference)</td></tr> |
| 134 | <tr class="separator:a9f5743f027f97a5515b37db1e95068c3"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:af8d3b05bfac182a5905b061b1adebd47"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#af8d3b05bfac182a5905b061b1adebd47">BOOST_AUTO_TEST_CASE</a> (IsConvertFp16ToFp32SupportedReference)</td></tr> |
| 136 | <tr class="separator:af8d3b05bfac182a5905b061b1adebd47"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:a4c45f8f8f0a9a24b8f9f3a1af02e425c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#a4c45f8f8f0a9a24b8f9f3a1af02e425c">BOOST_AUTO_TEST_CASE</a> (IsConvertFp16ToFp32SupportedFp32InputReference)</td></tr> |
| 138 | <tr class="separator:a4c45f8f8f0a9a24b8f9f3a1af02e425c"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <tr class="memitem:ab077ea7ce49836ec075006d6f880c56f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#ab077ea7ce49836ec075006d6f880c56f">BOOST_AUTO_TEST_CASE</a> (IsConvertFp16ToFp32SupportedFp16OutputReference)</td></tr> |
| 140 | <tr class="separator:ab077ea7ce49836ec075006d6f880c56f"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | <tr class="memitem:a52ad242c6ab7e2fb1b6f9f7f0a998d98"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#a52ad242c6ab7e2fb1b6f9f7f0a998d98">BOOST_AUTO_TEST_CASE</a> (IsConvertFp32ToFp16SupportedReference)</td></tr> |
| 142 | <tr class="separator:a52ad242c6ab7e2fb1b6f9f7f0a998d98"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | <tr class="memitem:a67ee59c3851a850007d534b14ceebd71"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#a67ee59c3851a850007d534b14ceebd71">BOOST_AUTO_TEST_CASE</a> (IsConvertFp32ToFp16SupportedFp16InputReference)</td></tr> |
| 144 | <tr class="separator:a67ee59c3851a850007d534b14ceebd71"><td class="memSeparator" colspan="2"> </td></tr> |
| 145 | <tr class="memitem:a5dc7c6efda4f03e72c4d7657939a2d86"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#a5dc7c6efda4f03e72c4d7657939a2d86">BOOST_AUTO_TEST_CASE</a> (IsConvertFp32ToFp16SupportedFp32OutputReference)</td></tr> |
| 146 | <tr class="separator:a5dc7c6efda4f03e72c4d7657939a2d86"><td class="memSeparator" colspan="2"> </td></tr> |
| 147 | <tr class="memitem:aa31bc6863c9a99d42e1225dc7b448fbc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#aa31bc6863c9a99d42e1225dc7b448fbc">BOOST_AUTO_TEST_CASE</a> (IsLayerSupportedMeanDimensionsReference)</td></tr> |
| 148 | <tr class="separator:aa31bc6863c9a99d42e1225dc7b448fbc"><td class="memSeparator" colspan="2"> </td></tr> |
| 149 | <tr class="memitem:a68cae504c1ba56333769485149e317f0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml#a68cae504c1ba56333769485149e317f0">BOOST_AUTO_TEST_CASE</a> (IsLayerNotSupportedMeanDimensionsReference)</td></tr> |
| 150 | <tr class="separator:a68cae504c1ba56333769485149e317f0"><td class="memSeparator" colspan="2"> </td></tr> |
| 151 | </table> |
| 152 | <h2 class="groupheader">Function Documentation</h2> |
| 153 | <a id="a4c49dd6552e4a87f4bd9aeccf9935fa7"></a> |
| 154 | <h2 class="memtitle"><span class="permalink"><a href="#a4c49dd6552e4a87f4bd9aeccf9935fa7">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[1/16]</span></h2> |
| 155 | |
| 156 | <div class="memitem"> |
| 157 | <div class="memproto"> |
| 158 | <table class="memname"> |
| 159 | <tr> |
| 160 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 161 | <td>(</td> |
| 162 | <td class="paramtype">IsLayerSupportedLayerTypeMatches </td> |
| 163 | <td class="paramname"></td><td>)</td> |
| 164 | <td></td> |
| 165 | </tr> |
| 166 | </table> |
| 167 | </div><div class="memdoc"> |
| 168 | |
| 169 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00033">33</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 170 | <div class="fragment"><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  LayerTypeMatchesTest();</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> }</div></div><!-- fragment --> |
| 171 | </div> |
| 172 | </div> |
| 173 | <a id="a7072d09eceddfa54c843310ea783341f"></a> |
| 174 | <h2 class="memtitle"><span class="permalink"><a href="#a7072d09eceddfa54c843310ea783341f">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[2/16]</span></h2> |
| 175 | |
| 176 | <div class="memitem"> |
| 177 | <div class="memproto"> |
| 178 | <table class="memname"> |
| 179 | <tr> |
| 180 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 181 | <td>(</td> |
| 182 | <td class="paramtype">IsLayerSupportedReferenceAddition </td> |
| 183 | <td class="paramname"></td><td>)</td> |
| 184 | <td></td> |
| 185 | </tr> |
| 186 | </table> |
| 187 | </div><div class="memdoc"> |
| 188 | |
| 189 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00037">37</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 190 | |
| 191 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>, and <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l00141">RefLayerSupport::IsAdditionSupported()</a>.</p> |
| 192 | <div class="fragment"><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>  <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a> shape0 = {1,1,3,4};</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a> shape1 = {4};</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a> outShape = {1,1,3,4};</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> in0(shape0, <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> in1(shape1, <a class="code" href="namespacearmnn.xhtml#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.xhtml">armnn::TensorInfo</a> out(outShape, <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</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>  <a class="code" href="classarmnn_1_1_ref_layer_support.xhtml">armnn::RefLayerSupport</a> supportChecker;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  std::string reasonNotSupported;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(supportChecker.<a class="code" href="classarmnn_1_1_ref_layer_support.xhtml#a48177e22e47448adb3d83e145dadf735">IsAdditionSupported</a>(in0, in1, out, reasonNotSupported));</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00053">Tensor.hpp:53</a></div></div> |
| 193 | <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> |
| 194 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 195 | <div class="ttc" id="classarmnn_1_1_ref_layer_support_xhtml_a48177e22e47448adb3d83e145dadf735"><div class="ttname"><a href="classarmnn_1_1_ref_layer_support.xhtml#a48177e22e47448adb3d83e145dadf735">armnn::RefLayerSupport::IsAdditionSupported</a></div><div class="ttdeci">bool IsAdditionSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override</div><div class="ttdef"><b>Definition:</b> <a href="_ref_layer_support_8cpp_source.xhtml#l00141">RefLayerSupport.cpp:141</a></div></div> |
| 196 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 197 | <div class="ttc" id="classarmnn_1_1_ref_layer_support_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_layer_support.xhtml">armnn::RefLayerSupport</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_layer_support_8hpp_source.xhtml#l00012">RefLayerSupport.hpp:12</a></div></div> |
| 198 | </div><!-- fragment --> |
| 199 | </div> |
| 200 | </div> |
| 201 | <a id="ab37f4cfaaf8383fe1928e43764a8ecb5"></a> |
| 202 | <h2 class="memtitle"><span class="permalink"><a href="#ab37f4cfaaf8383fe1928e43764a8ecb5">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[3/16]</span></h2> |
| 203 | |
| 204 | <div class="memitem"> |
| 205 | <div class="memproto"> |
| 206 | <table class="memname"> |
| 207 | <tr> |
| 208 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 209 | <td>(</td> |
| 210 | <td class="paramtype">IsLayerSupportedBFloat16Reference </td> |
| 211 | <td class="paramname"></td><td>)</td> |
| 212 | <td></td> |
| 213 | </tr> |
| 214 | </table> |
| 215 | </div><div class="memdoc"> |
| 216 | |
| 217 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00051">51</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 218 | <div class="fragment"><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a> factory;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  IsLayerSupportedTests<armnn::RefWorkloadFactory, armnn::DataType::BFloat16>(&factory);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> }</div><div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 219 | </div><!-- fragment --> |
| 220 | </div> |
| 221 | </div> |
| 222 | <a id="af7ac8b442f2c850756605a2c53aa67f4"></a> |
| 223 | <h2 class="memtitle"><span class="permalink"><a href="#af7ac8b442f2c850756605a2c53aa67f4">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[4/16]</span></h2> |
| 224 | |
| 225 | <div class="memitem"> |
| 226 | <div class="memproto"> |
| 227 | <table class="memname"> |
| 228 | <tr> |
| 229 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 230 | <td>(</td> |
| 231 | <td class="paramtype">IsLayerSupportedFloat16Reference </td> |
| 232 | <td class="paramname"></td><td>)</td> |
| 233 | <td></td> |
| 234 | </tr> |
| 235 | </table> |
| 236 | </div><div class="memdoc"> |
| 237 | |
| 238 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00057">57</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 239 | <div class="fragment"><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a> factory;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  IsLayerSupportedTests<armnn::RefWorkloadFactory, armnn::DataType::Float16>(&factory);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> }</div><div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 240 | </div><!-- fragment --> |
| 241 | </div> |
| 242 | </div> |
| 243 | <a id="a732195dd6b7dacf96d25ba5327160db1"></a> |
| 244 | <h2 class="memtitle"><span class="permalink"><a href="#a732195dd6b7dacf96d25ba5327160db1">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[5/16]</span></h2> |
| 245 | |
| 246 | <div class="memitem"> |
| 247 | <div class="memproto"> |
| 248 | <table class="memname"> |
| 249 | <tr> |
| 250 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 251 | <td>(</td> |
| 252 | <td class="paramtype">IsLayerSupportedFloat32Reference </td> |
| 253 | <td class="paramname"></td><td>)</td> |
| 254 | <td></td> |
| 255 | </tr> |
| 256 | </table> |
| 257 | </div><div class="memdoc"> |
| 258 | |
| 259 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00063">63</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 260 | <div class="fragment"><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a> factory;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  IsLayerSupportedTests<armnn::RefWorkloadFactory, armnn::DataType::Float32>(&factory);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> }</div><div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 261 | </div><!-- fragment --> |
| 262 | </div> |
| 263 | </div> |
| 264 | <a id="a273f8bd21d7c5c1374f21c3d61f1de24"></a> |
| 265 | <h2 class="memtitle"><span class="permalink"><a href="#a273f8bd21d7c5c1374f21c3d61f1de24">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[6/16]</span></h2> |
| 266 | |
| 267 | <div class="memitem"> |
| 268 | <div class="memproto"> |
| 269 | <table class="memname"> |
| 270 | <tr> |
| 271 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 272 | <td>(</td> |
| 273 | <td class="paramtype">IsLayerSupportedUint8Reference </td> |
| 274 | <td class="paramname"></td><td>)</td> |
| 275 | <td></td> |
| 276 | </tr> |
| 277 | </table> |
| 278 | </div><div class="memdoc"> |
| 279 | |
| 280 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00069">69</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 281 | <div class="fragment"><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a> factory;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  IsLayerSupportedTests<armnn::RefWorkloadFactory, armnn::DataType::QAsymmU8>(&factory);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> }</div><div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 282 | </div><!-- fragment --> |
| 283 | </div> |
| 284 | </div> |
| 285 | <a id="a531d3b79bfb3695572a6670df2a15bcf"></a> |
| 286 | <h2 class="memtitle"><span class="permalink"><a href="#a531d3b79bfb3695572a6670df2a15bcf">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[7/16]</span></h2> |
| 287 | |
| 288 | <div class="memitem"> |
| 289 | <div class="memproto"> |
| 290 | <table class="memname"> |
| 291 | <tr> |
| 292 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 293 | <td>(</td> |
| 294 | <td class="paramtype">IsLayerSupportedInt8Reference </td> |
| 295 | <td class="paramname"></td><td>)</td> |
| 296 | <td></td> |
| 297 | </tr> |
| 298 | </table> |
| 299 | </div><div class="memdoc"> |
| 300 | |
| 301 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00075">75</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 302 | <div class="fragment"><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> {</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a> factory;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  IsLayerSupportedTests<armnn::RefWorkloadFactory, armnn::DataType::QSymmS8>(&factory);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div><div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 303 | </div><!-- fragment --> |
| 304 | </div> |
| 305 | </div> |
| 306 | <a id="a9f5743f027f97a5515b37db1e95068c3"></a> |
| 307 | <h2 class="memtitle"><span class="permalink"><a href="#a9f5743f027f97a5515b37db1e95068c3">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[8/16]</span></h2> |
| 308 | |
| 309 | <div class="memitem"> |
| 310 | <div class="memproto"> |
| 311 | <table class="memname"> |
| 312 | <tr> |
| 313 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 314 | <td>(</td> |
| 315 | <td class="paramtype">IsLayerSupportedInt16Reference </td> |
| 316 | <td class="paramname"></td><td>)</td> |
| 317 | <td></td> |
| 318 | </tr> |
| 319 | </table> |
| 320 | </div><div class="memdoc"> |
| 321 | |
| 322 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00081">81</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 323 | <div class="fragment"><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a> factory;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  IsLayerSupportedTests<armnn::RefWorkloadFactory, armnn::DataType::QSymmS16>(&factory);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> }</div><div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 324 | </div><!-- fragment --> |
| 325 | </div> |
| 326 | </div> |
| 327 | <a id="af8d3b05bfac182a5905b061b1adebd47"></a> |
| 328 | <h2 class="memtitle"><span class="permalink"><a href="#af8d3b05bfac182a5905b061b1adebd47">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[9/16]</span></h2> |
| 329 | |
| 330 | <div class="memitem"> |
| 331 | <div class="memproto"> |
| 332 | <table class="memname"> |
| 333 | <tr> |
| 334 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 335 | <td>(</td> |
| 336 | <td class="paramtype">IsConvertFp16ToFp32SupportedReference </td> |
| 337 | <td class="paramname"></td><td>)</td> |
| 338 | <td></td> |
| 339 | </tr> |
| 340 | </table> |
| 341 | </div><div class="memdoc"> |
| 342 | |
| 343 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00087">87</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 344 | |
| 345 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>, and <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> |
| 346 | <div class="fragment"><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> {</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp16_to_fp32_layer.xhtml">armnn::ConvertFp16ToFp32Layer</a>,</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>, <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>>(reasonIfUnsupported);</div><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>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(result);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> }</div><div class="ttc" id="classarmnn_1_1_convert_fp16_to_fp32_layer_xhtml"><div class="ttname"><a href="classarmnn_1_1_convert_fp16_to_fp32_layer.xhtml">armnn::ConvertFp16ToFp32Layer</a></div><div class="ttdoc">This layer converts data type Float 16 to Float 32. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp16_to_fp32_layer_8hpp_source.xhtml#l00014">ConvertFp16ToFp32Layer.hpp:14</a></div></div> |
| 347 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 348 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 349 | <div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 350 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 351 | </div><!-- fragment --> |
| 352 | </div> |
| 353 | </div> |
| 354 | <a id="a4c45f8f8f0a9a24b8f9f3a1af02e425c"></a> |
| 355 | <h2 class="memtitle"><span class="permalink"><a href="#a4c45f8f8f0a9a24b8f9f3a1af02e425c">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[10/16]</span></h2> |
| 356 | |
| 357 | <div class="memitem"> |
| 358 | <div class="memproto"> |
| 359 | <table class="memname"> |
| 360 | <tr> |
| 361 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 362 | <td>(</td> |
| 363 | <td class="paramtype">IsConvertFp16ToFp32SupportedFp32InputReference </td> |
| 364 | <td class="paramname"></td><td>)</td> |
| 365 | <td></td> |
| 366 | </tr> |
| 367 | </table> |
| 368 | </div><div class="memdoc"> |
| 369 | |
| 370 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00097">97</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 371 | |
| 372 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> |
| 373 | <div class="fragment"><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp16_to_fp32_layer.xhtml">armnn::ConvertFp16ToFp32Layer</a>,</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, armnn::DataType::Float32>(reasonIfUnsupported);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(!result);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  BOOST_CHECK_EQUAL(reasonIfUnsupported, <span class="stringliteral">"Layer is not supported with float32 data type input"</span>);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> }</div><div class="ttc" id="classarmnn_1_1_convert_fp16_to_fp32_layer_xhtml"><div class="ttname"><a href="classarmnn_1_1_convert_fp16_to_fp32_layer.xhtml">armnn::ConvertFp16ToFp32Layer</a></div><div class="ttdoc">This layer converts data type Float 16 to Float 32. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp16_to_fp32_layer_8hpp_source.xhtml#l00014">ConvertFp16ToFp32Layer.hpp:14</a></div></div> |
| 374 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 375 | <div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 376 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 377 | </div><!-- fragment --> |
| 378 | </div> |
| 379 | </div> |
| 380 | <a id="ab077ea7ce49836ec075006d6f880c56f"></a> |
| 381 | <h2 class="memtitle"><span class="permalink"><a href="#ab077ea7ce49836ec075006d6f880c56f">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[11/16]</span></h2> |
| 382 | |
| 383 | <div class="memitem"> |
| 384 | <div class="memproto"> |
| 385 | <table class="memname"> |
| 386 | <tr> |
| 387 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 388 | <td>(</td> |
| 389 | <td class="paramtype">IsConvertFp16ToFp32SupportedFp16OutputReference </td> |
| 390 | <td class="paramname"></td><td>)</td> |
| 391 | <td></td> |
| 392 | </tr> |
| 393 | </table> |
| 394 | </div><div class="memdoc"> |
| 395 | |
| 396 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00108">108</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 397 | |
| 398 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>.</p> |
| 399 | <div class="fragment"><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> {</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp16_to_fp32_layer.xhtml">armnn::ConvertFp16ToFp32Layer</a>,</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>, armnn::DataType::Float16>(reasonIfUnsupported);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(!result);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  BOOST_CHECK_EQUAL(reasonIfUnsupported, <span class="stringliteral">"Layer is not supported with float16 data type output"</span>);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> }</div><div class="ttc" id="classarmnn_1_1_convert_fp16_to_fp32_layer_xhtml"><div class="ttname"><a href="classarmnn_1_1_convert_fp16_to_fp32_layer.xhtml">armnn::ConvertFp16ToFp32Layer</a></div><div class="ttdoc">This layer converts data type Float 16 to Float 32. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp16_to_fp32_layer_8hpp_source.xhtml#l00014">ConvertFp16ToFp32Layer.hpp:14</a></div></div> |
| 400 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 401 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 402 | <div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 403 | </div><!-- fragment --> |
| 404 | </div> |
| 405 | </div> |
| 406 | <a id="a52ad242c6ab7e2fb1b6f9f7f0a998d98"></a> |
| 407 | <h2 class="memtitle"><span class="permalink"><a href="#a52ad242c6ab7e2fb1b6f9f7f0a998d98">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[12/16]</span></h2> |
| 408 | |
| 409 | <div class="memitem"> |
| 410 | <div class="memproto"> |
| 411 | <table class="memname"> |
| 412 | <tr> |
| 413 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 414 | <td>(</td> |
| 415 | <td class="paramtype">IsConvertFp32ToFp16SupportedReference </td> |
| 416 | <td class="paramname"></td><td>)</td> |
| 417 | <td></td> |
| 418 | </tr> |
| 419 | </table> |
| 420 | </div><div class="memdoc"> |
| 421 | |
| 422 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00119">119</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 423 | |
| 424 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>, and <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> |
| 425 | <div class="fragment"><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>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp32_to_fp16_layer.xhtml">armnn::ConvertFp32ToFp16Layer</a>,</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>>(reasonIfUnsupported);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(result);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 426 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 427 | <div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 428 | <div class="ttc" id="classarmnn_1_1_convert_fp32_to_fp16_layer_xhtml"><div class="ttname"><a href="classarmnn_1_1_convert_fp32_to_fp16_layer.xhtml">armnn::ConvertFp32ToFp16Layer</a></div><div class="ttdoc">This layer converts data type Float 32 to Float 16. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp32_to_fp16_layer_8hpp_source.xhtml#l00013">ConvertFp32ToFp16Layer.hpp:13</a></div></div> |
| 429 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 430 | </div><!-- fragment --> |
| 431 | </div> |
| 432 | </div> |
| 433 | <a id="a67ee59c3851a850007d534b14ceebd71"></a> |
| 434 | <h2 class="memtitle"><span class="permalink"><a href="#a67ee59c3851a850007d534b14ceebd71">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[13/16]</span></h2> |
| 435 | |
| 436 | <div class="memitem"> |
| 437 | <div class="memproto"> |
| 438 | <table class="memname"> |
| 439 | <tr> |
| 440 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 441 | <td>(</td> |
| 442 | <td class="paramtype">IsConvertFp32ToFp16SupportedFp16InputReference </td> |
| 443 | <td class="paramname"></td><td>)</td> |
| 444 | <td></td> |
| 445 | </tr> |
| 446 | </table> |
| 447 | </div><div class="memdoc"> |
| 448 | |
| 449 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00129">129</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 450 | |
| 451 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>.</p> |
| 452 | <div class="fragment"><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp32_to_fp16_layer.xhtml">armnn::ConvertFp32ToFp16Layer</a>,</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>, armnn::DataType::Float16>(reasonIfUnsupported);</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(!result);</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  BOOST_CHECK_EQUAL(reasonIfUnsupported, <span class="stringliteral">"Layer is not supported with float16 data type input"</span>);</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 453 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 454 | <div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 455 | <div class="ttc" id="classarmnn_1_1_convert_fp32_to_fp16_layer_xhtml"><div class="ttname"><a href="classarmnn_1_1_convert_fp32_to_fp16_layer.xhtml">armnn::ConvertFp32ToFp16Layer</a></div><div class="ttdoc">This layer converts data type Float 32 to Float 16. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp32_to_fp16_layer_8hpp_source.xhtml#l00013">ConvertFp32ToFp16Layer.hpp:13</a></div></div> |
| 456 | </div><!-- fragment --> |
| 457 | </div> |
| 458 | </div> |
| 459 | <a id="a5dc7c6efda4f03e72c4d7657939a2d86"></a> |
| 460 | <h2 class="memtitle"><span class="permalink"><a href="#a5dc7c6efda4f03e72c4d7657939a2d86">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[14/16]</span></h2> |
| 461 | |
| 462 | <div class="memitem"> |
| 463 | <div class="memproto"> |
| 464 | <table class="memname"> |
| 465 | <tr> |
| 466 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 467 | <td>(</td> |
| 468 | <td class="paramtype">IsConvertFp32ToFp16SupportedFp32OutputReference </td> |
| 469 | <td class="paramname"></td><td>)</td> |
| 470 | <td></td> |
| 471 | </tr> |
| 472 | </table> |
| 473 | </div><div class="memdoc"> |
| 474 | |
| 475 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00140">140</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 476 | |
| 477 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> |
| 478 | <div class="fragment"><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  std::string reasonIfUnsupported;</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>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp32_to_fp16_layer.xhtml">armnn::ConvertFp32ToFp16Layer</a>,</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, armnn::DataType::Float32>(reasonIfUnsupported);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(!result);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  BOOST_CHECK_EQUAL(reasonIfUnsupported, <span class="stringliteral">"Layer is not supported with float32 data type output"</span>);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 479 | <div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 480 | <div class="ttc" id="classarmnn_1_1_convert_fp32_to_fp16_layer_xhtml"><div class="ttname"><a href="classarmnn_1_1_convert_fp32_to_fp16_layer.xhtml">armnn::ConvertFp32ToFp16Layer</a></div><div class="ttdoc">This layer converts data type Float 32 to Float 16. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp32_to_fp16_layer_8hpp_source.xhtml#l00013">ConvertFp32ToFp16Layer.hpp:13</a></div></div> |
| 481 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 482 | </div><!-- fragment --> |
| 483 | </div> |
| 484 | </div> |
| 485 | <a id="aa31bc6863c9a99d42e1225dc7b448fbc"></a> |
| 486 | <h2 class="memtitle"><span class="permalink"><a href="#aa31bc6863c9a99d42e1225dc7b448fbc">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[15/16]</span></h2> |
| 487 | |
| 488 | <div class="memitem"> |
| 489 | <div class="memproto"> |
| 490 | <table class="memname"> |
| 491 | <tr> |
| 492 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 493 | <td>(</td> |
| 494 | <td class="paramtype">IsLayerSupportedMeanDimensionsReference </td> |
| 495 | <td class="paramname"></td><td>)</td> |
| 496 | <td></td> |
| 497 | </tr> |
| 498 | </table> |
| 499 | </div><div class="memdoc"> |
| 500 | |
| 501 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00151">151</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 502 | |
| 503 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> |
| 504 | <div class="fragment"><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> {</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordtype">bool</span> result = IsMeanLayerSupportedTests<<a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a>,</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, armnn::DataType::Float32>(reasonIfUnsupported);</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(result);</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 505 | <div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 506 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 507 | </div><!-- fragment --> |
| 508 | </div> |
| 509 | </div> |
| 510 | <a id="a68cae504c1ba56333769485149e317f0"></a> |
| 511 | <h2 class="memtitle"><span class="permalink"><a href="#a68cae504c1ba56333769485149e317f0">◆ </a></span>BOOST_AUTO_TEST_CASE() <span class="overload">[16/16]</span></h2> |
| 512 | |
| 513 | <div class="memitem"> |
| 514 | <div class="memproto"> |
| 515 | <table class="memname"> |
| 516 | <tr> |
| 517 | <td class="memname">BOOST_AUTO_TEST_CASE </td> |
| 518 | <td>(</td> |
| 519 | <td class="paramtype">IsLayerNotSupportedMeanDimensionsReference </td> |
| 520 | <td class="paramname"></td><td>)</td> |
| 521 | <td></td> |
| 522 | </tr> |
| 523 | </table> |
| 524 | </div><div class="memdoc"> |
| 525 | |
| 526 | <p class="definition">Definition at line <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml#l00161">161</a> of file <a class="el" href="_ref_layer_support_tests_8cpp_source.xhtml">RefLayerSupportTests.cpp</a>.</p> |
| 527 | |
| 528 | <p class="reference">References <a class="el" href="_profiler_tests_8cpp.xhtml#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>, <a class="el" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> |
| 529 | <div class="fragment"><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> {</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordtype">bool</span> result = IsMeanLayerNotSupportedTests<<a class="code" href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a>,</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, armnn::DataType::Float32>(reasonIfUnsupported);</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(!result);</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  boost::algorithm::trim(reasonIfUnsupported);</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  BOOST_CHECK_EQUAL(reasonIfUnsupported,</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="stringliteral">"Reference Mean: Expected 4 dimensions but got 2 dimensions instead, for the 'output' tensor."</span>);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_xhtml_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.xhtml#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 530 | <div class="ttc" id="classarmnn_1_1_ref_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_ref_workload_factory.xhtml">armnn::RefWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_factory_8hpp_source.xhtml#l00030">RefWorkloadFactory.hpp:30</a></div></div> |
| 531 | <div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 532 | </div><!-- fragment --> |
| 533 | </div> |
| 534 | </div> |
| 535 | </div><!-- contents --> |
| 536 | </div><!-- doc-content --> |
| 537 | <!-- start footer part --> |
| 538 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 539 | <ul> |
| 540 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.xhtml">backends</a></li><li class="navelem"><a class="el" href="dir_efae4012d0e357ebeaba7d02491d70e5.xhtml">reference</a></li><li class="navelem"><a class="el" href="dir_820f114a135ae891c13c0cafd2ecf138.xhtml">test</a></li><li class="navelem"><a class="el" href="_ref_layer_support_tests_8cpp.xhtml">RefLayerSupportTests.cpp</a></li> |
| 541 | <li class="footer">Generated on Fri Mar 13 2020 16:09:15 for ArmNN by |
| 542 | <a href="http://www.doxygen.org/index.html"> |
| 543 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 544 | </ul> |
| 545 | </div> |
| 546 | </body> |
| 547 | </html> |