blob: 4e09cc8d069242b642c534c86caa816d48534b95 [file] [log] [blame]
<!-- HTML header for doxygen 1.8.17-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Arm NN: src/backends/cl/ClBackend.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 15rem; margin-top: .5rem; margin-left 13px"/>
<td id="projectalign" style="padding-left: 0.9em;">
<div id="projectname">
&#160;<span id="projectnumber">24.05</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_cl_backend_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">ClBackend.cpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_cl_backend_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Copyright © 2017-2024 Arm Ltd. All rights reserved.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// SPDX-License-Identifier: MIT</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160; </div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_backend_8hpp.html">ClBackend.hpp</a>&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_backend_context_8hpp.html">ClBackendContext.hpp</a>&quot;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_backend_default_allocator_8hpp.html">ClBackendDefaultAllocator.hpp</a>&quot;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_backend_id_8hpp.html">ClBackendId.hpp</a>&quot;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_backend_model_context_8hpp.html">ClBackendModelContext.hpp</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_import_tensor_handle_factory_8hpp.html">ClImportTensorHandleFactory.hpp</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_layer_support_8hpp.html">ClLayerSupport.hpp</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_tensor_handle_factory_8hpp.html">ClTensorHandleFactory.hpp</a>&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_workload_factory_8hpp.html">ClWorkloadFactory.hpp</a>&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_backend_registry_8hpp.html">armnn/BackendRegistry.hpp</a>&gt;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_descriptors_8hpp.html">armnn/Descriptors.hpp</a>&gt;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_arm_compute_subgraph_utils_8hpp.html">aclCommon/ArmComputeSubgraphUtils.hpp</a>&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_arm_compute_utils_8hpp.html">aclCommon/ArmComputeUtils.hpp</a>&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_i_backend_context_8hpp.html">armnn/backends/IBackendContext.hpp</a>&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_i_memory_manager_8hpp.html">armnn/backends/IMemoryManager.hpp</a>&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_polymorphic_downcast_8hpp.html">armnn/utility/PolymorphicDowncast.hpp</a>&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_addition_workload_8hpp.html">workloads/ClAdditionWorkload.hpp</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_batch_normalization_float_workload_8hpp.html">workloads/ClBatchNormalizationFloatWorkload.hpp</a>&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_convolution2d_workload_8hpp.html">workloads/ClConvolution2dWorkload.hpp</a>&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_depthwise_convolution_workload_8hpp.html">workloads/ClDepthwiseConvolutionWorkload.hpp</a>&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_division_workload_8hpp.html">workloads/ClDivisionWorkload.hpp</a>&quot;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_fully_connected_workload_8hpp.html">workloads/ClFullyConnectedWorkload.hpp</a>&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_multiplication_workload_8hpp.html">workloads/ClMultiplicationWorkload.hpp</a>&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_reduce_workload_8hpp.html">workloads/ClReduceWorkload.hpp</a>&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cl_subtraction_workload_8hpp.html">workloads/ClSubtractionWorkload.hpp</a>&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_optimizer_8hpp.html">Optimizer.hpp</a>&gt;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#include &lt;arm_compute/core/Types.h&gt;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#include &lt;arm_compute/runtime/CL/CLBufferAllocator.h&gt;</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearmnn.html">armnn</a></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;{</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a177af502214bbc8123fbb4a3c4f0a1b8"> 44</a></span>&#160;<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_backend_id.html">BackendId</a>&amp; <a class="code" href="classarmnn_1_1_cl_backend.html#a177af502214bbc8123fbb4a3c4f0a1b8">ClBackend::GetIdStatic</a>()</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;{</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_backend_id.html">BackendId</a> s_Id{<a class="code" href="namespacearmnn.html#adfe10e7086e3e3b98927cf84aee03dd0">ClBackendId</a>()};</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keywordflow">return</span> s_Id;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;}</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a93fcb3bff141d8c77b53466a44b58eee"> 50</a></span>&#160;<a class="code" href="classarmnn_1_1_i_backend_internal.html#a12bff6d51d63dac1375c89bc8415dc46">IBackendInternal::IMemoryManagerUniquePtr</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a93fcb3bff141d8c77b53466a44b58eee">ClBackend::CreateMemoryManager</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_cl_backend.html#adda2579a4649278c81f18a1d3915b3a0">m_UsingCustomAllocator</a>)</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; {</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordflow">return</span> std::make_unique&lt;ClMemoryManager&gt;(<a class="code" href="classarmnn_1_1_cl_backend.html#af1937f516c364d9d99cb502249e7179d">m_CustomAllocator</a>);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; }</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordflow">return</span> std::make_unique&lt;ClMemoryManager&gt;(std::make_unique&lt;arm_compute::CLBufferAllocator&gt;());</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;}</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a8e19e275c8162e34e6d8d10a9245dbc9"> 59</a></span>&#160;<a class="code" href="classarmnn_1_1_i_backend_internal.html#a72ca1cf423bda4b0a9ffb789627126de">IBackendInternal::IWorkloadFactoryPtr</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a8e19e275c8162e34e6d8d10a9245dbc9">ClBackend::CreateWorkloadFactory</a>(</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">IBackendInternal::IMemoryManagerSharedPtr</a>&amp; memoryManager)<span class="keyword"> const</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordflow">return</span> std::make_unique&lt;ClWorkloadFactory&gt;(</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; PolymorphicPointerDowncast&lt;ClMemoryManager&gt;(memoryManager));</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;}</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a19441d1c63ca23efb8d4305933bcb712"> 66</a></span>&#160;<a class="code" href="classarmnn_1_1_i_backend_internal.html#a72ca1cf423bda4b0a9ffb789627126de">IBackendInternal::IWorkloadFactoryPtr</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a8e19e275c8162e34e6d8d10a9245dbc9">ClBackend::CreateWorkloadFactory</a>(</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">IBackendInternal::IMemoryManagerSharedPtr</a>&amp; memoryManager, <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a5b6893cda5b69359a4244c06054da18f">ModelOptions</a>&amp; modelOptions)<span class="keyword"> const</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordflow">return</span> std::make_unique&lt;ClWorkloadFactory&gt;(</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; PolymorphicPointerDowncast&lt;ClMemoryManager&gt;(memoryManager), <a class="code" href="classarmnn_1_1_cl_backend.html#a2482b4a7d5bde88e9b963be08017ce2b">CreateBackendSpecificModelContext</a>(modelOptions));</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;}</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#aa2d432e503780e146c08729323da519a"> 73</a></span>&#160;<a class="code" href="classarmnn_1_1_i_backend_internal.html#a72ca1cf423bda4b0a9ffb789627126de">IBackendInternal::IWorkloadFactoryPtr</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a8e19e275c8162e34e6d8d10a9245dbc9">ClBackend::CreateWorkloadFactory</a>(</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html">TensorHandleFactoryRegistry</a>&amp; registry)<span class="keyword"> const</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; std::shared_ptr&lt;ClMemoryManager&gt; memoryManager;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_cl_backend.html#adda2579a4649278c81f18a1d3915b3a0">m_UsingCustomAllocator</a>)</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; {</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; memoryManager = std::make_shared&lt;ClMemoryManager&gt;(<a class="code" href="classarmnn_1_1_cl_backend.html#af1937f516c364d9d99cb502249e7179d">m_CustomAllocator</a>);</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; }</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; {</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; memoryManager = std::make_shared&lt;ClMemoryManager&gt;(std::make_unique&lt;arm_compute::CLBufferAllocator&gt;());</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; }</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; std::unique_ptr&lt;ITensorHandleFactory&gt; factory = std::make_unique&lt;ClTensorHandleFactory&gt;(memoryManager);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; std::unique_ptr&lt;ITensorHandleFactory&gt; importFactory = std::make_unique&lt;ClImportTensorHandleFactory&gt;(</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>), <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>));</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#afae069d084e8541c8970d17d26011ac6">RegisterCopyAndImportFactoryPair</a>(factory-&gt;GetId(), importFactory-&gt;GetId());</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#afae069d084e8541c8970d17d26011ac6">RegisterCopyAndImportFactoryPair</a>(importFactory-&gt;GetId(), factory-&gt;GetId());</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a958ab0c60b6bfdfba5cc075211edec37">RegisterMemoryManager</a>(memoryManager);</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a05f82bd846630bb3aa8afe22ef6f15fc">RegisterFactory</a>(std::move(factory));</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a05f82bd846630bb3aa8afe22ef6f15fc">RegisterFactory</a>(std::move(importFactory));</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keywordflow">return</span> std::make_unique&lt;ClWorkloadFactory&gt;(</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; PolymorphicPointerDowncast&lt;ClMemoryManager&gt;(memoryManager));</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;}</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a95c304f397c4ef9f0108834e16631219"> 101</a></span>&#160;<a class="code" href="classarmnn_1_1_i_backend_internal.html#a72ca1cf423bda4b0a9ffb789627126de">IBackendInternal::IWorkloadFactoryPtr</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a8e19e275c8162e34e6d8d10a9245dbc9">ClBackend::CreateWorkloadFactory</a>(</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html">TensorHandleFactoryRegistry</a>&amp; registry, <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a5b6893cda5b69359a4244c06054da18f">ModelOptions</a>&amp; modelOptions)<span class="keyword"> const</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; std::shared_ptr&lt;ClMemoryManager&gt; memoryManager;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_cl_backend.html#adda2579a4649278c81f18a1d3915b3a0">m_UsingCustomAllocator</a>)</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; {</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; memoryManager = std::make_shared&lt;ClMemoryManager&gt;(<a class="code" href="classarmnn_1_1_cl_backend.html#af1937f516c364d9d99cb502249e7179d">m_CustomAllocator</a>);</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; }</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; {</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; memoryManager = std::make_shared&lt;ClMemoryManager&gt;(std::make_unique&lt;arm_compute::CLBufferAllocator&gt;());</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; }</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; std::unique_ptr&lt;ITensorHandleFactory&gt; factory = std::make_unique&lt;ClTensorHandleFactory&gt;(memoryManager);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; std::unique_ptr&lt;ITensorHandleFactory&gt; importFactory = std::make_unique&lt;ClImportTensorHandleFactory&gt;(</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>), <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>));</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#afae069d084e8541c8970d17d26011ac6">RegisterCopyAndImportFactoryPair</a>(factory-&gt;GetId(), importFactory-&gt;GetId());</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#afae069d084e8541c8970d17d26011ac6">RegisterCopyAndImportFactoryPair</a>(importFactory-&gt;GetId(), factory-&gt;GetId());</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a958ab0c60b6bfdfba5cc075211edec37">RegisterMemoryManager</a>(memoryManager);</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a05f82bd846630bb3aa8afe22ef6f15fc">RegisterFactory</a>(std::move(factory));</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a05f82bd846630bb3aa8afe22ef6f15fc">RegisterFactory</a>(std::move(importFactory));</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keywordflow">return</span> std::make_unique&lt;ClWorkloadFactory&gt;(</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; PolymorphicPointerDowncast&lt;ClMemoryManager&gt;(memoryManager), <a class="code" href="classarmnn_1_1_cl_backend.html#a2482b4a7d5bde88e9b963be08017ce2b">CreateBackendSpecificModelContext</a>(modelOptions));</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;}</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a5362d5d9510627da3c9d5db2e669d64a"> 129</a></span>&#160;<a class="code" href="classarmnn_1_1_i_backend_internal.html#a72ca1cf423bda4b0a9ffb789627126de">IBackendInternal::IWorkloadFactoryPtr</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a8e19e275c8162e34e6d8d10a9245dbc9">ClBackend::CreateWorkloadFactory</a>(</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html">TensorHandleFactoryRegistry</a>&amp; registry,</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a5b6893cda5b69359a4244c06054da18f">ModelOptions</a>&amp; modelOptions,</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a> inputFlags,</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a> outputFlags)<span class="keyword"> const</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="comment">// To allow force import if inputFlags/outputFlags are Undefined, set it as Malloc</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordflow">if</span> (inputFlags == <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277aec0fc0100c4fc1ce4eea230c3dc10360">MemorySource::Undefined</a>))</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; {</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; inputFlags = <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>);</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; }</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keywordflow">if</span> (outputFlags == <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277aec0fc0100c4fc1ce4eea230c3dc10360">MemorySource::Undefined</a>))</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; {</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; outputFlags = <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>);</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; }</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; std::shared_ptr&lt;ClMemoryManager&gt; memoryManager;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_cl_backend.html#adda2579a4649278c81f18a1d3915b3a0">m_UsingCustomAllocator</a>)</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; {</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; memoryManager = std::make_shared&lt;ClMemoryManager&gt;(<a class="code" href="classarmnn_1_1_cl_backend.html#af1937f516c364d9d99cb502249e7179d">m_CustomAllocator</a>);</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; }</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; {</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; memoryManager = std::make_shared&lt;ClMemoryManager&gt;(std::make_unique&lt;arm_compute::CLBufferAllocator&gt;());</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; }</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; std::unique_ptr&lt;ITensorHandleFactory&gt; factory = std::make_unique&lt;ClTensorHandleFactory&gt;(memoryManager);</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; std::unique_ptr&lt;ITensorHandleFactory&gt; importFactory = std::make_unique&lt;ClImportTensorHandleFactory&gt;(</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; inputFlags, outputFlags);</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#afae069d084e8541c8970d17d26011ac6">RegisterCopyAndImportFactoryPair</a>(factory-&gt;GetId(), importFactory-&gt;GetId());</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#afae069d084e8541c8970d17d26011ac6">RegisterCopyAndImportFactoryPair</a>(importFactory-&gt;GetId(), factory-&gt;GetId());</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; </div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a958ab0c60b6bfdfba5cc075211edec37">RegisterMemoryManager</a>(memoryManager);</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a05f82bd846630bb3aa8afe22ef6f15fc">RegisterFactory</a>(std::move(factory));</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a05f82bd846630bb3aa8afe22ef6f15fc">RegisterFactory</a>(std::move(importFactory));</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">return</span> std::make_unique&lt;ClWorkloadFactory&gt;(</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; PolymorphicPointerDowncast&lt;ClMemoryManager&gt;(memoryManager), <a class="code" href="classarmnn_1_1_cl_backend.html#a2482b4a7d5bde88e9b963be08017ce2b">CreateBackendSpecificModelContext</a>(modelOptions));</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;}</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a63559c7f206c265f5fff5ffcc8a58e3e"> 169</a></span>&#160;std::vector&lt;ITensorHandleFactory::FactoryId&gt; <a class="code" href="classarmnn_1_1_cl_backend.html#a63559c7f206c265f5fff5ffcc8a58e3e">ClBackend::GetHandleFactoryPreferences</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordflow">return</span> std::vector&lt;ITensorHandleFactory::FactoryId&gt; {<a class="code" href="classarmnn_1_1_cl_tensor_handle_factory.html#acdecb5b442434112c2cc8fc48c0ea922">ClTensorHandleFactory::GetIdStatic</a>(),</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <a class="code" href="classarmnn_1_1_cl_import_tensor_handle_factory.html#acdecb5b442434112c2cc8fc48c0ea922">ClImportTensorHandleFactory::GetIdStatic</a>()};</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;}</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a531177ce89c53c6af616175b0b05e5c0"> 175</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_cl_backend.html#a531177ce89c53c6af616175b0b05e5c0">ClBackend::RegisterTensorHandleFactories</a>(<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html">TensorHandleFactoryRegistry</a>&amp; registry)</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;{</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; std::shared_ptr&lt;ClMemoryManager&gt; memoryManager;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_cl_backend.html#adda2579a4649278c81f18a1d3915b3a0">m_UsingCustomAllocator</a>)</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; {</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; memoryManager = std::make_shared&lt;ClMemoryManager&gt;(<a class="code" href="classarmnn_1_1_cl_backend.html#af1937f516c364d9d99cb502249e7179d">m_CustomAllocator</a>);</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; }</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; {</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; memoryManager = std::make_shared&lt;ClMemoryManager&gt;(std::make_unique&lt;arm_compute::CLBufferAllocator&gt;());</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; }</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; </div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; std::unique_ptr&lt;ITensorHandleFactory&gt; factory = std::make_unique&lt;ClTensorHandleFactory&gt;(memoryManager);</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; std::unique_ptr&lt;ITensorHandleFactory&gt; importFactory = std::make_unique&lt;ClImportTensorHandleFactory&gt;(</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>), <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>));</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; </div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#afae069d084e8541c8970d17d26011ac6">RegisterCopyAndImportFactoryPair</a>(factory-&gt;GetId(), importFactory-&gt;GetId());</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#afae069d084e8541c8970d17d26011ac6">RegisterCopyAndImportFactoryPair</a>(importFactory-&gt;GetId(), factory-&gt;GetId());</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; </div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a958ab0c60b6bfdfba5cc075211edec37">RegisterMemoryManager</a>(memoryManager);</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a05f82bd846630bb3aa8afe22ef6f15fc">RegisterFactory</a>(std::move(factory));</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a05f82bd846630bb3aa8afe22ef6f15fc">RegisterFactory</a>(std::move(importFactory));</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; </div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;}</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; </div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a5f7312e595427f00078975f71c61dd8f"> 200</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_cl_backend.html#a531177ce89c53c6af616175b0b05e5c0">ClBackend::RegisterTensorHandleFactories</a>(<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html">TensorHandleFactoryRegistry</a>&amp; registry,</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a> inputFlags,</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a> outputFlags)</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;{</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="comment">// To allow force import if inputFlags/outputFlags are Undefined, set it as Malloc</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordflow">if</span> (inputFlags == <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277aec0fc0100c4fc1ce4eea230c3dc10360">MemorySource::Undefined</a>))</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; {</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; inputFlags = <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>);</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; }</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordflow">if</span> (outputFlags == <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277aec0fc0100c4fc1ce4eea230c3dc10360">MemorySource::Undefined</a>))</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; {</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; outputFlags = <span class="keyword">static_cast&lt;</span><a class="code" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a><span class="keyword">&gt;</span>(<a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>);</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; }</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; std::shared_ptr&lt;ClMemoryManager&gt; memoryManager;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_cl_backend.html#adda2579a4649278c81f18a1d3915b3a0">m_UsingCustomAllocator</a>)</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; {</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; memoryManager = std::make_shared&lt;ClMemoryManager&gt;(<a class="code" href="classarmnn_1_1_cl_backend.html#af1937f516c364d9d99cb502249e7179d">m_CustomAllocator</a>);</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; }</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; {</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; memoryManager = std::make_shared&lt;ClMemoryManager&gt;(std::make_unique&lt;arm_compute::CLBufferAllocator&gt;());</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; }</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; </div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; std::unique_ptr&lt;ITensorHandleFactory&gt; factory = std::make_unique&lt;ClTensorHandleFactory&gt;(memoryManager);</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; std::unique_ptr&lt;ITensorHandleFactory&gt; importFactory = std::make_unique&lt;ClImportTensorHandleFactory&gt;(</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; inputFlags, outputFlags);</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; </div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#afae069d084e8541c8970d17d26011ac6">RegisterCopyAndImportFactoryPair</a>(factory-&gt;GetId(), importFactory-&gt;GetId());</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#afae069d084e8541c8970d17d26011ac6">RegisterCopyAndImportFactoryPair</a>(importFactory-&gt;GetId(), factory-&gt;GetId());</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a958ab0c60b6bfdfba5cc075211edec37">RegisterMemoryManager</a>(memoryManager);</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a05f82bd846630bb3aa8afe22ef6f15fc">RegisterFactory</a>(std::move(factory));</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; registry.<a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html#a05f82bd846630bb3aa8afe22ef6f15fc">RegisterFactory</a>(std::move(importFactory));</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160;}</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; </div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a801cf3170dc777aca3e6f926d1bd70a5"> 235</a></span>&#160;<a class="code" href="classarmnn_1_1_i_backend_internal.html#ada6d56575c0fe53cf23c7ae4610c6367">IBackendInternal::IBackendContextPtr</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a801cf3170dc777aca3e6f926d1bd70a5">ClBackend::CreateBackendContext</a>(<span class="keyword">const</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">IRuntime::CreationOptions</a>&amp; options)<span class="keyword"> const</span></div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1_i_backend_internal.html#ada6d56575c0fe53cf23c7ae4610c6367">IBackendContextPtr</a>{<span class="keyword">new</span> <a class="code" href="classarmnn_1_1_cl_backend_context.html">ClBackendContext</a>{options}};</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;}</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a68c2ef244261cc9649799284774af132"> 240</a></span>&#160;<a class="code" href="classarmnn_1_1_i_backend_internal.html#ae44a82b0e485e551a0f77150b1076e06">IBackendInternal::IBackendProfilingContextPtr</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a68c2ef244261cc9649799284774af132">ClBackend::CreateBackendProfilingContext</a>(</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">IRuntime::CreationOptions</a>&amp;, <a class="code" href="classarmnn_1_1_i_backend_internal.html#a335964abd41c91f7e6ef5c65865a7b98">IBackendProfilingPtr</a>&amp;)</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;{</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1_i_backend_internal.html#ae44a82b0e485e551a0f77150b1076e06">IBackendProfilingContextPtr</a>{};</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;}</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; </div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a2482b4a7d5bde88e9b963be08017ce2b"> 246</a></span>&#160;<a class="code" href="classarmnn_1_1_i_backend_internal.html#a4d0238968a7643dbb170547dd22bba54">IBackendInternal::IBackendSpecificModelContextPtr</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a2482b4a7d5bde88e9b963be08017ce2b">ClBackend::CreateBackendSpecificModelContext</a>(</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a5b6893cda5b69359a4244c06054da18f">ModelOptions</a>&amp; modelOptions)<span class="keyword"> const</span></div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1_i_backend_internal.html#a4d0238968a7643dbb170547dd22bba54">IBackendSpecificModelContextPtr</a>{<span class="keyword">new</span> <a class="code" href="classarmnn_1_1_cl_backend_model_context.html">ClBackendModelContext</a>{modelOptions}};</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;}</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; </div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a93d4285a3ea5e4e3b35578484d889daa"> 252</a></span>&#160;<a class="code" href="classarmnn_1_1_i_backend_internal.html#a11fa919c11fe46aad613b2e960fcfe90">IBackendInternal::ILayerSupportSharedPtr</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a93d4285a3ea5e4e3b35578484d889daa">ClBackend::GetLayerSupport</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keyword">static</span> <a class="code" href="classarmnn_1_1_i_backend_internal.html#a11fa919c11fe46aad613b2e960fcfe90">ILayerSupportSharedPtr</a> layerSupport</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; {</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keyword">new</span> <a class="code" href="classarmnn_1_1_cl_layer_support.html">ClLayerSupport</a>(<a class="code" href="classarmnn_1_1_i_backend_internal.html#a4d0238968a7643dbb170547dd22bba54">IBackendInternal::IBackendSpecificModelContextPtr</a>{})</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; };</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <span class="keywordflow">return</span> layerSupport;</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;}</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; </div>
<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a9e458b98037dbb048877d0fc3fdbd17d"> 261</a></span>&#160;<a class="code" href="classarmnn_1_1_i_backend_internal.html#a11fa919c11fe46aad613b2e960fcfe90">IBackendInternal::ILayerSupportSharedPtr</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a93d4285a3ea5e4e3b35578484d889daa">ClBackend::GetLayerSupport</a>(<span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a5b6893cda5b69359a4244c06054da18f">ModelOptions</a>&amp; modelOptions)<span class="keyword"> const</span></div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <span class="keyword">static</span> <a class="code" href="classarmnn_1_1_i_backend_internal.html#a11fa919c11fe46aad613b2e960fcfe90">ILayerSupportSharedPtr</a> layerSupport</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; {</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="keyword">new</span> <a class="code" href="classarmnn_1_1_cl_layer_support.html">ClLayerSupport</a>(<a class="code" href="classarmnn_1_1_cl_backend.html#a2482b4a7d5bde88e9b963be08017ce2b">CreateBackendSpecificModelContext</a>(modelOptions))</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; };</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="keywordflow">return</span> layerSupport;</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;}</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; </div>
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#afb75bad43612f5314622c4fa8a16e63d"> 270</a></span>&#160;std::unique_ptr&lt;ICustomAllocator&gt; <a class="code" href="classarmnn_1_1_cl_backend.html#afb75bad43612f5314622c4fa8a16e63d">ClBackend::GetDefaultAllocator</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <span class="keywordflow">return</span> std::make_unique&lt;ClBackendDefaultAllocator&gt;();</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;}</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; </div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#ab9199ff425571ba62412bb903c2c933e"> 275</a></span>&#160;<a class="code" href="structarmnn_1_1_backend_options.html">BackendCapabilities</a> <a class="code" href="classarmnn_1_1_cl_backend.html#ab9199ff425571ba62412bb903c2c933e">ClBackend::GetCapabilities</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="comment">// add new capabilities here..</span></div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.html#aa9c506b558b8aa33a228b15164f40dc3">BackendCapabilities</a> (<span class="stringliteral">&quot;GpuAcc&quot;</span>,</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; {</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; {<span class="stringliteral">&quot;NonConstWeights&quot;</span>, <span class="keyword">true</span>},</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; {<span class="stringliteral">&quot;AsyncExecution&quot;</span>, <span class="keyword">false</span>},</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; {<span class="stringliteral">&quot;ProtectedContentAllocation&quot;</span>, <span class="keyword">true</span>},</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; {<span class="stringliteral">&quot;ConstantTensorsAsInputs&quot;</span>, <span class="keyword">true</span>},</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; {<span class="stringliteral">&quot;PreImportIOTensors&quot;</span>, <span class="keyword">false</span>},</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; {<span class="stringliteral">&quot;ExternallyManagedMemory&quot;</span>, <span class="keyword">true</span>},</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; {<span class="stringliteral">&quot;MultiAxisPacking&quot;</span>, <span class="keyword">false</span>},</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; {<span class="stringliteral">&quot;SingleAxisPacking&quot;</span>, <span class="keyword">true</span>},</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; {<span class="stringliteral">&quot;HasFp16&quot;</span>, arm_compute::CLKernelLibrary::get().fp16_supported()}</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; });</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;}</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; </div>
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="classarmnn_1_1_cl_backend.html#a339efc194a1738cd93fcdde4d948a5cd"> 292</a></span>&#160;<a class="code" href="classarmnn_1_1_optimization_views.html">OptimizationViews</a> <a class="code" href="classarmnn_1_1_cl_backend.html#a339efc194a1738cd93fcdde4d948a5cd">ClBackend::OptimizeSubgraphView</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_subgraph_view.html">SubgraphView</a>&amp; subgraph,</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a5b6893cda5b69359a4244c06054da18f">ModelOptions</a>&amp; modelOptions)<span class="keyword"> const</span></div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <a class="code" href="classarmnn_1_1_optimization_views.html">OptimizationViews</a> optimizationViews(modelOptions);</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; </div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <span class="keyword">auto</span> it = subgraph.<a class="code" href="classarmnn_1_1_subgraph_view.html#afc40490fb4f488bd2a211e81c06a6971">end</a>();</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <span class="keywordtype">bool</span> isFastMathEnabled = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; std::map&lt;LayerGuid, Layer*&gt; untouched;</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; </div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; <span class="keywordflow">while</span> (it != subgraph.<a class="code" href="classarmnn_1_1_subgraph_view.html#ad2570202bb366163f8b4660bfe78c49d">begin</a>())</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; {</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; --it;</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <a class="code" href="classarmnn_1_1_layer.html">Layer</a>&amp; base = *(PolymorphicDowncast&lt;Layer*&gt;(*it));</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; untouched.insert({base.<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>(), &amp;base});</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; }</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; it = subgraph.<a class="code" href="classarmnn_1_1_subgraph_view.html#afc40490fb4f488bd2a211e81c06a6971">end</a>();</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;<span class="preprocessor">#if defined(ARMCOMPUTECL_ENABLED)</span></div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <a class="code" href="classarmnn_1_1_i_backend_internal.html#a4d0238968a7643dbb170547dd22bba54">IBackendInternal::IBackendSpecificModelContextPtr</a> modelContextPtr = <a class="code" href="classarmnn_1_1_cl_backend.html#a2482b4a7d5bde88e9b963be08017ce2b">CreateBackendSpecificModelContext</a>(modelOptions);</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; </div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; <span class="keywordflow">if</span> (modelContextPtr)</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; {</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <span class="keyword">auto</span> clModelOptions = <span class="keyword">dynamic_cast&lt;</span><a class="code" href="classarmnn_1_1_cl_backend_model_context.html">ClBackendModelContext</a>*<span class="keyword">&gt;</span>(modelContextPtr.get());</div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <span class="keywordflow">if</span> (clModelOptions)</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; {</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; isFastMathEnabled = clModelOptions-&gt;<a class="code" href="classarmnn_1_1_cl_backend_model_context.html#abfe9aa4fa74aca0f9a925752bbbb0f79">IsFastMathEnabled</a>();</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; }</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; }</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160; <span class="keywordflow">while</span> (it != subgraph.<a class="code" href="classarmnn_1_1_subgraph_view.html#ad2570202bb366163f8b4660bfe78c49d">begin</a>())</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; {</div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160; --it;</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; <a class="code" href="classarmnn_1_1_layer.html">Layer</a>&amp; base = *(PolymorphicDowncast&lt;Layer*&gt;(*it));</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; </div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; <span class="comment">// Fuse activation into previous layer if supported by backend</span></div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; <span class="keywordflow">if</span> ((base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4af97adbfc88b7012a0243215b1076e7e7">LayerType::DepthwiseConvolution2d</a> || base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4adb033d2f81b68f9a17e8f62de69fed4a">LayerType::Convolution2d</a></div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; || base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4ae4743c3ec15d1d84169b17264634692e">LayerType::BatchNormalization</a> || base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4acab78faff25393e9defd1911cb58133e">LayerType::FullyConnected</a></div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; || base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a7c5531bbefed0945814f874baf9e0e0f">LayerType::Addition</a> || base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a27d1a1f7b7c2180e5b20ce9e3d00e2dd">LayerType::Multiplication</a></div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; || base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a6eb8b8b560161603402c0238b3a7d8b0">LayerType::Subtraction</a> || base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a3025cdaab2deb0bb2cd642449e570833">LayerType::Division</a></div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; || base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a699bcffd93aff3022014b9efc9eaefd1">LayerType::ElementwiseBinary</a>)</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; &amp;&amp; (base.<a class="code" href="classarmnn_1_1_layer.html#aefb14147290b6b928c5fc924ba035acc">GetAdditionalInformation</a>&lt;<a class="code" href="structarmnn_1_1_activation_descriptor.html">ActivationDescriptor</a>&gt;() == <span class="keyword">nullptr</span>))</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; {</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> output = base.<a class="code" href="classarmnn_1_1_layer.html#a817d4be6dd88f532d36f51748ec14185">BeginOutputSlots</a>(); output != base.<a class="code" href="classarmnn_1_1_layer.html#a55f76d98fcd2f5cdac3e2b14536cb7ab">EndOutputSlots</a>(); ++output)</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; {</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; <span class="keywordflow">if</span> (output-&gt;GetNumConnections() == 1)</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; {</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp;&amp; childInput : output-&gt;GetConnections())</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; {</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; <span class="keywordflow">if</span> ((childInput-&gt;GetOwningLayer().GetType() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4aa9a62e70841c4d06dd16306a85700d36">LayerType::Activation</a>) &amp;&amp;</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; (checkDataTypeInputandOutput(childInput-&gt;GetOwningLayer())))</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; {</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; <a class="code" href="classarmnn_1_1_layer.html">Layer</a>&amp; child = childInput-&gt;GetOwningLayer();</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; </div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; <span class="keyword">auto</span>* activationLayer = PolymorphicDowncast&lt;ActivationLayer*&gt;(&amp;child);</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; </div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <span class="keyword">const</span> std::string name = std::string(<span class="stringliteral">&quot;fused-&quot;</span>) + child.<a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>() + std::string(<span class="stringliteral">&quot;-into-&quot;</span>) +</div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; base.<a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>();</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; </div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <span class="comment">// Get params from activation layer</span></div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; <a class="code" href="structarmnn_1_1_activation_descriptor.html">ActivationDescriptor</a> activationDesc = activationLayer-&gt;GetParameters();</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; </div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4adb033d2f81b68f9a17e8f62de69fed4a">LayerType::Convolution2d</a>)</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; {</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; <a class="code" href="classarmnn_1_1_convolution2d_layer.html">Convolution2dLayer</a>* baseLayer = PolymorphicDowncast&lt;Convolution2dLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; </div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; <a class="code" href="classarmnn_1_1_optional.html">Optional&lt;TensorInfo&gt;</a> biases;</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; </div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <span class="keywordflow">if</span> (baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>().<a class="code" href="structarmnn_1_1_convolution2d_descriptor.html#aea202e14d8874cefd9a0f778022b7e25">m_BiasEnabled</a>)</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; {</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; biases = baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(2).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>();</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; }</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; </div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#a61cf0886d4c1a6e24c101a57ccb2ec31">ClConvolution2dWorkloadValidate</a>(</div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>(),</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; biases,</div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; isFastMathEnabled,</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; </div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; {</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160; FuseConvolution2dLayer&lt;Convolution2dLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160; baseLayer,</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; activationLayer,</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; activationDesc,</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; name);</div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; }</div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; }</div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4af97adbfc88b7012a0243215b1076e7e7">LayerType::DepthwiseConvolution2d</a>)</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; {</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; <a class="code" href="classarmnn_1_1_depthwise_convolution2d_layer.html">DepthwiseConvolution2dLayer</a>* baseLayer =</div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; PolymorphicDowncast&lt;DepthwiseConvolution2dLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; </div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; <a class="code" href="classarmnn_1_1_optional.html">Optional&lt;TensorInfo&gt;</a> biases;</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; </div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160; <span class="keywordflow">if</span> (baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>().<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#aea202e14d8874cefd9a0f778022b7e25">m_BiasEnabled</a>)</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; {</div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; biases = baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(2).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>();</div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; }</div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160; </div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#aa6670a2fcf9f365da69f3f3092dfa64b">ClDepthwiseConvolutionWorkloadValidate</a>(</div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>(),</div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; biases,</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; </div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; {</div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160; FuseDepthwiseConvolution2dLayer&lt;DepthwiseConvolution2dLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; baseLayer,</div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; activationLayer,</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; activationDesc,</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; name);</div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160; }</div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160; }</div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4acab78faff25393e9defd1911cb58133e">LayerType::FullyConnected</a>)</div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160; {</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160; <a class="code" href="classarmnn_1_1_fully_connected_layer.html">FullyConnectedLayer</a>* baseLayer = PolymorphicDowncast&lt;FullyConnectedLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; <a class="code" href="structarmnn_1_1_fully_connected_descriptor.html">FullyConnectedDescriptor</a> descriptor = baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>();</div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160; </div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160; <span class="comment">// As bias is optional only try to get TensorInfo from input if bias is enabled.</span></div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; <a class="code" href="classarmnn_1_1_optional.html">Optional&lt;TensorInfo&gt;</a> biases;</div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160; <span class="keywordflow">if</span> (descriptor.<a class="code" href="structarmnn_1_1_fully_connected_descriptor.html#aea202e14d8874cefd9a0f778022b7e25">m_BiasEnabled</a>)</div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; {</div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160; biases = baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(2).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>();</div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160; }</div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160; </div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#a18c7eef8533ca0acbbe081cd1a1fec98">ClFullyConnectedWorkloadValidate</a>(</div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160; biases,</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>(),</div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160; </div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160; {</div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; FuseFullyConnectedLayer&lt;FullyConnectedLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160; baseLayer,</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160; activationLayer,</div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160; activationDesc,</div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160; name);</div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160; }</div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160; }</div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4ae4743c3ec15d1d84169b17264634692e">LayerType::BatchNormalization</a>)</div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160; {</div>
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160; <a class="code" href="classarmnn_1_1_batch_normalization_layer.html">BatchNormalizationLayer</a>* baseLayer =</div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; PolymorphicDowncast&lt;BatchNormalizationLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160; </div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#a29bd65c1ec4ff9f75b636ec8e7b038be">ClBatchNormalizationValidate</a>(</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a2dfc280952c7939299c304fcbf855b97">m_Mean</a>-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a7d38a70f30295f365c3a98fc7fa4a229">m_Variance</a>-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a7645e8ead378db5ad17eadbdb9df4da6">m_Beta</a>-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a5da51be22147d174ff661810c32675b0">m_Gamma</a>-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>(),</div>
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160; </div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160; {</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160; <a class="code" href="classarmnn_1_1_batch_normalization_layer.html">BatchNormalizationLayer</a>* replacementLayer =</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160; FuseBatchNormalizationLayer&lt;BatchNormalizationLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160; baseLayer,</div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160; activationLayer,</div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160; activationDesc,</div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>&#160; name);</div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160; </div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160; replacementLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a7645e8ead378db5ad17eadbdb9df4da6">m_Beta</a> = std::move(baseLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a7645e8ead378db5ad17eadbdb9df4da6">m_Beta</a>);</div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>&#160; replacementLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a5da51be22147d174ff661810c32675b0">m_Gamma</a> = std::move(baseLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a5da51be22147d174ff661810c32675b0">m_Gamma</a>);</div>
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160; replacementLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a2dfc280952c7939299c304fcbf855b97">m_Mean</a> = std::move(baseLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a2dfc280952c7939299c304fcbf855b97">m_Mean</a>);</div>
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160; replacementLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a7d38a70f30295f365c3a98fc7fa4a229">m_Variance</a> = std::move(baseLayer-&gt;<a class="code" href="classarmnn_1_1_batch_normalization_layer.html#a7d38a70f30295f365c3a98fc7fa4a229">m_Variance</a>);</div>
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160; </div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; }</div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; }</div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a7c5531bbefed0945814f874baf9e0e0f">LayerType::Addition</a>)</div>
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160; {</div>
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160; <a class="code" href="classarmnn_1_1_addition_layer.html">AdditionLayer</a>* baseLayer = PolymorphicDowncast&lt;AdditionLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160; </div>
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#a24fc3e8e29d3fa56cc6b2d81e48625d1">ClAdditionValidate</a>(</div>
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160; </div>
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160; {</div>
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160; FuseAdditionLayer&lt;AdditionLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160; baseLayer,</div>
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160; activationLayer,</div>
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160; activationDesc,</div>
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160; name);</div>
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160; </div>
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160; }</div>
<div class="line"><a name="l00500"></a><span class="lineno"> 500</span>&#160; }</div>
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a3025cdaab2deb0bb2cd642449e570833">LayerType::Division</a>)</div>
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span>&#160; {</div>
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span>&#160; <a class="code" href="classarmnn_1_1_division_layer.html">DivisionLayer</a>* baseLayer = PolymorphicDowncast&lt;DivisionLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160; </div>
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#a0591ff61ac269187164ea23713d33852">ClDivisionWorkloadValidate</a>(</div>
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span>&#160; </div>
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span>&#160; {</div>
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160; FuseDivisionLayer&lt;DivisionLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span>&#160; baseLayer,</div>
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160; activationLayer,</div>
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160; activationDesc,</div>
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160; name);</div>
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span>&#160; }</div>
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span>&#160; }</div>
<div class="line"><a name="l00522"></a><span class="lineno"> 522</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a27d1a1f7b7c2180e5b20ce9e3d00e2dd">LayerType::Multiplication</a>)</div>
<div class="line"><a name="l00523"></a><span class="lineno"> 523</span>&#160; {</div>
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span>&#160; <a class="code" href="classarmnn_1_1_multiplication_layer.html">MultiplicationLayer</a>* baseLayer = PolymorphicDowncast&lt;MultiplicationLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span>&#160; </div>
<div class="line"><a name="l00526"></a><span class="lineno"> 526</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#a9638165cb6c1baae3b2b5fd9f0f75201">ClMultiplicationWorkloadValidate</a>(</div>
<div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00529"></a><span class="lineno"> 529</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00530"></a><span class="lineno"> 530</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>&#160; </div>
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span>&#160; {</div>
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160; FuseMultiplicationLayer&lt;MultiplicationLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160; baseLayer,</div>
<div class="line"><a name="l00536"></a><span class="lineno"> 536</span>&#160; activationLayer,</div>
<div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160; activationDesc,</div>
<div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160; name);</div>
<div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160; }</div>
<div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160; }</div>
<div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a6eb8b8b560161603402c0238b3a7d8b0">LayerType::Subtraction</a>)</div>
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160; {</div>
<div class="line"><a name="l00545"></a><span class="lineno"> 545</span>&#160; <a class="code" href="classarmnn_1_1_subtraction_layer.html">SubtractionLayer</a>* baseLayer = PolymorphicDowncast&lt;SubtractionLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00546"></a><span class="lineno"> 546</span>&#160; </div>
<div class="line"><a name="l00547"></a><span class="lineno"> 547</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#afa9933f1d9de469ffba5ba0fcee769f8">ClSubtractionValidate</a>(</div>
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00552"></a><span class="lineno"> 552</span>&#160; </div>
<div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160; {</div>
<div class="line"><a name="l00555"></a><span class="lineno"> 555</span>&#160; FuseSubtractionLayer&lt;SubtractionLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00556"></a><span class="lineno"> 556</span>&#160; baseLayer,</div>
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span>&#160; activationLayer,</div>
<div class="line"><a name="l00558"></a><span class="lineno"> 558</span>&#160; activationDesc,</div>
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span>&#160; name);</div>
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00562"></a><span class="lineno"> 562</span>&#160; }</div>
<div class="line"><a name="l00563"></a><span class="lineno"> 563</span>&#160; }</div>
<div class="line"><a name="l00564"></a><span class="lineno"> 564</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a699bcffd93aff3022014b9efc9eaefd1">LayerType::ElementwiseBinary</a>)</div>
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span>&#160; {</div>
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span>&#160; <a class="code" href="classarmnn_1_1_elementwise_binary_layer.html">ElementwiseBinaryLayer</a>* baseLayer = PolymorphicDowncast&lt;ElementwiseBinaryLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160; </div>
<div class="line"><a name="l00568"></a><span class="lineno"> 568</span>&#160; <span class="keywordflow">if</span> (baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>().<a class="code" href="structarmnn_1_1_elementwise_binary_descriptor.html#a7e4ece533ef2cb0f251e11c47a17371c">m_Operation</a> == <a class="code" href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047aec211f7c20af43e742bf2570c3cb84f9">BinaryOperation::Add</a>)</div>
<div class="line"><a name="l00569"></a><span class="lineno"> 569</span>&#160; {</div>
<div class="line"><a name="l00570"></a><span class="lineno"> 570</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#a24fc3e8e29d3fa56cc6b2d81e48625d1">ClAdditionValidate</a>(</div>
<div class="line"><a name="l00571"></a><span class="lineno"> 571</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00572"></a><span class="lineno"> 572</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160; </div>
<div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160; {</div>
<div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160; FuseElementwiseBinaryLayer&lt;ElementwiseBinaryLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160; baseLayer,</div>
<div class="line"><a name="l00580"></a><span class="lineno"> 580</span>&#160; activationLayer,</div>
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160; activationDesc,</div>
<div class="line"><a name="l00582"></a><span class="lineno"> 582</span>&#160; <a class="code" href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047aec211f7c20af43e742bf2570c3cb84f9">BinaryOperation::Add</a>,</div>
<div class="line"><a name="l00583"></a><span class="lineno"> 583</span>&#160; name);</div>
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160; }</div>
<div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160; }</div>
<div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>().<a class="code" href="structarmnn_1_1_elementwise_binary_descriptor.html#a7e4ece533ef2cb0f251e11c47a17371c">m_Operation</a> == <a class="code" href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047a43d11850893d2fe84a1e618121c1cc0a">BinaryOperation::Div</a>)</div>
<div class="line"><a name="l00589"></a><span class="lineno"> 589</span>&#160; {</div>
<div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#a0591ff61ac269187164ea23713d33852">ClDivisionWorkloadValidate</a>(</div>
<div class="line"><a name="l00591"></a><span class="lineno"> 591</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160; </div>
<div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160; {</div>
<div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160; FuseElementwiseBinaryLayer&lt;ElementwiseBinaryLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00599"></a><span class="lineno"> 599</span>&#160; baseLayer,</div>
<div class="line"><a name="l00600"></a><span class="lineno"> 600</span>&#160; activationLayer,</div>
<div class="line"><a name="l00601"></a><span class="lineno"> 601</span>&#160; activationDesc,</div>
<div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160; <a class="code" href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047a43d11850893d2fe84a1e618121c1cc0a">BinaryOperation::Div</a>,</div>
<div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160; name);</div>
<div class="line"><a name="l00604"></a><span class="lineno"> 604</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00606"></a><span class="lineno"> 606</span>&#160; }</div>
<div class="line"><a name="l00607"></a><span class="lineno"> 607</span>&#160; }</div>
<div class="line"><a name="l00608"></a><span class="lineno"> 608</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>().<a class="code" href="structarmnn_1_1_elementwise_binary_descriptor.html#a7e4ece533ef2cb0f251e11c47a17371c">m_Operation</a> == <a class="code" href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047a62b6d55816cf737bfc6f42e60df1a3f2">BinaryOperation::Mul</a>)</div>
<div class="line"><a name="l00609"></a><span class="lineno"> 609</span>&#160; {</div>
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#a9638165cb6c1baae3b2b5fd9f0f75201">ClMultiplicationWorkloadValidate</a>(</div>
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160; </div>
<div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160; {</div>
<div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160; FuseElementwiseBinaryLayer&lt;ElementwiseBinaryLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160; baseLayer,</div>
<div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160; activationLayer,</div>
<div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160; activationDesc,</div>
<div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160; <a class="code" href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047a62b6d55816cf737bfc6f42e60df1a3f2">BinaryOperation::Mul</a>,</div>
<div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160; name);</div>
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00625"></a><span class="lineno"> 625</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160; }</div>
<div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160; }</div>
<div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>().<a class="code" href="structarmnn_1_1_elementwise_binary_descriptor.html#a7e4ece533ef2cb0f251e11c47a17371c">m_Operation</a> == <a class="code" href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047ae80155eceb940c89e2de63ad05868db2">BinaryOperation::Sub</a>)</div>
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160; {</div>
<div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160; <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> status = <a class="code" href="namespacearmnn.html#afa9933f1d9de469ffba5ba0fcee769f8">ClSubtractionValidate</a>(</div>
<div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160; baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160; activationLayer-&gt;GetInputSlot(0).GetConnectedOutputSlot()-&gt;GetTensorInfo(),</div>
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160; &amp;activationDesc);</div>
<div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160; </div>
<div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160; <span class="keywordflow">if</span> (status)</div>
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160; {</div>
<div class="line"><a name="l00638"></a><span class="lineno"> 638</span>&#160; FuseElementwiseBinaryLayer&lt;ElementwiseBinaryLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160; baseLayer,</div>
<div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160; activationLayer,</div>
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160; activationDesc,</div>
<div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160; <a class="code" href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047ae80155eceb940c89e2de63ad05868db2">BinaryOperation::Sub</a>,</div>
<div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160; name);</div>
<div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160; untouched.erase(activationLayer-&gt;GetGuid());</div>
<div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160; }</div>
<div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160; }</div>
<div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160; <span class="comment">// No fusion available for other BinaryOperations</span></div>
<div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160; }</div>
<div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160; }</div>
<div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160; }</div>
<div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; }</div>
<div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160; }</div>
<div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160; }</div>
<div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160; </div>
<div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160; <span class="comment">// Separate reduce layer with multiple axes into multiple reduce layers with 1 axis.</span></div>
<div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160; <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4aec4875f03ff0bb0b26cf76ac7f41e3c8">LayerType::Reduce</a>)</div>
<div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; {</div>
<div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160; <a class="code" href="classarmnn_1_1_reduce_layer.html">ReduceLayer</a>* baseLayer = PolymorphicDowncast&lt;ReduceLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160; <a class="code" href="structarmnn_1_1_reduce_descriptor.html">ReduceDescriptor</a> reduceDescriptor = baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>();</div>
<div class="line"><a name="l00661"></a><span class="lineno"> 661</span>&#160; </div>
<div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160; <span class="keywordflow">if</span> (!reduceDescriptor.<a class="code" href="structarmnn_1_1_reduce_descriptor.html#aa1c6fc8c96404252f1072632fc5acb59">m_vAxis</a>.empty() &amp;&amp; reduceDescriptor.<a class="code" href="structarmnn_1_1_reduce_descriptor.html#aa1c6fc8c96404252f1072632fc5acb59">m_vAxis</a>.size() &gt; 1)</div>
<div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160; {</div>
<div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; <span class="comment">// Add new layers to the graph and connect them.</span></div>
<div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; std::vector&lt;IConnectableLayer*&gt; layers = ChainReduceLayers&lt;ReduceLayer&gt;(optimizationViews,</div>
<div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160; baseLayer,</div>
<div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160; reduceDescriptor);</div>
<div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160; </div>
<div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; <span class="comment">// Replace existing baselayer with new subgraph.</span></div>
<div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160; ReplaceLayers&lt;ReduceLayer&gt;(optimizationViews, baseLayer, layers);</div>
<div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160; }</div>
<div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160; }</div>
<div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160; </div>
<div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160; <span class="comment">// Remove Reshape where possible</span></div>
<div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160; <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4aa7c59ccedc6a3bd90c17f3b990afefad">LayerType::Reshape</a>)</div>
<div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160; {</div>
<div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160; <a class="code" href="classarmnn_1_1_reshape_layer.html">ReshapeLayer</a>* baseLayer = PolymorphicDowncast&lt;ReshapeLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160; </div>
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160; <span class="comment">// Cannot remove a Reshape if it&#39;s connected to any layer that has an NCHW layout</span></div>
<div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="namespacearmnn.html#ac5089a2ee61f22570982e7a56588365a">ConnectedToLayerWithNCHW</a>(baseLayer))</div>
<div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160; {</div>
<div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160; }</div>
<div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160; <a class="code" href="namespacearmnn.html#ae756568a7f2c58778bb6d759d2bd38db">RemoveReshapeLayer</a>(baseLayer, untouched, optimizationViews);</div>
<div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160; }</div>
<div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160; </div>
<div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; <span class="comment">// Special case to fuse padding into average pooling 2d for quantized datatype.</span></div>
<div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; <span class="comment">// Required to be done as a backend specific optimization as Neon does not support this special case.</span></div>
<div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160; <span class="keywordflow">if</span> (base.<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4ad662867a41bfb30b9f75dda2b5849001">LayerType::Pooling2d</a>)</div>
<div class="line"><a name="l00691"></a><span class="lineno"> 691</span>&#160; {</div>
<div class="line"><a name="l00692"></a><span class="lineno"> 692</span>&#160; <a class="code" href="classarmnn_1_1_pooling2d_layer.html">Pooling2dLayer</a>* baseLayer = PolymorphicDowncast&lt;Pooling2dLayer*&gt;(&amp;base);</div>
<div class="line"><a name="l00693"></a><span class="lineno"> 693</span>&#160; <a class="code" href="structarmnn_1_1_pooling2d_descriptor.html">Pooling2dDescriptor</a> poolingDescriptor = baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>();</div>
<div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160; </div>
<div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160; <span class="keywordflow">if</span> (baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#a7ddaf04177053a536f0e7be83a642bc6">GetOwningLayer</a>().<a class="code" href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">GetType</a>() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4ade43468adaf6acb2c38ebc0c1176f82f">LayerType::Pad</a>)</div>
<div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; {</div>
<div class="line"><a name="l00697"></a><span class="lineno"> 697</span>&#160; <a class="code" href="classarmnn_1_1_pad_layer.html">PadLayer</a>* padLayer = PolymorphicDowncast&lt;PadLayer*&gt;(</div>
<div class="line"><a name="l00698"></a><span class="lineno"> 698</span>&#160; &amp;baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>()-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#a7ddaf04177053a536f0e7be83a642bc6">GetOwningLayer</a>());</div>
<div class="line"><a name="l00699"></a><span class="lineno"> 699</span>&#160; <span class="keywordflow">if</span> (padLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_output_slot.html#a25b0119c02aece1d341b99953d169c0f">GetNumConnections</a>() == 1 &amp;&amp;</div>
<div class="line"><a name="l00700"></a><span class="lineno"> 700</span>&#160; <a class="code" href="namespacearmnn_1_1optimizations_1_1pad__fold.html#a33ffc65d1f6581b0789d3d3a033f698e">optimizations::pad_fold::TryFoldPadIntoLayer2d</a>(padLayer-&gt;<a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>(),</div>
<div class="line"><a name="l00701"></a><span class="lineno"> 701</span>&#160; poolingDescriptor,</div>
<div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160; padLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>().<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>(),</div>
<div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160; <span class="keyword">true</span>))</div>
<div class="line"><a name="l00704"></a><span class="lineno"> 704</span>&#160; {</div>
<div class="line"><a name="l00705"></a><span class="lineno"> 705</span>&#160; FoldPadIntoAveragePool2d&lt;Pooling2dLayer&gt;(optimizationViews, baseLayer,</div>
<div class="line"><a name="l00706"></a><span class="lineno"> 706</span>&#160; poolingDescriptor, padLayer);</div>
<div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160; untouched.erase(baseLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00708"></a><span class="lineno"> 708</span>&#160; untouched.erase(padLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a>());</div>
<div class="line"><a name="l00709"></a><span class="lineno"> 709</span>&#160; }</div>
<div class="line"><a name="l00710"></a><span class="lineno"> 710</span>&#160; }</div>
<div class="line"><a name="l00711"></a><span class="lineno"> 711</span>&#160; }</div>
<div class="line"><a name="l00712"></a><span class="lineno"> 712</span>&#160; }</div>
<div class="line"><a name="l00713"></a><span class="lineno"> 713</span>&#160; </div>
<div class="line"><a name="l00714"></a><span class="lineno"> 714</span>&#160; <span class="keywordflow">if</span> (optimizationViews.<a class="code" href="classarmnn_1_1_optimization_views.html#a9a1555f25af4a0ae2c0a1fc0ed9aded8">GetSubstitutions</a>().empty() &amp;&amp; optimizationViews.<a class="code" href="classarmnn_1_1_optimization_views.html#aa3792ea74cfe24d25460a6cf8e851f85">GetDeletedSubgraphs</a>().empty())</div>
<div class="line"><a name="l00715"></a><span class="lineno"> 715</span>&#160; {</div>
<div class="line"><a name="l00716"></a><span class="lineno"> 716</span>&#160; optimizationViews.<a class="code" href="classarmnn_1_1_optimization_views.html#a28e41bdd6b719a3d60a1a0de2e1ebc95">AddUntouchedSubgraph</a>(<a class="code" href="classarmnn_1_1_subgraph_view.html">SubgraphView</a>(subgraph));</div>
<div class="line"><a name="l00717"></a><span class="lineno"> 717</span>&#160; }</div>
<div class="line"><a name="l00718"></a><span class="lineno"> 718</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00719"></a><span class="lineno"> 719</span>&#160; {</div>
<div class="line"><a name="l00720"></a><span class="lineno"> 720</span>&#160; <a class="code" href="namespacearmnn.html#a5afd10e5e84ebf5cb8cfc8707492eda7">ReportUntouchedLayers</a>(optimizationViews, untouched);</div>
<div class="line"><a name="l00721"></a><span class="lineno"> 721</span>&#160; }</div>
<div class="line"><a name="l00722"></a><span class="lineno"> 722</span>&#160; </div>
<div class="line"><a name="l00723"></a><span class="lineno"> 723</span>&#160; <span class="keywordflow">return</span> optimizationViews;</div>
<div class="line"><a name="l00724"></a><span class="lineno"> 724</span>&#160;}</div>
<div class="line"><a name="l00725"></a><span class="lineno"> 725</span>&#160; </div>
<div class="line"><a name="l00726"></a><span class="lineno"> 726</span>&#160;} <span class="comment">// namespace armnn</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="anamespacearmnn_html_a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523"><div class="ttname"><a href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a1131a914388fac73e5f07b0ba0aad523">armnn::MemorySource::Malloc</a></div><div class="ttdeci">@ Malloc</div></div>
<div class="ttc" id="aclassarmnn_1_1_optimization_views_html_a28e41bdd6b719a3d60a1a0de2e1ebc95"><div class="ttname"><a href="classarmnn_1_1_optimization_views.html#a28e41bdd6b719a3d60a1a0de2e1ebc95">armnn::OptimizationViews::AddUntouchedSubgraph</a></div><div class="ttdeci">void AddUntouchedSubgraph(SubgraphView &amp;&amp;subgraph)</div><div class="ttdef"><b>Definition:</b> <a href="_optimization_views_8hpp_source.html#l00048">OptimizationViews.hpp:48</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_a93d4285a3ea5e4e3b35578484d889daa"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#a93d4285a3ea5e4e3b35578484d889daa">armnn::ClBackend::GetLayerSupport</a></div><div class="ttdeci">IBackendInternal::ILayerSupportSharedPtr GetLayerSupport() const override</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00252">ClBackend.cpp:252</a></div></div>
<div class="ttc" id="anamespacearmnn_html_ac4f8557279754ed7b3f749d55b0e3047a62b6d55816cf737bfc6f42e60df1a3f2"><div class="ttname"><a href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047a62b6d55816cf737bfc6f42e60df1a3f2">armnn::BinaryOperation::Mul</a></div><div class="ttdeci">@ Mul</div></div>
<div class="ttc" id="a_cl_workload_factory_8hpp_html"><div class="ttname"><a href="_cl_workload_factory_8hpp.html">ClWorkloadFactory.hpp</a></div></div>
<div class="ttc" id="astructarmnn_1_1_activation_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_activation_descriptor.html">armnn::ActivationDescriptor</a></div><div class="ttdoc">An ActivationDescriptor for the ActivationLayer.</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00036">Descriptors.hpp:36</a></div></div>
<div class="ttc" id="astructarmnn_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#l00507">Descriptors.hpp:507</a></div></div>
<div class="ttc" id="anamespacearmnn_html_ac4f8557279754ed7b3f749d55b0e3047aec211f7c20af43e742bf2570c3cb84f9"><div class="ttname"><a href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047aec211f7c20af43e742bf2570c3cb84f9">armnn::BinaryOperation::Add</a></div><div class="ttdeci">@ Add</div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_adda2579a4649278c81f18a1d3915b3a0"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#adda2579a4649278c81f18a1d3915b3a0">armnn::ClBackend::m_UsingCustomAllocator</a></div><div class="ttdeci">bool m_UsingCustomAllocator</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8hpp_source.html#l00284">ClBackend.hpp:284</a></div></div>
<div class="ttc" id="a_cl_depthwise_convolution_workload_8hpp_html"><div class="ttname"><a href="_cl_depthwise_convolution_workload_8hpp.html">ClDepthwiseConvolutionWorkload.hpp</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4ae4743c3ec15d1d84169b17264634692e"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4ae4743c3ec15d1d84169b17264634692e">armnn::LayerType::BatchNormalization</a></div><div class="ttdeci">@ BatchNormalization</div></div>
<div class="ttc" id="anamespacearmnn_html_afa9933f1d9de469ffba5ba0fcee769f8"><div class="ttname"><a href="namespacearmnn.html#afa9933f1d9de469ffba5ba0fcee769f8">armnn::ClSubtractionValidate</a></div><div class="ttdeci">arm_compute::Status ClSubtractionValidate(const TensorInfo &amp;input0, const TensorInfo &amp;input1, const TensorInfo &amp;output, const ActivationDescriptor *activationDescriptor)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_subtraction_workload_8cpp_source.html#l00046">ClSubtractionWorkload.cpp:46</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_optional_html"><div class="ttname"><a href="classarmnn_1_1_optional.html">armnn::Optional</a></div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.html#l00270">Optional.hpp:270</a></div></div>
<div class="ttc" id="a_descriptors_8hpp_html"><div class="ttname"><a href="_descriptors_8hpp.html">Descriptors.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_output_slot_html_ada2ad7d1caeeb4ef6195c8925fad6a65"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">armnn::OutputSlot::GetTensorInfo</a></div><div class="ttdeci">const TensorInfo &amp; GetTensorInfo() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00100">Layer.cpp:100</a></div></div>
<div class="ttc" id="astructarmnn_1_1_depthwise_convolution2d_descriptor_html_aea202e14d8874cefd9a0f778022b7e25"><div class="ttname"><a href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#aea202e14d8874cefd9a0f778022b7e25">armnn::DepthwiseConvolution2dDescriptor::m_BiasEnabled</a></div><div class="ttdeci">bool m_BiasEnabled</div><div class="ttdoc">Enable/disable bias.</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00708">Descriptors.hpp:708</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_tensor_handle_factory_html_acdecb5b442434112c2cc8fc48c0ea922"><div class="ttname"><a href="classarmnn_1_1_cl_tensor_handle_factory.html#acdecb5b442434112c2cc8fc48c0ea922">armnn::ClTensorHandleFactory::GetIdStatic</a></div><div class="ttdeci">static const FactoryId &amp; GetIdStatic()</div><div class="ttdef"><b>Definition:</b> <a href="_cl_tensor_handle_factory_8cpp_source.html#l00094">ClTensorHandleFactory.cpp:94</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_a531177ce89c53c6af616175b0b05e5c0"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#a531177ce89c53c6af616175b0b05e5c0">armnn::ClBackend::RegisterTensorHandleFactories</a></div><div class="ttdeci">void RegisterTensorHandleFactories(TensorHandleFactoryRegistry &amp;registry) override</div><div class="ttdoc">(Optional) Register TensorHandleFactories Either this method or CreateMemoryManager() and IWorkloadFa...</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00175">ClBackend.cpp:175</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_batch_normalization_layer_html_a2dfc280952c7939299c304fcbf855b97"><div class="ttname"><a href="classarmnn_1_1_batch_normalization_layer.html#a2dfc280952c7939299c304fcbf855b97">armnn::BatchNormalizationLayer::m_Mean</a></div><div class="ttdeci">std::shared_ptr&lt; ConstTensorHandle &gt; m_Mean</div><div class="ttdoc">A unique pointer to store Mean values.</div><div class="ttdef"><b>Definition:</b> <a href="_batch_normalization_layer_8hpp_source.html#l00019">BatchNormalizationLayer.hpp:19</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_subtraction_layer_html"><div class="ttname"><a href="classarmnn_1_1_subtraction_layer.html">armnn::SubtractionLayer</a></div><div class="ttdoc">This layer represents a subtraction operation.</div><div class="ttdef"><b>Definition:</b> <a href="_subtraction_layer_8hpp_source.html#l00014">SubtractionLayer.hpp:14</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_i_backend_internal_html_a693b40e6b94e958836aeb0410ca186bd"><div class="ttname"><a href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a></div><div class="ttdeci">std::shared_ptr&lt; IMemoryManager &gt; IMemoryManagerSharedPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_backend_internal_8hpp_source.html#l00099">IBackendInternal.hpp:99</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a9638165cb6c1baae3b2b5fd9f0f75201"><div class="ttname"><a href="namespacearmnn.html#a9638165cb6c1baae3b2b5fd9f0f75201">armnn::ClMultiplicationWorkloadValidate</a></div><div class="ttdeci">arm_compute::Status ClMultiplicationWorkloadValidate(const TensorInfo &amp;input0, const TensorInfo &amp;input1, const TensorInfo &amp;output, const ActivationDescriptor *activationDescriptor)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_multiplication_workload_8cpp_source.html#l00018">ClMultiplicationWorkload.cpp:18</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_tensor_handle_factory_registry_html"><div class="ttname"><a href="classarmnn_1_1_tensor_handle_factory_registry.html">armnn::TensorHandleFactoryRegistry</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_handle_factory_registry_8hpp_source.html#l00023">TensorHandleFactoryRegistry.hpp:23</a></div></div>
<div class="ttc" id="anamespacearmnn_html_aa9c506b558b8aa33a228b15164f40dc3"><div class="ttname"><a href="namespacearmnn.html#aa9c506b558b8aa33a228b15164f40dc3">armnn::BackendCapabilities</a></div><div class="ttdeci">BackendOptions BackendCapabilities</div><div class="ttdef"><b>Definition:</b> <a href="_backend_options_8hpp_source.html#l00019">BackendOptions.hpp:19</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_depthwise_convolution2d_layer_html"><div class="ttname"><a href="classarmnn_1_1_depthwise_convolution2d_layer.html">armnn::DepthwiseConvolution2dLayer</a></div><div class="ttdoc">This layer represents a depthwise convolution 2d operation.</div><div class="ttdef"><b>Definition:</b> <a href="_depthwise_convolution2d_layer_8hpp_source.html#l00015">DepthwiseConvolution2dLayer.hpp:15</a></div></div>
<div class="ttc" id="a_cl_layer_support_8hpp_html"><div class="ttname"><a href="_cl_layer_support_8hpp.html">ClLayerSupport.hpp</a></div></div>
<div class="ttc" id="anamespacearmnn_html_ac4f8557279754ed7b3f749d55b0e3047ae80155eceb940c89e2de63ad05868db2"><div class="ttname"><a href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047ae80155eceb940c89e2de63ad05868db2">armnn::BinaryOperation::Sub</a></div><div class="ttdeci">@ Sub</div></div>
<div class="ttc" id="anamespacearmnn_html_a5b05f3b7208ec7cea3338e30057c0bac"><div class="ttname"><a href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">armnn::MemorySourceFlags</a></div><div class="ttdeci">unsigned int MemorySourceFlags</div><div class="ttdef"><b>Definition:</b> <a href="_memory_sources_8hpp_source.html#l00015">MemorySources.hpp:15</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_a63559c7f206c265f5fff5ffcc8a58e3e"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#a63559c7f206c265f5fff5ffcc8a58e3e">armnn::ClBackend::GetHandleFactoryPreferences</a></div><div class="ttdeci">std::vector&lt; ITensorHandleFactory::FactoryId &gt; GetHandleFactoryPreferences() const override</div><div class="ttdoc">(Optional) Returns a vector of supported TensorHandleFactory ids in preference order.</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00169">ClBackend.cpp:169</a></div></div>
<div class="ttc" id="a_cl_tensor_handle_factory_8hpp_html"><div class="ttname"><a href="_cl_tensor_handle_factory_8hpp.html">ClTensorHandleFactory.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_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 &amp; GetOutputSlot(unsigned int index=0) const override</div><div class="ttdoc">Get the const output slot handle by slot index.</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00339">Layer.hpp:339</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_tensor_handle_factory_registry_html_a958ab0c60b6bfdfba5cc075211edec37"><div class="ttname"><a href="classarmnn_1_1_tensor_handle_factory_registry.html#a958ab0c60b6bfdfba5cc075211edec37">armnn::TensorHandleFactoryRegistry::RegisterMemoryManager</a></div><div class="ttdeci">void RegisterMemoryManager(std::shared_ptr&lt; IMemoryManager &gt; memoryManger)</div><div class="ttdoc">Register a memory manager with shared ownership.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_handle_factory_registry_8cpp_source.html#l00034">TensorHandleFactoryRegistry.cpp:34</a></div></div>
<div class="ttc" id="a_cl_reduce_workload_8hpp_html"><div class="ttname"><a href="_cl_reduce_workload_8hpp.html">ClReduceWorkload.hpp</a></div></div>
<div class="ttc" id="a_cl_backend_default_allocator_8hpp_html"><div class="ttname"><a href="_cl_backend_default_allocator_8hpp.html">ClBackendDefaultAllocator.hpp</a></div></div>
<div class="ttc" id="a_backend_registry_8hpp_html"><div class="ttname"><a href="_backend_registry_8hpp.html">BackendRegistry.hpp</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a18c7eef8533ca0acbbe081cd1a1fec98"><div class="ttname"><a href="namespacearmnn.html#a18c7eef8533ca0acbbe081cd1a1fec98">armnn::ClFullyConnectedWorkloadValidate</a></div><div class="ttdeci">arm_compute::Status ClFullyConnectedWorkloadValidate(const TensorInfo &amp;input, const TensorInfo &amp;output, const TensorInfo &amp;weights, const Optional&lt; TensorInfo &gt; &amp;biases, const FullyConnectedDescriptor &amp;descriptor, const ActivationDescriptor *activationDescriptor)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_fully_connected_workload_8cpp_source.html#l00019">ClFullyConnectedWorkload.cpp:19</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a61cf0886d4c1a6e24c101a57ccb2ec31"><div class="ttname"><a href="namespacearmnn.html#a61cf0886d4c1a6e24c101a57ccb2ec31">armnn::ClConvolution2dWorkloadValidate</a></div><div class="ttdeci">arm_compute::Status ClConvolution2dWorkloadValidate(const TensorInfo &amp;input, const TensorInfo &amp;output, const Convolution2dDescriptor &amp;descriptor, const TensorInfo &amp;weights, const Optional&lt; TensorInfo &gt; &amp;biases, bool isFastMathEnabled, const ActivationDescriptor *activationDescriptor)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_convolution2d_workload_8cpp_source.html#l00023">ClConvolution2dWorkload.cpp:23</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4aec4875f03ff0bb0b26cf76ac7f41e3c8"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4aec4875f03ff0bb0b26cf76ac7f41e3c8">armnn::LayerType::Reduce</a></div><div class="ttdeci">@ Reduce</div></div>
<div class="ttc" id="aclassarmnn_1_1_batch_normalization_layer_html"><div class="ttname"><a href="classarmnn_1_1_batch_normalization_layer.html">armnn::BatchNormalizationLayer</a></div><div class="ttdoc">This layer represents a batch normalization operation.</div><div class="ttdef"><b>Definition:</b> <a href="_batch_normalization_layer_8hpp_source.html#l00015">BatchNormalizationLayer.hpp:15</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_i_backend_internal_html_ada6d56575c0fe53cf23c7ae4610c6367"><div class="ttname"><a href="classarmnn_1_1_i_backend_internal.html#ada6d56575c0fe53cf23c7ae4610c6367">armnn::IBackendInternal::IBackendContextPtr</a></div><div class="ttdeci">std::unique_ptr&lt; IBackendContext &gt; IBackendContextPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_backend_internal_8hpp_source.html#l00090">IBackendInternal.hpp:90</a></div></div>
<div class="ttc" id="a_optimizer_8hpp_html"><div class="ttname"><a href="_optimizer_8hpp.html">Optimizer.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_layer_html_acf8b8e23bf647836592982f97088d375"><div class="ttname"><a href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">armnn::Layer::GetInputSlot</a></div><div class="ttdeci">const InputSlot &amp; GetInputSlot(unsigned int index) const override</div><div class="ttdoc">Get a const input slot handle by slot index.</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00337">Layer.hpp:337</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_layer_with_parameters_html_afa3e8a8f23589b1eaddbe203825bbdcf"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">armnn::LayerWithParameters::GetParameters</a></div><div class="ttdeci">const Parameters &amp; GetParameters() const override</div><div class="ttdoc">If the layer has a descriptor return it.</div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00019">LayerWithParameters.hpp:19</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a699bcffd93aff3022014b9efc9eaefd1"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a699bcffd93aff3022014b9efc9eaefd1">armnn::LayerType::ElementwiseBinary</a></div><div class="ttdeci">@ ElementwiseBinary</div></div>
<div class="ttc" id="aclassarmnn_1_1_layer_html_a7ddf0cf6f620d59c10e63495ace795d0"><div class="ttname"><a href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">armnn::Layer::GetName</a></div><div class="ttdeci">const char * GetName() const override</div><div class="ttdoc">Returns the name of the layer.</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00332">Layer.hpp:332</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_afb75bad43612f5314622c4fa8a16e63d"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#afb75bad43612f5314622c4fa8a16e63d">armnn::ClBackend::GetDefaultAllocator</a></div><div class="ttdeci">std::unique_ptr&lt; ICustomAllocator &gt; GetDefaultAllocator() const override</div><div class="ttdoc">Returns the default memory allocator for the backend.</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00270">ClBackend.cpp:270</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_convolution2d_layer_html"><div class="ttname"><a href="classarmnn_1_1_convolution2d_layer.html">armnn::Convolution2dLayer</a></div><div class="ttdoc">This layer represents a convolution 2d operation.</div><div class="ttdef"><b>Definition:</b> <a href="_convolution2d_layer_8hpp_source.html#l00015">Convolution2dLayer.hpp:15</a></div></div>
<div class="ttc" id="a_cl_division_workload_8hpp_html"><div class="ttname"><a href="_cl_division_workload_8hpp.html">ClDivisionWorkload.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_a68c2ef244261cc9649799284774af132"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#a68c2ef244261cc9649799284774af132">armnn::ClBackend::CreateBackendProfilingContext</a></div><div class="ttdeci">IBackendInternal::IBackendProfilingContextPtr CreateBackendProfilingContext(const IRuntime::CreationOptions &amp;, IBackendProfilingPtr &amp;backendProfiling) override</div><div class="ttdoc">Create context specifically used for profiling interaction from backends.</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00240">ClBackend.cpp:240</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_layer_html"><div class="ttname"><a href="classarmnn_1_1_layer.html">armnn::Layer</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00230">Layer.hpp:230</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_import_tensor_handle_factory_html_acdecb5b442434112c2cc8fc48c0ea922"><div class="ttname"><a href="classarmnn_1_1_cl_import_tensor_handle_factory.html#acdecb5b442434112c2cc8fc48c0ea922">armnn::ClImportTensorHandleFactory::GetIdStatic</a></div><div class="ttdeci">static const FactoryId &amp; GetIdStatic()</div><div class="ttdef"><b>Definition:</b> <a href="_cl_import_tensor_handle_factory_8cpp_source.html#l00093">ClImportTensorHandleFactory.cpp:93</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a24fc3e8e29d3fa56cc6b2d81e48625d1"><div class="ttname"><a href="namespacearmnn.html#a24fc3e8e29d3fa56cc6b2d81e48625d1">armnn::ClAdditionValidate</a></div><div class="ttdeci">arm_compute::Status ClAdditionValidate(const TensorInfo &amp;input0, const TensorInfo &amp;input1, const TensorInfo &amp;output, const ActivationDescriptor *activationDescriptor)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_addition_workload_8cpp_source.html#l00045">ClAdditionWorkload.cpp:45</a></div></div>
<div class="ttc" id="a_cl_backend_model_context_8hpp_html"><div class="ttname"><a href="_cl_backend_model_context_8hpp.html">ClBackendModelContext.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_addition_layer_html"><div class="ttname"><a href="classarmnn_1_1_addition_layer.html">armnn::AdditionLayer</a></div><div class="ttdoc">This layer represents an addition operation.</div><div class="ttdef"><b>Definition:</b> <a href="_addition_layer_8hpp_source.html#l00013">AdditionLayer.hpp:13</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_batch_normalization_layer_html_a5da51be22147d174ff661810c32675b0"><div class="ttname"><a href="classarmnn_1_1_batch_normalization_layer.html#a5da51be22147d174ff661810c32675b0">armnn::BatchNormalizationLayer::m_Gamma</a></div><div class="ttdeci">std::shared_ptr&lt; ConstTensorHandle &gt; m_Gamma</div><div class="ttdoc">A unique pointer to store Gamma values.</div><div class="ttdef"><b>Definition:</b> <a href="_batch_normalization_layer_8hpp_source.html#l00025">BatchNormalizationLayer.hpp:25</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_model_context_html"><div class="ttname"><a href="classarmnn_1_1_cl_backend_model_context.html">armnn::ClBackendModelContext</a></div><div class="ttdoc">The ClBackendModelContext is used to pass in CL specific backend ModelOptions.</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_model_context_8hpp_source.html#l00028">ClBackendModelContext.hpp:28</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_layer_html_aefb14147290b6b928c5fc924ba035acc"><div class="ttname"><a href="classarmnn_1_1_layer.html#aefb14147290b6b928c5fc924ba035acc">armnn::Layer::GetAdditionalInformation</a></div><div class="ttdeci">std::shared_ptr&lt; T &gt; GetAdditionalInformation() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00368">Layer.hpp:368</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_output_slot_html_a7ddaf04177053a536f0e7be83a642bc6"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#a7ddaf04177053a536f0e7be83a642bc6">armnn::OutputSlot::GetOwningLayer</a></div><div class="ttdeci">Layer &amp; GetOwningLayer() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00132">Layer.hpp:132</a></div></div>
<div class="ttc" id="anamespacearmnn_1_1optimizations_1_1pad__fold_html_a33ffc65d1f6581b0789d3d3a033f698e"><div class="ttname"><a href="namespacearmnn_1_1optimizations_1_1pad__fold.html#a33ffc65d1f6581b0789d3d3a033f698e">armnn::optimizations::pad_fold::TryFoldPadIntoLayer2d</a></div><div class="ttdeci">bool TryFoldPadIntoLayer2d(const PadDescriptor &amp;padDescriptor, Descriptor &amp;layerDescriptor, const TensorInfo &amp;tensorInfo)</div><div class="ttdef"><b>Definition:</b> <a href="_fold_pad_into_layer2d_8hpp_source.html#l00088">FoldPadIntoLayer2d.hpp:88</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_reshape_layer_html"><div class="ttname"><a href="classarmnn_1_1_reshape_layer.html">armnn::ReshapeLayer</a></div><div class="ttdoc">This layer represents a reshape operation.</div><div class="ttdef"><b>Definition:</b> <a href="_reshape_layer_8hpp_source.html#l00015">ReshapeLayer.hpp:15</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_batch_normalization_layer_html_a7d38a70f30295f365c3a98fc7fa4a229"><div class="ttname"><a href="classarmnn_1_1_batch_normalization_layer.html#a7d38a70f30295f365c3a98fc7fa4a229">armnn::BatchNormalizationLayer::m_Variance</a></div><div class="ttdeci">std::shared_ptr&lt; ConstTensorHandle &gt; m_Variance</div><div class="ttdoc">A unique pointer to store Variance values.</div><div class="ttdef"><b>Definition:</b> <a href="_batch_normalization_layer_8hpp_source.html#l00021">BatchNormalizationLayer.hpp:21</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_ab9199ff425571ba62412bb903c2c933e"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#ab9199ff425571ba62412bb903c2c933e">armnn::ClBackend::GetCapabilities</a></div><div class="ttdeci">BackendCapabilities GetCapabilities() const override</div><div class="ttdoc">Returns a BackendCapability if the backend lists the capability The BackendCapability must then be in...</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00275">ClBackend.cpp:275</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_subgraph_view_html_ad2570202bb366163f8b4660bfe78c49d"><div class="ttname"><a href="classarmnn_1_1_subgraph_view.html#ad2570202bb366163f8b4660bfe78c49d">armnn::SubgraphView::begin</a></div><div class="ttdeci">IConnectableLayerIterator begin()</div><div class="ttdef"><b>Definition:</b> <a href="_subgraph_view_8cpp_source.html#l00286">SubgraphView.cpp:286</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a6eb8b8b560161603402c0238b3a7d8b0"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a6eb8b8b560161603402c0238b3a7d8b0">armnn::LayerType::Subtraction</a></div><div class="ttdeci">@ Subtraction</div></div>
<div class="ttc" id="astructarmnn_1_1_fully_connected_descriptor_html_aea202e14d8874cefd9a0f778022b7e25"><div class="ttname"><a href="structarmnn_1_1_fully_connected_descriptor.html#aea202e14d8874cefd9a0f778022b7e25">armnn::FullyConnectedDescriptor::m_BiasEnabled</a></div><div class="ttdeci">bool m_BiasEnabled</div><div class="ttdoc">Enable/disable bias.</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00526">Descriptors.hpp:526</a></div></div>
<div class="ttc" id="anamespacearmnn_html_ae756568a7f2c58778bb6d759d2bd38db"><div class="ttname"><a href="namespacearmnn.html#ae756568a7f2c58778bb6d759d2bd38db">armnn::RemoveReshapeLayer</a></div><div class="ttdeci">void RemoveReshapeLayer(ReshapeLayer *baseLayer, std::map&lt; LayerGuid, Layer * &gt; &amp;untouched, OptimizationViews &amp;optimizationViews)</div><div class="ttdef"><b>Definition:</b> <a href="_subgraph_utils_8hpp_source.html#l00293">SubgraphUtils.hpp:293</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_reduce_layer_html"><div class="ttname"><a href="classarmnn_1_1_reduce_layer.html">armnn::ReduceLayer</a></div><div class="ttdoc">This layer represents a reduction operation.</div><div class="ttdef"><b>Definition:</b> <a href="_reduce_layer_8hpp_source.html#l00014">ReduceLayer.hpp:14</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a14fcd7f88d11cea0a018269dca5f9277aec0fc0100c4fc1ce4eea230c3dc10360"><div class="ttname"><a href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277aec0fc0100c4fc1ce4eea230c3dc10360">armnn::MemorySource::Undefined</a></div><div class="ttdeci">@ Undefined</div></div>
<div class="ttc" id="aclassarmnn_1_1_multiplication_layer_html"><div class="ttname"><a href="classarmnn_1_1_multiplication_layer.html">armnn::MultiplicationLayer</a></div><div class="ttdoc">This layer represents a multiplication operation.</div><div class="ttdef"><b>Definition:</b> <a href="_multiplication_layer_8hpp_source.html#l00014">MultiplicationLayer.hpp:14</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_output_slot_html_a25b0119c02aece1d341b99953d169c0f"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#a25b0119c02aece1d341b99953d169c0f">armnn::OutputSlot::GetNumConnections</a></div><div class="ttdeci">unsigned int GetNumConnections() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00158">Layer.hpp:158</a></div></div>
<div class="ttc" id="a_i_backend_context_8hpp_html"><div class="ttname"><a href="_i_backend_context_8hpp.html">IBackendContext.hpp</a></div></div>
<div class="ttc" id="a_polymorphic_downcast_8hpp_html"><div class="ttname"><a href="_polymorphic_downcast_8hpp.html">PolymorphicDowncast.hpp</a></div></div>
<div class="ttc" id="astructarmnn_1_1_convolution2d_descriptor_html_aea202e14d8874cefd9a0f778022b7e25"><div class="ttname"><a href="structarmnn_1_1_convolution2d_descriptor.html#aea202e14d8874cefd9a0f778022b7e25">armnn::Convolution2dDescriptor::m_BiasEnabled</a></div><div class="ttdeci">bool m_BiasEnabled</div><div class="ttdoc">Enable/disable bias.</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00582">Descriptors.hpp:582</a></div></div>
<div class="ttc" id="a_cl_fully_connected_workload_8hpp_html"><div class="ttname"><a href="_cl_fully_connected_workload_8hpp.html">ClFullyConnectedWorkload.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_layer_support_html"><div class="ttname"><a href="classarmnn_1_1_cl_layer_support.html">armnn::ClLayerSupport</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_layer_support_8hpp_source.html#l00014">ClLayerSupport.hpp:14</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_layer_html_a8dc12f0ee5b232d397bd18ced1a72a64"><div class="ttname"><a href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">armnn::Layer::GetGuid</a></div><div class="ttdeci">LayerGuid GetGuid() const final</div><div class="ttdoc">Returns the unique id of the layer.</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00343">Layer.hpp:343</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a27d1a1f7b7c2180e5b20ce9e3d00e2dd"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a27d1a1f7b7c2180e5b20ce9e3d00e2dd">armnn::LayerType::Multiplication</a></div><div class="ttdeci">@ Multiplication</div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_af1937f516c364d9d99cb502249e7179d"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#af1937f516c364d9d99cb502249e7179d">armnn::ClBackend::m_CustomAllocator</a></div><div class="ttdeci">std::shared_ptr&lt; ClBackendCustomAllocatorWrapper &gt; m_CustomAllocator</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8hpp_source.html#l00283">ClBackend.hpp:283</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_subgraph_view_html"><div class="ttname"><a href="classarmnn_1_1_subgraph_view.html">armnn::SubgraphView</a></div><div class="ttdoc">The SubgraphView class represents a subgraph of a Graph.</div><div class="ttdef"><b>Definition:</b> <a href="_subgraph_view_8hpp_source.html#l00031">SubgraphView.hpp:31</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a7c5531bbefed0945814f874baf9e0e0f"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a7c5531bbefed0945814f874baf9e0e0f">armnn::LayerType::Addition</a></div><div class="ttdeci">@ Addition</div></div>
<div class="ttc" id="aclassarmnn_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>
<div class="ttc" id="aclassarmnn_1_1_optimization_views_html"><div class="ttname"><a href="classarmnn_1_1_optimization_views.html">armnn::OptimizationViews</a></div><div class="ttdef"><b>Definition:</b> <a href="_optimization_views_8hpp_source.html#l00017">OptimizationViews.hpp:17</a></div></div>
<div class="ttc" id="a_arm_compute_utils_8hpp_html"><div class="ttname"><a href="_arm_compute_utils_8hpp.html">ArmComputeUtils.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_elementwise_binary_layer_html"><div class="ttname"><a href="classarmnn_1_1_elementwise_binary_layer.html">armnn::ElementwiseBinaryLayer</a></div><div class="ttdoc">This layer represents a elementwiseBinary operation.</div><div class="ttdef"><b>Definition:</b> <a href="_elementwise_binary_layer_8hpp_source.html#l00014">ElementwiseBinaryLayer.hpp:14</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_pooling2d_layer_html"><div class="ttname"><a href="classarmnn_1_1_pooling2d_layer.html">armnn::Pooling2dLayer</a></div><div class="ttdoc">This layer represents a pooling 2d operation.</div><div class="ttdef"><b>Definition:</b> <a href="_pooling2d_layer_8hpp_source.html#l00013">Pooling2dLayer.hpp:13</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_a801cf3170dc777aca3e6f926d1bd70a5"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#a801cf3170dc777aca3e6f926d1bd70a5">armnn::ClBackend::CreateBackendContext</a></div><div class="ttdeci">IBackendInternal::IBackendContextPtr CreateBackendContext(const IRuntime::CreationOptions &amp;) const override</div><div class="ttdoc">Create the runtime context of the backend.</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00235">ClBackend.cpp:235</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_division_layer_html"><div class="ttname"><a href="classarmnn_1_1_division_layer.html">armnn::DivisionLayer</a></div><div class="ttdoc">This layer represents a division operation.</div><div class="ttdef"><b>Definition:</b> <a href="_division_layer_8hpp_source.html#l00014">DivisionLayer.hpp:14</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_a8e19e275c8162e34e6d8d10a9245dbc9"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#a8e19e275c8162e34e6d8d10a9245dbc9">armnn::ClBackend::CreateWorkloadFactory</a></div><div class="ttdeci">IBackendInternal::IWorkloadFactoryPtr CreateWorkloadFactory(const IBackendInternal::IMemoryManagerSharedPtr &amp;memoryManager=nullptr) const override</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00059">ClBackend.cpp:59</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4ad662867a41bfb30b9f75dda2b5849001"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4ad662867a41bfb30b9f75dda2b5849001">armnn::LayerType::Pooling2d</a></div><div class="ttdeci">@ Pooling2d</div></div>
<div class="ttc" id="a_cl_batch_normalization_float_workload_8hpp_html"><div class="ttname"><a href="_cl_batch_normalization_float_workload_8hpp.html">ClBatchNormalizationFloatWorkload.hpp</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a3025cdaab2deb0bb2cd642449e570833"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a3025cdaab2deb0bb2cd642449e570833">armnn::LayerType::Division</a></div><div class="ttdeci">@ Division</div></div>
<div class="ttc" id="aclassarmnn_1_1_i_backend_internal_html_ae44a82b0e485e551a0f77150b1076e06"><div class="ttname"><a href="classarmnn_1_1_i_backend_internal.html#ae44a82b0e485e551a0f77150b1076e06">armnn::IBackendInternal::IBackendProfilingContextPtr</a></div><div class="ttdeci">std::shared_ptr&lt; arm::pipe::IBackendProfilingContext &gt; IBackendProfilingContextPtr</div><div class="ttdoc">This is the bridge between backend and backend profiling we'll keep it in the backend namespace.</div><div class="ttdef"><b>Definition:</b> <a href="_i_backend_internal_8hpp_source.html#l00092">IBackendInternal.hpp:92</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_a339efc194a1738cd93fcdde4d948a5cd"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#a339efc194a1738cd93fcdde4d948a5cd">armnn::ClBackend::OptimizeSubgraphView</a></div><div class="ttdeci">OptimizationViews OptimizeSubgraphView(const SubgraphView &amp;subgraph, const ModelOptions &amp;modelOptions) const override</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00292">ClBackend.cpp:292</a></div></div>
<div class="ttc" id="a_cl_convolution2d_workload_8hpp_html"><div class="ttname"><a href="_cl_convolution2d_workload_8hpp.html">ClConvolution2dWorkload.hpp</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4acab78faff25393e9defd1911cb58133e"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4acab78faff25393e9defd1911cb58133e">armnn::LayerType::FullyConnected</a></div><div class="ttdeci">@ FullyConnected</div></div>
<div class="ttc" id="aclassarmnn_1_1_batch_normalization_layer_html_a7645e8ead378db5ad17eadbdb9df4da6"><div class="ttname"><a href="classarmnn_1_1_batch_normalization_layer.html#a7645e8ead378db5ad17eadbdb9df4da6">armnn::BatchNormalizationLayer::m_Beta</a></div><div class="ttdeci">std::shared_ptr&lt; ConstTensorHandle &gt; m_Beta</div><div class="ttdoc">A unique pointer to store Beta values.</div><div class="ttdef"><b>Definition:</b> <a href="_batch_normalization_layer_8hpp_source.html#l00023">BatchNormalizationLayer.hpp:23</a></div></div>
<div class="ttc" id="a_cl_backend_id_8hpp_html"><div class="ttname"><a href="_cl_backend_id_8hpp.html">ClBackendId.hpp</a></div></div>
<div class="ttc" id="a_cl_addition_workload_8hpp_html"><div class="ttname"><a href="_cl_addition_workload_8hpp.html">ClAdditionWorkload.hpp</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4af97adbfc88b7012a0243215b1076e7e7"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4af97adbfc88b7012a0243215b1076e7e7">armnn::LayerType::DepthwiseConvolution2d</a></div><div class="ttdeci">@ DepthwiseConvolution2d</div></div>
<div class="ttc" id="astructarmnn_1_1_backend_options_html"><div class="ttname"><a href="structarmnn_1_1_backend_options.html">armnn::BackendOptions</a></div><div class="ttdoc">Struct for the users to pass backend specific options.</div><div class="ttdef"><b>Definition:</b> <a href="_backend_options_8hpp_source.html#l00022">BackendOptions.hpp:22</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_layer_html_ad8e15c530c929ab823d89ae9fd2d3f11"><div class="ttname"><a href="classarmnn_1_1_layer.html#ad8e15c530c929ab823d89ae9fd2d3f11">armnn::Layer::GetType</a></div><div class="ttdeci">LayerType GetType() const override</div><div class="ttdoc">Returns the armnn::LayerType of this layer.</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00286">Layer.hpp:286</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00042">Types.hpp:42</a></div></div>
<div class="ttc" id="a_cl_backend_context_8hpp_html"><div class="ttname"><a href="_cl_backend_context_8hpp.html">ClBackendContext.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_i_backend_internal_html_a335964abd41c91f7e6ef5c65865a7b98"><div class="ttname"><a href="classarmnn_1_1_i_backend_internal.html#a335964abd41c91f7e6ef5c65865a7b98">armnn::IBackendInternal::IBackendProfilingPtr</a></div><div class="ttdeci">std::unique_ptr&lt; arm::pipe::IBackendProfiling &gt; IBackendProfilingPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_backend_internal_8hpp_source.html#l00093">IBackendInternal.hpp:93</a></div></div>
<div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html">armnn::IRuntime::CreationOptions</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00078">IRuntime.hpp:78</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4aa7c59ccedc6a3bd90c17f3b990afefad"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4aa7c59ccedc6a3bd90c17f3b990afefad">armnn::LayerType::Reshape</a></div><div class="ttdeci">@ Reshape</div></div>
<div class="ttc" id="aclassarmnn_1_1_layer_html_a817d4be6dd88f532d36f51748ec14185"><div class="ttname"><a href="classarmnn_1_1_layer.html#a817d4be6dd88f532d36f51748ec14185">armnn::Layer::BeginOutputSlots</a></div><div class="ttdeci">std::vector&lt; OutputSlot &gt;::iterator BeginOutputSlots()</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00266">Layer.hpp:266</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_i_backend_internal_html_a12bff6d51d63dac1375c89bc8415dc46"><div class="ttname"><a href="classarmnn_1_1_i_backend_internal.html#a12bff6d51d63dac1375c89bc8415dc46">armnn::IBackendInternal::IMemoryManagerUniquePtr</a></div><div class="ttdeci">std::unique_ptr&lt; IMemoryManager &gt; IMemoryManagerUniquePtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_backend_internal_8hpp_source.html#l00098">IBackendInternal.hpp:98</a></div></div>
<div class="ttc" id="astructarmnn_1_1_reduce_descriptor_html_aa1c6fc8c96404252f1072632fc5acb59"><div class="ttname"><a href="structarmnn_1_1_reduce_descriptor.html#aa1c6fc8c96404252f1072632fc5acb59">armnn::ReduceDescriptor::m_vAxis</a></div><div class="ttdeci">std::vector&lt; uint32_t &gt; m_vAxis</div><div class="ttdoc">The indices of the dimensions to reduce.</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l01556">Descriptors.hpp:1556</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a29bd65c1ec4ff9f75b636ec8e7b038be"><div class="ttname"><a href="namespacearmnn.html#a29bd65c1ec4ff9f75b636ec8e7b038be">armnn::ClBatchNormalizationValidate</a></div><div class="ttdeci">arm_compute::Status ClBatchNormalizationValidate(const TensorInfo &amp;input, const TensorInfo &amp;output, const TensorInfo &amp;mean, const TensorInfo &amp;var, const TensorInfo &amp;beta, const TensorInfo &amp;gamma, const BatchNormalizationDescriptor &amp;descriptor, const ActivationDescriptor *activationDescriptor)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_batch_normalization_float_workload_8cpp_source.html#l00019">ClBatchNormalizationFloatWorkload.cpp:19</a></div></div>
<div class="ttc" id="a_cl_backend_8hpp_html"><div class="ttname"><a href="_cl_backend_8hpp.html">ClBackend.hpp</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a0591ff61ac269187164ea23713d33852"><div class="ttname"><a href="namespacearmnn.html#a0591ff61ac269187164ea23713d33852">armnn::ClDivisionWorkloadValidate</a></div><div class="ttdeci">arm_compute::Status ClDivisionWorkloadValidate(const TensorInfo &amp;input0, const TensorInfo &amp;input1, const TensorInfo &amp;output, const ActivationDescriptor *activationDescriptor)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_division_workload_8cpp_source.html#l00018">ClDivisionWorkload.cpp:18</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_optimization_views_html_a9a1555f25af4a0ae2c0a1fc0ed9aded8"><div class="ttname"><a href="classarmnn_1_1_optimization_views.html#a9a1555f25af4a0ae2c0a1fc0ed9aded8">armnn::OptimizationViews::GetSubstitutions</a></div><div class="ttdeci">const Substitutions &amp; GetSubstitutions() const</div><div class="ttdef"><b>Definition:</b> <a href="_optimization_views_8hpp_source.html#l00058">OptimizationViews.hpp:58</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_subgraph_view_html_afc40490fb4f488bd2a211e81c06a6971"><div class="ttname"><a href="classarmnn_1_1_subgraph_view.html#afc40490fb4f488bd2a211e81c06a6971">armnn::SubgraphView::end</a></div><div class="ttdeci">IConnectableLayerIterator end()</div><div class="ttdef"><b>Definition:</b> <a href="_subgraph_view_8cpp_source.html#l00291">SubgraphView.cpp:291</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_optimization_views_html_aa3792ea74cfe24d25460a6cf8e851f85"><div class="ttname"><a href="classarmnn_1_1_optimization_views.html#aa3792ea74cfe24d25460a6cf8e851f85">armnn::OptimizationViews::GetDeletedSubgraphs</a></div><div class="ttdeci">const Subgraphs &amp; GetDeletedSubgraphs() const</div><div class="ttdef"><b>Definition:</b> <a href="_optimization_views_8hpp_source.html#l00061">OptimizationViews.hpp:61</a></div></div>
<div class="ttc" id="astructarmnn_1_1_elementwise_binary_descriptor_html_a7e4ece533ef2cb0f251e11c47a17371c"><div class="ttname"><a href="structarmnn_1_1_elementwise_binary_descriptor.html#a7e4ece533ef2cb0f251e11c47a17371c">armnn::ElementwiseBinaryDescriptor::m_Operation</a></div><div class="ttdeci">BinaryOperation m_Operation</div><div class="ttdoc">Specifies the elementwiseBinary operation to execute.</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00125">Descriptors.hpp:125</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_backend_id_html"><div class="ttname"><a href="classarmnn_1_1_backend_id.html">armnn::BackendId</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_id_8hpp_source.html#l00075">BackendId.hpp:75</a></div></div>
<div class="ttc" id="a_cl_subtraction_workload_8hpp_html"><div class="ttname"><a href="_cl_subtraction_workload_8hpp.html">ClSubtractionWorkload.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_input_slot_html_a9effd325a6d512a3f8ff4bd207d53255"><div class="ttname"><a href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">armnn::InputSlot::GetConnectedOutputSlot</a></div><div class="ttdeci">const OutputSlot * GetConnectedOutputSlot() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00056">Layer.hpp:56</a></div></div>
<div class="ttc" id="anamespacearmnn_html"><div class="ttname"><a href="namespacearmnn.html">armnn</a></div><div class="ttdoc">Copyright (c) 2021 ARM Limited and Contributors.</div><div class="ttdef"><b>Definition:</b> <a href="01__00__quick__start_8dox_source.html#l00006">01_00_quick_start.dox:6</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_a177af502214bbc8123fbb4a3c4f0a1b8"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#a177af502214bbc8123fbb4a3c4f0a1b8">armnn::ClBackend::GetIdStatic</a></div><div class="ttdeci">static const BackendId &amp; GetIdStatic()</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00044">ClBackend.cpp:44</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4ade43468adaf6acb2c38ebc0c1176f82f"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4ade43468adaf6acb2c38ebc0c1176f82f">armnn::LayerType::Pad</a></div><div class="ttdeci">@ Pad</div></div>
<div class="ttc" id="a_cl_import_tensor_handle_factory_8hpp_html"><div class="ttname"><a href="_cl_import_tensor_handle_factory_8hpp.html">ClImportTensorHandleFactory.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_tensor_handle_factory_registry_html_a05f82bd846630bb3aa8afe22ef6f15fc"><div class="ttname"><a href="classarmnn_1_1_tensor_handle_factory_registry.html#a05f82bd846630bb3aa8afe22ef6f15fc">armnn::TensorHandleFactoryRegistry::RegisterFactory</a></div><div class="ttdeci">void RegisterFactory(std::unique_ptr&lt; ITensorHandleFactory &gt; allocator)</div><div class="ttdoc">Register a TensorHandleFactory and transfer ownership.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_handle_factory_registry_8cpp_source.html#l00012">TensorHandleFactoryRegistry.cpp:12</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_a2482b4a7d5bde88e9b963be08017ce2b"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#a2482b4a7d5bde88e9b963be08017ce2b">armnn::ClBackend::CreateBackendSpecificModelContext</a></div><div class="ttdeci">IBackendInternal::IBackendSpecificModelContextPtr CreateBackendSpecificModelContext(const ModelOptions &amp;modelOptions) const override</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00246">ClBackend.cpp:246</a></div></div>
<div class="ttc" id="a_cl_multiplication_workload_8hpp_html"><div class="ttname"><a href="_cl_multiplication_workload_8hpp.html">ClMultiplicationWorkload.hpp</a></div></div>
<div class="ttc" id="anamespacearmnn_html_adfe10e7086e3e3b98927cf84aee03dd0"><div class="ttname"><a href="namespacearmnn.html#adfe10e7086e3e3b98927cf84aee03dd0">armnn::ClBackendId</a></div><div class="ttdeci">constexpr const char * ClBackendId()</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_id_8hpp_source.html#l00010">ClBackendId.hpp:10</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_i_backend_internal_html_a11fa919c11fe46aad613b2e960fcfe90"><div class="ttname"><a href="classarmnn_1_1_i_backend_internal.html#a11fa919c11fe46aad613b2e960fcfe90">armnn::IBackendInternal::ILayerSupportSharedPtr</a></div><div class="ttdeci">std::shared_ptr&lt; ILayerSupport &gt; ILayerSupportSharedPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_backend_internal_8hpp_source.html#l00094">IBackendInternal.hpp:94</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_tensor_handle_factory_registry_html_afae069d084e8541c8970d17d26011ac6"><div class="ttname"><a href="classarmnn_1_1_tensor_handle_factory_registry.html#afae069d084e8541c8970d17d26011ac6">armnn::TensorHandleFactoryRegistry::RegisterCopyAndImportFactoryPair</a></div><div class="ttdeci">void RegisterCopyAndImportFactoryPair(ITensorHandleFactory::FactoryId copyFactoryId, ITensorHandleFactory::FactoryId importFactoryId)</div><div class="ttdoc">Register a pair of TensorHandleFactory Id for Memory Copy and TensorHandleFactory Id for Memory Impor...</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_handle_factory_registry_8cpp_source.html#l00066">TensorHandleFactoryRegistry.cpp:66</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a5b6893cda5b69359a4244c06054da18f"><div class="ttname"><a href="namespacearmnn.html#a5b6893cda5b69359a4244c06054da18f">armnn::ModelOptions</a></div><div class="ttdeci">std::vector&lt; BackendOptions &gt; ModelOptions</div><div class="ttdef"><b>Definition:</b> <a href="_backend_options_8hpp_source.html#l00018">BackendOptions.hpp:18</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a5afd10e5e84ebf5cb8cfc8707492eda7"><div class="ttname"><a href="namespacearmnn.html#a5afd10e5e84ebf5cb8cfc8707492eda7">armnn::ReportUntouchedLayers</a></div><div class="ttdeci">void ReportUntouchedLayers(OptimizationViews &amp;optimizationViews, std::map&lt; LayerGuid, Layer * &gt; untouched)</div><div class="ttdef"><b>Definition:</b> <a href="_subgraph_utils_8hpp_source.html#l00220">SubgraphUtils.hpp:220</a></div></div>
<div class="ttc" id="anamespacearmnn_html_ac5089a2ee61f22570982e7a56588365a"><div class="ttname"><a href="namespacearmnn.html#ac5089a2ee61f22570982e7a56588365a">armnn::ConnectedToLayerWithNCHW</a></div><div class="ttdeci">bool ConnectedToLayerWithNCHW(Layer *baseLayer)</div><div class="ttdoc">Checks if the Layer is connected to any Layer that has an NCHW layout.</div><div class="ttdef"><b>Definition:</b> <a href="_subgraph_utils_8hpp_source.html#l00250">SubgraphUtils.hpp:250</a></div></div>
<div class="ttc" id="anamespacearmnn_html_ac4f8557279754ed7b3f749d55b0e3047a43d11850893d2fe84a1e618121c1cc0a"><div class="ttname"><a href="namespacearmnn.html#ac4f8557279754ed7b3f749d55b0e3047a43d11850893d2fe84a1e618121c1cc0a">armnn::BinaryOperation::Div</a></div><div class="ttdeci">@ Div</div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4adb033d2f81b68f9a17e8f62de69fed4a"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4adb033d2f81b68f9a17e8f62de69fed4a">armnn::LayerType::Convolution2d</a></div><div class="ttdeci">@ Convolution2d</div></div>
<div class="ttc" id="astructarmnn_1_1_pooling2d_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_pooling2d_descriptor.html">armnn::Pooling2dDescriptor</a></div><div class="ttdoc">A Pooling2dDescriptor for the Pooling2dLayer.</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00371">Descriptors.hpp:371</a></div></div>
<div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4aa9a62e70841c4d06dd16306a85700d36"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4aa9a62e70841c4d06dd16306a85700d36">armnn::LayerType::Activation</a></div><div class="ttdeci">@ Activation</div></div>
<div class="ttc" id="aclassarmnn_1_1_i_backend_internal_html_a72ca1cf423bda4b0a9ffb789627126de"><div class="ttname"><a href="classarmnn_1_1_i_backend_internal.html#a72ca1cf423bda4b0a9ffb789627126de">armnn::IBackendInternal::IWorkloadFactoryPtr</a></div><div class="ttdeci">std::unique_ptr&lt; IWorkloadFactory &gt; IWorkloadFactoryPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_backend_internal_8hpp_source.html#l00089">IBackendInternal.hpp:89</a></div></div>
<div class="ttc" id="astructarmnn_1_1_reduce_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_reduce_descriptor.html">armnn::ReduceDescriptor</a></div><div class="ttdoc">A ReduceDescriptor for the REDUCE operators.</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l01538">Descriptors.hpp:1538</a></div></div>
<div class="ttc" id="anamespacearmnn_html_aa6670a2fcf9f365da69f3f3092dfa64b"><div class="ttname"><a href="namespacearmnn.html#aa6670a2fcf9f365da69f3f3092dfa64b">armnn::ClDepthwiseConvolutionWorkloadValidate</a></div><div class="ttdeci">arm_compute::Status ClDepthwiseConvolutionWorkloadValidate(const TensorInfo &amp;input, const TensorInfo &amp;output, const DepthwiseConvolution2dDescriptor &amp;descriptor, const TensorInfo &amp;weights, const Optional&lt; TensorInfo &gt; &amp;biases, const ActivationDescriptor *activationDescriptor)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_depthwise_convolution_workload_8cpp_source.html#l00026">ClDepthwiseConvolutionWorkload.cpp:26</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_context_html"><div class="ttname"><a href="classarmnn_1_1_cl_backend_context.html">armnn::ClBackendContext</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_context_8hpp_source.html#l00017">ClBackendContext.hpp:17</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_layer_html_a55f76d98fcd2f5cdac3e2b14536cb7ab"><div class="ttname"><a href="classarmnn_1_1_layer.html#a55f76d98fcd2f5cdac3e2b14536cb7ab">armnn::Layer::EndOutputSlots</a></div><div class="ttdeci">std::vector&lt; OutputSlot &gt;::iterator EndOutputSlots()</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00267">Layer.hpp:267</a></div></div>
<div class="ttc" id="a_i_memory_manager_8hpp_html"><div class="ttname"><a href="_i_memory_manager_8hpp.html">IMemoryManager.hpp</a></div></div>
<div class="ttc" id="a_arm_compute_subgraph_utils_8hpp_html"><div class="ttname"><a href="_arm_compute_subgraph_utils_8hpp.html">ArmComputeSubgraphUtils.hpp</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_pad_layer_html"><div class="ttname"><a href="classarmnn_1_1_pad_layer.html">armnn::PadLayer</a></div><div class="ttdoc">This layer represents a pad operation.</div><div class="ttdef"><b>Definition:</b> <a href="_pad_layer_8hpp_source.html#l00014">PadLayer.hpp:14</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_i_backend_internal_html_a4d0238968a7643dbb170547dd22bba54"><div class="ttname"><a href="classarmnn_1_1_i_backend_internal.html#a4d0238968a7643dbb170547dd22bba54">armnn::IBackendInternal::IBackendSpecificModelContextPtr</a></div><div class="ttdeci">std::shared_ptr&lt; IBackendModelContext &gt; IBackendSpecificModelContextPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_backend_internal_8hpp_source.html#l00096">IBackendInternal.hpp:96</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_model_context_html_abfe9aa4fa74aca0f9a925752bbbb0f79"><div class="ttname"><a href="classarmnn_1_1_cl_backend_model_context.html#abfe9aa4fa74aca0f9a925752bbbb0f79">armnn::ClBackendModelContext::IsFastMathEnabled</a></div><div class="ttdeci">bool IsFastMathEnabled() const</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_model_context_8cpp_source.html#l00066">ClBackendModelContext.cpp:66</a></div></div>
<div class="ttc" id="aclassarmnn_1_1_cl_backend_html_a93fcb3bff141d8c77b53466a44b58eee"><div class="ttname"><a href="classarmnn_1_1_cl_backend.html#a93fcb3bff141d8c77b53466a44b58eee">armnn::ClBackend::CreateMemoryManager</a></div><div class="ttdeci">IBackendInternal::IMemoryManagerUniquePtr CreateMemoryManager() const override</div><div class="ttdef"><b>Definition:</b> <a href="_cl_backend_8cpp_source.html#l00050">ClBackend.cpp:50</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.html">backends</a></li><li class="navelem"><a class="el" href="dir_1ad86c6d39ab715a831555571b9e98a5.html">cl</a></li><li class="navelem"><a class="el" href="_cl_backend_8cpp.html">ClBackend.cpp</a></li>
<li class="footer">Generated on Thu May 16 2024 09:31:46 for Arm NN by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>
</html>