blob: f37a987b20a31bc098e8412ede43866b80a008ed [file] [log] [blame]
<!-- HTML header for doxygen 1.8.15-->
<!-- Remember to use version doxygen 1.8.15 +-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.15"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: src/graph/backends/NEON/NEDeviceBackend.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>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</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="stylesheet.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="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">20.02.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<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('_n_e_device_backend_8cpp_source.xhtml','');});
/* @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">NEDeviceBackend.cpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_n_e_device_backend_8cpp.xhtml">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 (c) 2018-2019 ARM Limited.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * SPDX-License-Identifier: MIT</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * of this software and associated documentation files (the &quot;Software&quot;), to</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * deal in the Software without restriction, including without limitation the</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * sell copies of the Software, and to permit persons to whom the Software is</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * copies or substantial portions of the Software.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * SOFTWARE.</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_n_e_device_backend_8h.xhtml">arm_compute/graph/backends/NEON/NEDeviceBackend.h</a>&quot;</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="graph_2_graph_8h.xhtml">arm_compute/graph/Graph.h</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="_graph_context_8h.xhtml">arm_compute/graph/GraphContext.h</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="_i_node_8h.xhtml">arm_compute/graph/INode.h</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="graph_2_logger_8h.xhtml">arm_compute/graph/Logger.h</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="graph_2_tensor_8h.xhtml">arm_compute/graph/Tensor.h</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="_backend_registrar_8h.xhtml">arm_compute/graph/backends/BackendRegistrar.h</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="_n_e_function_factory_8h.xhtml">arm_compute/graph/backends/NEON/NEFunctionFactory.h</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="_n_e_node_validator_8h.xhtml">arm_compute/graph/backends/NEON/NENodeValidator.h</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="_n_e_sub_tensor_handle_8h.xhtml">arm_compute/graph/backends/NEON/NESubTensorHandle.h</a>&quot;</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_n_e_tensor_handle_8h.xhtml">arm_compute/graph/backends/NEON/NETensorHandle.h</a>&quot;</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_tensor_info_8h.xhtml">arm_compute/core/TensorInfo.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_allocator_8h.xhtml">arm_compute/runtime/Allocator.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_blob_lifetime_manager_8h.xhtml">arm_compute/runtime/BlobLifetimeManager.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_i_weights_manager_8h.xhtml">arm_compute/runtime/IWeightsManager.h</a>&quot;</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_memory_group_8h.xhtml">arm_compute/runtime/MemoryGroup.h</a>&quot;</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_memory_manager_on_demand_8h.xhtml">arm_compute/runtime/MemoryManagerOnDemand.h</a>&quot;</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_offset_lifetime_manager_8h.xhtml">arm_compute/runtime/OffsetLifetimeManager.h</a>&quot;</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_pool_manager_8h.xhtml">arm_compute/runtime/PoolManager.h</a>&quot;</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_scheduler_8h.xhtml">arm_compute/runtime/Scheduler.h</a>&quot;</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_toolchain_support_8h.xhtml">support/ToolchainSupport.h</a>&quot;</span></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;<span class="keyword">namespace </span><a class="code" href="namespacearm__compute.xhtml">arm_compute</a></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;{</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="keyword">namespace </span>graph</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;{</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="keyword">namespace </span>backends</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;{<span class="comment"></span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="comment">/** Register NEON backend */</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="keyword">static</span> detail::BackendRegistrar&lt;NEDeviceBackend&gt; NEDeviceBackend_registrar(<a class="code" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35dacaf162e9233294cadf62d2a71a14ca09">Target::NEON</a>);</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"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a66234bec4278ca60b7efb8ac0ab1bd09"> 58</a></span>&#160;<a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a66234bec4278ca60b7efb8ac0ab1bd09">NEDeviceBackend::NEDeviceBackend</a>()</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; : _allocator()</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;{</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;}</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#aa3f63e23c21fa7f4049c49338ec9d9a8"> 63</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#aa3f63e23c21fa7f4049c49338ec9d9a8">NEDeviceBackend::initialize_backend</a>()</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; <span class="comment">//Nothing to do</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;}</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#aa24d3f58d6e9c1d8c171d25defcdfb54"> 68</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#aa24d3f58d6e9c1d8c171d25defcdfb54">NEDeviceBackend::release_backend_context</a>(<a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml">GraphContext</a> &amp;ctx)</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;{</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="comment">//Nothing to do</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="code" href="_error_8h.xhtml#a6dc630a6ae9cc063b3924bcea8dee9d6">ARM_COMPUTE_UNUSED</a>(ctx);</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"> 73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a7b1a687adb038e7e989e5d33b26651dc"> 74</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a7b1a687adb038e7e989e5d33b26651dc">NEDeviceBackend::setup_backend_context</a>(<a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml">GraphContext</a> &amp;ctx)</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;{</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="comment">// Set number of threads</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordflow">if</span>(ctx.<a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a9c24c14abfd0ab9d1f4ce8cd5cc20819">config</a>().<a class="code" href="structarm__compute_1_1graph_1_1_graph_config.xhtml#a08963f7335eef295237ab460863bc3d5">num_threads</a> &gt;= 0)</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; <a class="code" href="classarm__compute_1_1_scheduler.xhtml#a0d63ca713bab377aabcfb63c192b8429">Scheduler::get</a>().<a class="code" href="classarm__compute_1_1_i_scheduler.xhtml#a645ac2d9d4144fd0174296de7eb1e1b5">set_num_threads</a>(ctx.<a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a9c24c14abfd0ab9d1f4ce8cd5cc20819">config</a>().<a class="code" href="structarm__compute_1_1graph_1_1_graph_config.xhtml#a08963f7335eef295237ab460863bc3d5">num_threads</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;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="comment">// Create function level memory manager</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keywordflow">if</span>(ctx.<a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a65394a2dba58e82644502daf2c29c663">memory_management_ctx</a>(<a class="code" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35dacaf162e9233294cadf62d2a71a14ca09">Target::NEON</a>) == <span class="keyword">nullptr</span>)</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; <a class="code" href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml">MemoryManagerContext</a> mm_ctx;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; mm_ctx.<a class="code" href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml#a2a7ca82c5e74421cb45f17e936abf964">target</a> = <a class="code" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35dacaf162e9233294cadf62d2a71a14ca09">Target::NEON</a>;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; mm_ctx.<a class="code" href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml#a4c2aea1a12258b14ffee603ac50ee29e">intra_mm</a> = <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ad02dea2a998dcd64725620b72022ba56">create_memory_manager</a>(<a class="code" href="namespacearm__compute_1_1graph.xhtml#ac866c81ec0f5526139dfc62ddc3f206eadfd0a82c4bf37b1e90b690a22a20692e">MemoryManagerAffinity::Offset</a>);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; mm_ctx.<a class="code" href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml#a4e1e0a2d09540e4c286f7ef4b5a02053">cross_mm</a> = <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ad02dea2a998dcd64725620b72022ba56">create_memory_manager</a>(<a class="code" href="namespacearm__compute_1_1graph.xhtml#ac866c81ec0f5526139dfc62ddc3f206eadfd0a82c4bf37b1e90b690a22a20692e">MemoryManagerAffinity::Offset</a>);</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; mm_ctx.<a class="code" href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml#a9a1a8b3c7023ca46b49d051c2ac25489">cross_group</a> = std::make_shared&lt;MemoryGroup&gt;(mm_ctx.<a class="code" href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml#a4e1e0a2d09540e4c286f7ef4b5a02053">cross_mm</a>);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; mm_ctx.<a class="code" href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml#a8725ea3110284d80b57a98c2cdf7a995">allocator</a> = &amp;_allocator;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; ctx.<a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a5bd2719563383b341ad9d1186c2e9847">insert_memory_management_ctx</a>(std::move(mm_ctx));</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; }</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="comment">// Create function level weights manager</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keywordflow">if</span>(ctx.<a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a2679316ea176b4760fc085c87179360b">weights_management_ctx</a>(<a class="code" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35dacaf162e9233294cadf62d2a71a14ca09">Target::NEON</a>) == <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; {</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <a class="code" href="structarm__compute_1_1graph_1_1_weights_manager_context.xhtml">WeightsManagerContext</a> wm_ctx;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; wm_ctx.<a class="code" href="structarm__compute_1_1graph_1_1_weights_manager_context.xhtml#a2a7ca82c5e74421cb45f17e936abf964">target</a> = <a class="code" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35dacaf162e9233294cadf62d2a71a14ca09">Target::NEON</a>;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; wm_ctx.<a class="code" href="structarm__compute_1_1graph_1_1_weights_manager_context.xhtml#a64adc506accad2ecf55cd9869c30be4d">wm</a> = <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#afae4c74f4a8efc83d76cf56e661f3ebc">create_weights_manager</a>();</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; ctx.<a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml#abfcc032b313fa67dc2c55d198948c5a0">insert_weights_management_ctx</a>(std::move(wm_ctx));</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; }</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;}</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a96a97b6b97a89e6940f8853d1dcbf213"> 106</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a96a97b6b97a89e6940f8853d1dcbf213">NEDeviceBackend::is_backend_supported</a>()</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;{</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;}</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"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ae6b65acad7e828cac1385f7efd5e1ac3"> 111</a></span>&#160;<a class="code" href="classarm__compute_1_1_i_allocator.xhtml">IAllocator</a> *<a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ae6b65acad7e828cac1385f7efd5e1ac3">NEDeviceBackend::backend_allocator</a>()</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; <span class="keywordflow">return</span> &amp;_allocator;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;}</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a5100fa4901700c5ce71b142e4b1b8d14"> 116</a></span>&#160;std::unique_ptr&lt;ITensorHandle&gt; <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a5100fa4901700c5ce71b142e4b1b8d14">NEDeviceBackend::create_tensor</a>(<span class="keyword">const</span> <a class="code" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a> &amp;tensor)</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; <span class="comment">// Get tensor descriptor</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keyword">const</span> <a class="code" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml">TensorDescriptor</a> &amp;tensor_desc = tensor.<a class="code" href="classarm__compute_1_1graph_1_1_tensor.xhtml#a0d3608f94078b90ab1ff9e9465d4ed3b">desc</a>();</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(tensor_desc.<a class="code" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml#a2a7ca82c5e74421cb45f17e936abf964">target</a> != <a class="code" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35dacaf162e9233294cadf62d2a71a14ca09">Target::NEON</a>);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="comment">// Create backend tensor handle</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <a class="code" href="classarm__compute_1_1_tensor_info.xhtml">TensorInfo</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a4f4125dba5283887b34f889b1c615c0c">info</a>(tensor_desc.<a class="code" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml#a1fcd64682b37ed3c2098d0094ce788d8">shape</a>, 1, tensor_desc.<a class="code" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml#a6118865e7371b107bd5fb4dd4a9e99a3">data_type</a>, tensor_desc.<a class="code" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml#a65bc62ff84efcb7e4a410600480a4dc9">quant_info</a>);</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a4f4125dba5283887b34f889b1c615c0c">info</a>.set_data_layout(tensor_desc.<a class="code" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml#a4b52bb397c7296e8efe864967b44f97e">layout</a>);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keyword">auto</span> backend_tensor_handle = support::cpp14::make_unique&lt;NETensorHandle&gt;(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a4f4125dba5283887b34f889b1c615c0c">info</a>);</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordflow">return</span> std::move(backend_tensor_handle);</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"> 129</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ae799bfb412ee884ddaec1111d65a5709"> 130</a></span>&#160;std::unique_ptr&lt;ITensorHandle&gt; <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ae799bfb412ee884ddaec1111d65a5709">NEDeviceBackend::create_subtensor</a>(<a class="code" href="classarm__compute_1_1graph_1_1_i_tensor_handle.xhtml">ITensorHandle</a> *parent, <a class="code" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a45cde9abb508c62d67c3bb2b9bf566a5">shape</a>, <a class="code" href="classarm__compute_1_1_coordinates.xhtml">Coordinates</a> coords, <span class="keywordtype">bool</span> extend_parent)</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;{</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordflow">if</span>(parent == <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; {</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; }</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">return</span> support::cpp14::make_unique&lt;NESubTensorHandle&gt;(parent, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a45cde9abb508c62d67c3bb2b9bf566a5">shape</a>, coords, extend_parent);</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;}</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"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ad47ca77f85641c7e74f75986a28682e6"> 140</a></span>&#160;std::unique_ptr&lt;arm_compute::IFunction&gt; <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ad47ca77f85641c7e74f75986a28682e6">NEDeviceBackend::configure_node</a>(<a class="code" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> &amp;node, <a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml">GraphContext</a> &amp;ctx)</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; <a class="code" href="graph_2_logger_8h.xhtml#a300d153929a99c7b571d4cda3f7987a5">ARM_COMPUTE_LOG_GRAPH_VERBOSE</a>(<span class="stringliteral">&quot;Configuring NEON node with ID : &quot;</span> &lt;&lt; node.<a class="code" href="classarm__compute_1_1graph_1_1_i_node.xhtml#a5ea90a25ef8059df2d2e51b82991ebf3">id</a>() &lt;&lt; std::endl);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(node.<a class="code" href="classarm__compute_1_1graph_1_1_i_node.xhtml#aa26cd423e8fc9233bd2bff46f82f46ab">assigned_target</a>() != <a class="code" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35dacaf162e9233294cadf62d2a71a14ca09">Target::NEON</a>);</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="comment">// Configure node</span></div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_function_factory.xhtml#aa7ac6bf065e64181f3c92fee4b3b5c79">NEFunctionFactory::create</a>(&amp;node, ctx);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;}</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"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#af8c9f941cc0efcdc112ac8534a204dd0"> 149</a></span>&#160;<a class="code" href="classarm__compute_1_1_status.xhtml">arm_compute::Status</a> <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#af8c9f941cc0efcdc112ac8534a204dd0">NEDeviceBackend::validate_node</a>(<a class="code" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> &amp;node)</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; <a class="code" href="graph_2_logger_8h.xhtml#a300d153929a99c7b571d4cda3f7987a5">ARM_COMPUTE_LOG_GRAPH_VERBOSE</a>(<span class="stringliteral">&quot;Validating NEON node with ID : &quot;</span> &lt;&lt; node.<a class="code" href="classarm__compute_1_1graph_1_1_i_node.xhtml#a5ea90a25ef8059df2d2e51b82991ebf3">id</a>() &lt;&lt; std::endl);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(node.<a class="code" href="classarm__compute_1_1graph_1_1_i_node.xhtml#aa26cd423e8fc9233bd2bff46f82f46ab">assigned_target</a>() != <a class="code" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35dacaf162e9233294cadf62d2a71a14ca09">Target::NEON</a>);</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; <span class="keywordflow">return</span> <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_node_validator.xhtml#a0779bcdedc0eebdd3e24c3f1b6356128">NENodeValidator::validate</a>(&amp;node);</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;}</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ad02dea2a998dcd64725620b72022ba56"> 157</a></span>&#160;std::shared_ptr&lt;arm_compute::IMemoryManager&gt; <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ad02dea2a998dcd64725620b72022ba56">NEDeviceBackend::create_memory_manager</a>(<a class="code" href="namespacearm__compute_1_1graph.xhtml#ac866c81ec0f5526139dfc62ddc3f206e">MemoryManagerAffinity</a> affinity)</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;{</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; std::shared_ptr&lt;ILifetimeManager&gt; lifetime_mgr = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keywordflow">if</span>(affinity == <a class="code" href="namespacearm__compute_1_1graph.xhtml#ac866c81ec0f5526139dfc62ddc3f206ea7e62bc342f41c946868f0ea6f0b712d8">MemoryManagerAffinity::Buffer</a>)</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; {</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; lifetime_mgr = std::make_shared&lt;BlobLifetimeManager&gt;();</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; }</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keywordflow">else</span></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; {</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; lifetime_mgr = std::make_shared&lt;OffsetLifetimeManager&gt;();</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; <span class="keyword">auto</span> pool_mgr = std::make_shared&lt;PoolManager&gt;();</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keyword">auto</span> mm = std::make_shared&lt;MemoryManagerOnDemand&gt;(lifetime_mgr, pool_mgr);</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordflow">return</span> mm;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;}</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"><a class="line" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#afae4c74f4a8efc83d76cf56e661f3ebc"> 174</a></span>&#160;std::shared_ptr&lt;arm_compute::IWeightsManager&gt; <a class="code" href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#afae4c74f4a8efc83d76cf56e661f3ebc">NEDeviceBackend::create_weights_manager</a>()</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;{</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keyword">auto</span> weights_mgr = std::make_shared&lt;IWeightsManager&gt;();</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keywordflow">return</span> weights_mgr;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;}</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;} <span class="comment">// namespace backends</span></div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;} <span class="comment">// namespace graph</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;} <span class="comment">// namespace arm_compute</span></div><div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_ad02dea2a998dcd64725620b72022ba56"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ad02dea2a998dcd64725620b72022ba56">arm_compute::graph::backends::NEDeviceBackend::create_memory_manager</a></div><div class="ttdeci">std::shared_ptr&lt; arm_compute::IMemoryManager &gt; create_memory_manager(MemoryManagerAffinity affinity) override</div><div class="ttdoc">Create a backend memory manager given its affinity.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00157">NEDeviceBackend.cpp:157</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_tensor_descriptor_xhtml_a6118865e7371b107bd5fb4dd4a9e99a3"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml#a6118865e7371b107bd5fb4dd4a9e99a3">arm_compute::graph::TensorDescriptor::data_type</a></div><div class="ttdeci">DataType data_type</div><div class="ttdoc">Data type.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_descriptor_8h_source.xhtml#l00110">TensorDescriptor.h:110</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_tensor_descriptor_xhtml_a1fcd64682b37ed3c2098d0094ce788d8"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml#a1fcd64682b37ed3c2098d0094ce788d8">arm_compute::graph::TensorDescriptor::shape</a></div><div class="ttdeci">TensorShape shape</div><div class="ttdoc">Tensor shape.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_descriptor_8h_source.xhtml#l00109">TensorDescriptor.h:109</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_ac866c81ec0f5526139dfc62ddc3f206ea7e62bc342f41c946868f0ea6f0b712d8"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#ac866c81ec0f5526139dfc62ddc3f206ea7e62bc342f41c946868f0ea6f0b712d8">arm_compute::graph::MemoryManagerAffinity::Buffer</a></div><div class="ttdoc">Affinity at buffer level.</div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_a31488d29805a596498c0234ae392d35dacaf162e9233294cadf62d2a71a14ca09"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35dacaf162e9233294cadf62d2a71a14ca09">arm_compute::graph::Target::NEON</a></div><div class="ttdoc">NEON capable target device.</div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a45cde9abb508c62d67c3bb2b9bf566a5"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a45cde9abb508c62d67c3bb2b9bf566a5">arm_compute::test::validation::shape</a></div><div class="ttdeci">shape</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_absolute_difference_8cpp_source.xhtml#l00097">AbsoluteDifference.cpp:97</a></div></div>
<div class="ttc" id="classarm__compute_1_1_tensor_shape_xhtml"><div class="ttname"><a href="classarm__compute_1_1_tensor_shape.xhtml">arm_compute::TensorShape</a></div><div class="ttdoc">Shape of a tensor.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_shape_8h_source.xhtml#l00039">TensorShape.h:39</a></div></div>
<div class="ttc" id="_toolchain_support_8h_xhtml"><div class="ttname"><a href="_toolchain_support_8h.xhtml">ToolchainSupport.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_ac866c81ec0f5526139dfc62ddc3f206eadfd0a82c4bf37b1e90b690a22a20692e"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#ac866c81ec0f5526139dfc62ddc3f206eadfd0a82c4bf37b1e90b690a22a20692e">arm_compute::graph::MemoryManagerAffinity::Offset</a></div><div class="ttdoc">Affinity at offset level.</div></div>
<div class="ttc" id="_n_e_sub_tensor_handle_8h_xhtml"><div class="ttname"><a href="_n_e_sub_tensor_handle_8h.xhtml">NESubTensorHandle.h</a></div></div>
<div class="ttc" id="_n_e_node_validator_8h_xhtml"><div class="ttname"><a href="_n_e_node_validator_8h.xhtml">NENodeValidator.h</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_tensor_descriptor_xhtml"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml">arm_compute::graph::TensorDescriptor</a></div><div class="ttdoc">Tensor metadata class.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_descriptor_8h_source.xhtml#l00038">TensorDescriptor.h:38</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_ae6b65acad7e828cac1385f7efd5e1ac3"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ae6b65acad7e828cac1385f7efd5e1ac3">arm_compute::graph::backends::NEDeviceBackend::backend_allocator</a></div><div class="ttdeci">IAllocator * backend_allocator() override</div><div class="ttdoc">Gets a backend memory allocator.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00111">NEDeviceBackend.cpp:111</a></div></div>
<div class="ttc" id="_backend_registrar_8h_xhtml"><div class="ttname"><a href="_backend_registrar_8h.xhtml">BackendRegistrar.h</a></div></div>
<div class="ttc" id="_n_e_tensor_handle_8h_xhtml"><div class="ttname"><a href="_n_e_tensor_handle_8h.xhtml">NETensorHandle.h</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_memory_manager_context_xhtml_a2a7ca82c5e74421cb45f17e936abf964"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml#a2a7ca82c5e74421cb45f17e936abf964">arm_compute::graph::MemoryManagerContext::target</a></div><div class="ttdeci">Target target</div><div class="ttdoc">Target.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8h_source.xhtml#l00042">GraphContext.h:42</a></div></div>
<div class="ttc" id="classarm__compute_1_1_i_scheduler_xhtml_a645ac2d9d4144fd0174296de7eb1e1b5"><div class="ttname"><a href="classarm__compute_1_1_i_scheduler.xhtml#a645ac2d9d4144fd0174296de7eb1e1b5">arm_compute::IScheduler::set_num_threads</a></div><div class="ttdeci">virtual void set_num_threads(unsigned int num_threads)=0</div><div class="ttdoc">Sets the number of threads the scheduler will use to run the kernels.</div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_i_node_xhtml_aa26cd423e8fc9233bd2bff46f82f46ab"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_i_node.xhtml#aa26cd423e8fc9233bd2bff46f82f46ab">arm_compute::graph::INode::assigned_target</a></div><div class="ttdeci">Target assigned_target() const</div><div class="ttdoc">Returns assigned target for this node.</div><div class="ttdef"><b>Definition:</b> <a href="_i_node_8cpp_source.xhtml#l00198">INode.cpp:198</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_context_xhtml_abfcc032b313fa67dc2c55d198948c5a0"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_context.xhtml#abfcc032b313fa67dc2c55d198948c5a0">arm_compute::graph::GraphContext::insert_weights_management_ctx</a></div><div class="ttdeci">bool insert_weights_management_ctx(WeightsManagerContext &amp;&amp;weights_ctx)</div><div class="ttdoc">Inserts a weights manager context.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8cpp_source.xhtml#l00078">GraphContext.cpp:78</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_memory_manager_context_xhtml_a9a1a8b3c7023ca46b49d051c2ac25489"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml#a9a1a8b3c7023ca46b49d051c2ac25489">arm_compute::graph::MemoryManagerContext::cross_group</a></div><div class="ttdeci">std::shared_ptr&lt; arm_compute::IMemoryGroup &gt; cross_group</div><div class="ttdoc">Cross-function memory group.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8h_source.xhtml#l00045">GraphContext.h:45</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_af8c9f941cc0efcdc112ac8534a204dd0"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#af8c9f941cc0efcdc112ac8534a204dd0">arm_compute::graph::backends::NEDeviceBackend::validate_node</a></div><div class="ttdeci">Status validate_node(INode &amp;node) override</div><div class="ttdoc">Validate a node.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00149">NEDeviceBackend.cpp:149</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_context_xhtml_a5bd2719563383b341ad9d1186c2e9847"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a5bd2719563383b341ad9d1186c2e9847">arm_compute::graph::GraphContext::insert_memory_management_ctx</a></div><div class="ttdeci">bool insert_memory_management_ctx(MemoryManagerContext &amp;&amp;memory_ctx)</div><div class="ttdoc">Inserts a memory manager context.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8cpp_source.xhtml#l00056">GraphContext.cpp:56</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_aa3f63e23c21fa7f4049c49338ec9d9a8"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#aa3f63e23c21fa7f4049c49338ec9d9a8">arm_compute::graph::backends::NEDeviceBackend::initialize_backend</a></div><div class="ttdeci">void initialize_backend() override</div><div class="ttdoc">Initializes the backend.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00063">NEDeviceBackend.cpp:63</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_a5100fa4901700c5ce71b142e4b1b8d14"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a5100fa4901700c5ce71b142e4b1b8d14">arm_compute::graph::backends::NEDeviceBackend::create_tensor</a></div><div class="ttdeci">std::unique_ptr&lt; ITensorHandle &gt; create_tensor(const Tensor &amp;tensor) override</div><div class="ttdoc">Create a backend Tensor.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00116">NEDeviceBackend.cpp:116</a></div></div>
<div class="ttc" id="_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown.</div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00466">Error.h:466</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_a66234bec4278ca60b7efb8ac0ab1bd09"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a66234bec4278ca60b7efb8ac0ab1bd09">arm_compute::graph::backends::NEDeviceBackend::NEDeviceBackend</a></div><div class="ttdeci">NEDeviceBackend()</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00058">NEDeviceBackend.cpp:58</a></div></div>
<div class="ttc" id="classarm__compute_1_1_status_xhtml"><div class="ttname"><a href="classarm__compute_1_1_status.xhtml">arm_compute::Status</a></div><div class="ttdoc">Status class.</div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00052">Error.h:52</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_context_xhtml_a2679316ea176b4760fc085c87179360b"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a2679316ea176b4760fc085c87179360b">arm_compute::graph::GraphContext::weights_management_ctx</a></div><div class="ttdeci">WeightsManagerContext * weights_management_ctx(Target target)</div><div class="ttdoc">Gets a weights manager context for a given target.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8cpp_source.xhtml#l00092">GraphContext.cpp:92</a></div></div>
<div class="ttc" id="_tensor_info_8h_xhtml"><div class="ttname"><a href="_tensor_info_8h.xhtml">TensorInfo.h</a></div></div>
<div class="ttc" id="_offset_lifetime_manager_8h_xhtml"><div class="ttname"><a href="_offset_lifetime_manager_8h.xhtml">OffsetLifetimeManager.h</a></div></div>
<div class="ttc" id="_i_node_8h_xhtml"><div class="ttname"><a href="_i_node_8h.xhtml">INode.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_context_xhtml"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_context.xhtml">arm_compute::graph::GraphContext</a></div><div class="ttdoc">Graph context.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8h_source.xhtml#l00057">GraphContext.h:57</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_node_validator_xhtml_a0779bcdedc0eebdd3e24c3f1b6356128"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_node_validator.xhtml#a0779bcdedc0eebdd3e24c3f1b6356128">arm_compute::graph::backends::NENodeValidator::validate</a></div><div class="ttdeci">static Status validate(INode *node)</div><div class="ttdoc">Validate a node.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_node_validator_8cpp_source.xhtml#l00041">NENodeValidator.cpp:41</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_afae4c74f4a8efc83d76cf56e661f3ebc"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#afae4c74f4a8efc83d76cf56e661f3ebc">arm_compute::graph::backends::NEDeviceBackend::create_weights_manager</a></div><div class="ttdeci">std::shared_ptr&lt; arm_compute::IWeightsManager &gt; create_weights_manager() override</div><div class="ttdoc">Create a backend weights manager.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00174">NEDeviceBackend.cpp:174</a></div></div>
<div class="ttc" id="namespacearm__compute_xhtml"><div class="ttname"><a href="namespacearm__compute.xhtml">arm_compute</a></div><div class="ttdoc">Copyright (c) 2017-2020 ARM Limited.</div><div class="ttdef"><b>Definition:</b> <a href="00__introduction_8dox_source.xhtml#l00024">00_introduction.dox:24</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_a96a97b6b97a89e6940f8853d1dcbf213"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a96a97b6b97a89e6940f8853d1dcbf213">arm_compute::graph::backends::NEDeviceBackend::is_backend_supported</a></div><div class="ttdeci">bool is_backend_supported() override</div><div class="ttdoc">Checks if an instantiated backend is actually supported.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00106">NEDeviceBackend.cpp:106</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_tensor_xhtml_a0d3608f94078b90ab1ff9e9465d4ed3b"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_tensor.xhtml#a0d3608f94078b90ab1ff9e9465d4ed3b">arm_compute::graph::Tensor::desc</a></div><div class="ttdeci">TensorDescriptor &amp; desc()</div><div class="ttdoc">TensorInfo metadata accessor.</div><div class="ttdef"><b>Definition:</b> <a href="graph_2_tensor_8cpp_source.xhtml#l00040">Tensor.cpp:40</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_tensor_descriptor_xhtml_a65bc62ff84efcb7e4a410600480a4dc9"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml#a65bc62ff84efcb7e4a410600480a4dc9">arm_compute::graph::TensorDescriptor::quant_info</a></div><div class="ttdeci">QuantizationInfo quant_info</div><div class="ttdoc">Quantization info.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_descriptor_8h_source.xhtml#l00112">TensorDescriptor.h:112</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_i_node_xhtml"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_i_node.xhtml">arm_compute::graph::INode</a></div><div class="ttdoc">Node interface.</div><div class="ttdef"><b>Definition:</b> <a href="_i_node_8h_source.xhtml#l00045">INode.h:45</a></div></div>
<div class="ttc" id="_error_8h_xhtml_a6dc630a6ae9cc063b3924bcea8dee9d6"><div class="ttname"><a href="_error_8h.xhtml#a6dc630a6ae9cc063b3924bcea8dee9d6">ARM_COMPUTE_UNUSED</a></div><div class="ttdeci">#define ARM_COMPUTE_UNUSED(...)</div><div class="ttdoc">To avoid unused variables warnings.</div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00152">Error.h:152</a></div></div>
<div class="ttc" id="_n_e_function_factory_8h_xhtml"><div class="ttname"><a href="_n_e_function_factory_8h.xhtml">NEFunctionFactory.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1_coordinates_xhtml"><div class="ttname"><a href="classarm__compute_1_1_coordinates.xhtml">arm_compute::Coordinates</a></div><div class="ttdoc">Coordinates of an item.</div><div class="ttdef"><b>Definition:</b> <a href="_coordinates_8h_source.xhtml#l00037">Coordinates.h:37</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_ad47ca77f85641c7e74f75986a28682e6"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ad47ca77f85641c7e74f75986a28682e6">arm_compute::graph::backends::NEDeviceBackend::configure_node</a></div><div class="ttdeci">std::unique_ptr&lt; arm_compute::IFunction &gt; configure_node(INode &amp;node, GraphContext &amp;ctx) override</div><div class="ttdoc">Configure a backend Node.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00140">NEDeviceBackend.cpp:140</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_i_node_xhtml_a5ea90a25ef8059df2d2e51b82991ebf3"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_i_node.xhtml#a5ea90a25ef8059df2d2e51b82991ebf3">arm_compute::graph::INode::id</a></div><div class="ttdeci">NodeID id() const</div><div class="ttdoc">Returns node's ID.</div><div class="ttdef"><b>Definition:</b> <a href="_i_node_8cpp_source.xhtml#l00102">INode.cpp:102</a></div></div>
<div class="ttc" id="graph_2_tensor_8h_xhtml"><div class="ttname"><a href="graph_2_tensor_8h.xhtml">Tensor.h</a></div></div>
<div class="ttc" id="graph_2_logger_8h_xhtml"><div class="ttname"><a href="graph_2_logger_8h.xhtml">Logger.h</a></div></div>
<div class="ttc" id="_scheduler_8h_xhtml"><div class="ttname"><a href="_scheduler_8h.xhtml">Scheduler.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_function_factory_xhtml_aa7ac6bf065e64181f3c92fee4b3b5c79"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_function_factory.xhtml#aa7ac6bf065e64181f3c92fee4b3b5c79">arm_compute::graph::backends::NEFunctionFactory::create</a></div><div class="ttdeci">static std::unique_ptr&lt; arm_compute::IFunction &gt; create(INode *node, GraphContext &amp;ctx)</div><div class="ttdoc">Create a backend execution function depending on the node type.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_function_factory_8cpp_source.xhtml#l00186">NEFunctionFactory.cpp:186</a></div></div>
<div class="ttc" id="_memory_group_8h_xhtml"><div class="ttname"><a href="_memory_group_8h.xhtml">MemoryGroup.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_i_tensor_handle_xhtml"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_i_tensor_handle.xhtml">arm_compute::graph::ITensorHandle</a></div><div class="ttdoc">Tensor handle interface object.</div><div class="ttdef"><b>Definition:</b> <a href="_i_tensor_handle_8h_source.xhtml#l00038">ITensorHandle.h:38</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_tensor_descriptor_xhtml_a2a7ca82c5e74421cb45f17e936abf964"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml#a2a7ca82c5e74421cb45f17e936abf964">arm_compute::graph::TensorDescriptor::target</a></div><div class="ttdeci">Target target</div><div class="ttdoc">Target.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_descriptor_8h_source.xhtml#l00113">TensorDescriptor.h:113</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_weights_manager_context_xhtml_a2a7ca82c5e74421cb45f17e936abf964"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_weights_manager_context.xhtml#a2a7ca82c5e74421cb45f17e936abf964">arm_compute::graph::WeightsManagerContext::target</a></div><div class="ttdeci">Target target</div><div class="ttdoc">Target.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8h_source.xhtml#l00052">GraphContext.h:52</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_ae799bfb412ee884ddaec1111d65a5709"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#ae799bfb412ee884ddaec1111d65a5709">arm_compute::graph::backends::NEDeviceBackend::create_subtensor</a></div><div class="ttdeci">std::unique_ptr&lt; ITensorHandle &gt; create_subtensor(ITensorHandle *parent, TensorShape shape, Coordinates coords, bool extend_parent) override</div><div class="ttdoc">Create a backend Sub-Tensor.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00130">NEDeviceBackend.cpp:130</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_memory_manager_context_xhtml_a4c2aea1a12258b14ffee603ac50ee29e"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml#a4c2aea1a12258b14ffee603ac50ee29e">arm_compute::graph::MemoryManagerContext::intra_mm</a></div><div class="ttdeci">std::shared_ptr&lt; arm_compute::IMemoryManager &gt; intra_mm</div><div class="ttdoc">Intra-function memory manager.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8h_source.xhtml#l00043">GraphContext.h:43</a></div></div>
<div class="ttc" id="_blob_lifetime_manager_8h_xhtml"><div class="ttname"><a href="_blob_lifetime_manager_8h.xhtml">BlobLifetimeManager.h</a></div></div>
<div class="ttc" id="_pool_manager_8h_xhtml"><div class="ttname"><a href="_pool_manager_8h.xhtml">PoolManager.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_context_xhtml_a9c24c14abfd0ab9d1f4ce8cd5cc20819"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a9c24c14abfd0ab9d1f4ce8cd5cc20819">arm_compute::graph::GraphContext::config</a></div><div class="ttdeci">const GraphConfig &amp; config() const</div><div class="ttdoc">Graph configuration accessor.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8cpp_source.xhtml#l00046">GraphContext.cpp:46</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_memory_manager_context_xhtml_a4e1e0a2d09540e4c286f7ef4b5a02053"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml#a4e1e0a2d09540e4c286f7ef4b5a02053">arm_compute::graph::MemoryManagerContext::cross_mm</a></div><div class="ttdeci">std::shared_ptr&lt; arm_compute::IMemoryManager &gt; cross_mm</div><div class="ttdoc">Cross-function memory manager.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8h_source.xhtml#l00044">GraphContext.h:44</a></div></div>
<div class="ttc" id="_memory_manager_on_demand_8h_xhtml"><div class="ttname"><a href="_memory_manager_on_demand_8h.xhtml">MemoryManagerOnDemand.h</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_weights_manager_context_xhtml"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_weights_manager_context.xhtml">arm_compute::graph::WeightsManagerContext</a></div><div class="ttdoc">Contains structs required for weights management.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8h_source.xhtml#l00050">GraphContext.h:50</a></div></div>
<div class="ttc" id="_i_weights_manager_8h_xhtml"><div class="ttname"><a href="_i_weights_manager_8h.xhtml">IWeightsManager.h</a></div></div>
<div class="ttc" id="graph_2_logger_8h_xhtml_a300d153929a99c7b571d4cda3f7987a5"><div class="ttname"><a href="graph_2_logger_8h.xhtml#a300d153929a99c7b571d4cda3f7987a5">ARM_COMPUTE_LOG_GRAPH_VERBOSE</a></div><div class="ttdeci">#define ARM_COMPUTE_LOG_GRAPH_VERBOSE(x)</div><div class="ttdef"><b>Definition:</b> <a href="graph_2_logger_8h_source.xhtml#l00050">Logger.h:50</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_memory_manager_context_xhtml"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml">arm_compute::graph::MemoryManagerContext</a></div><div class="ttdoc">Contains structs required for memory management.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8h_source.xhtml#l00040">GraphContext.h:40</a></div></div>
<div class="ttc" id="classarm__compute_1_1_i_allocator_xhtml"><div class="ttname"><a href="classarm__compute_1_1_i_allocator.xhtml">arm_compute::IAllocator</a></div><div class="ttdoc">Allocator interface.</div><div class="ttdef"><b>Definition:</b> <a href="_i_allocator_8h_source.xhtml#l00035">IAllocator.h:35</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_graph_config_xhtml_a08963f7335eef295237ab460863bc3d5"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_graph_config.xhtml#a08963f7335eef295237ab460863bc3d5">arm_compute::graph::GraphConfig::num_threads</a></div><div class="ttdeci">int num_threads</div><div class="ttdoc">Number of threads to use (thread capable backends), if 0 the backend will auto-initialize,...</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00086">Types.h:86</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_aa24d3f58d6e9c1d8c171d25defcdfb54"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#aa24d3f58d6e9c1d8c171d25defcdfb54">arm_compute::graph::backends::NEDeviceBackend::release_backend_context</a></div><div class="ttdeci">void release_backend_context(GraphContext &amp;ctx) override</div><div class="ttdoc">Release the backend specific resources associated to a given graph context.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00068">NEDeviceBackend.cpp:68</a></div></div>
<div class="ttc" id="graph_2_graph_8h_xhtml"><div class="ttname"><a href="graph_2_graph_8h.xhtml">Graph.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarm__compute_1_1_tensor_info.xhtml">arm_compute::TensorInfo</a></div><div class="ttdoc">Store the tensor's metadata.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_info_8h_source.xhtml#l00045">TensorInfo.h:45</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_memory_manager_context_xhtml_a8725ea3110284d80b57a98c2cdf7a995"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_memory_manager_context.xhtml#a8725ea3110284d80b57a98c2cdf7a995">arm_compute::graph::MemoryManagerContext::allocator</a></div><div class="ttdeci">IAllocator * allocator</div><div class="ttdoc">Backend allocator to use.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8h_source.xhtml#l00046">GraphContext.h:46</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend_xhtml_a7b1a687adb038e7e989e5d33b26651dc"><div class="ttname"><a href="classarm__compute_1_1graph_1_1backends_1_1_n_e_device_backend.xhtml#a7b1a687adb038e7e989e5d33b26651dc">arm_compute::graph::backends::NEDeviceBackend::setup_backend_context</a></div><div class="ttdeci">void setup_backend_context(GraphContext &amp;ctx) override</div><div class="ttdoc">Setups the given graph context.</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_device_backend_8cpp_source.xhtml#l00074">NEDeviceBackend.cpp:74</a></div></div>
<div class="ttc" id="_graph_context_8h_xhtml"><div class="ttname"><a href="_graph_context_8h.xhtml">GraphContext.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a4f4125dba5283887b34f889b1c615c0c"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a4f4125dba5283887b34f889b1c615c0c">arm_compute::test::validation::info</a></div><div class="ttdeci">info</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_convolution_layer_8cpp_source.xhtml#l00182">ConvolutionLayer.cpp:182</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_context_xhtml_a65394a2dba58e82644502daf2c29c663"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a65394a2dba58e82644502daf2c29c663">arm_compute::graph::GraphContext::memory_management_ctx</a></div><div class="ttdeci">MemoryManagerContext * memory_management_ctx(Target target)</div><div class="ttdoc">Gets a memory manager context for a given target.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8cpp_source.xhtml#l00068">GraphContext.cpp:68</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_tensor_descriptor_xhtml_a4b52bb397c7296e8efe864967b44f97e"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml#a4b52bb397c7296e8efe864967b44f97e">arm_compute::graph::TensorDescriptor::layout</a></div><div class="ttdeci">DataLayout layout</div><div class="ttdoc">Data layout.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_descriptor_8h_source.xhtml#l00111">TensorDescriptor.h:111</a></div></div>
<div class="ttc" id="_n_e_device_backend_8h_xhtml"><div class="ttname"><a href="_n_e_device_backend_8h.xhtml">NEDeviceBackend.h</a></div></div>
<div class="ttc" id="_allocator_8h_xhtml"><div class="ttname"><a href="_allocator_8h.xhtml">Allocator.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_ac866c81ec0f5526139dfc62ddc3f206e"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#ac866c81ec0f5526139dfc62ddc3f206e">arm_compute::graph::MemoryManagerAffinity</a></div><div class="ttdeci">MemoryManagerAffinity</div><div class="ttdoc">Backend Memory Manager affinity.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00179">Types.h:179</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_weights_manager_context_xhtml_a64adc506accad2ecf55cd9869c30be4d"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_weights_manager_context.xhtml#a64adc506accad2ecf55cd9869c30be4d">arm_compute::graph::WeightsManagerContext::wm</a></div><div class="ttdeci">std::shared_ptr&lt; arm_compute::IWeightsManager &gt; wm</div><div class="ttdoc">Weights manager.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8h_source.xhtml#l00053">GraphContext.h:53</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_tensor_xhtml"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_tensor.xhtml">arm_compute::graph::Tensor</a></div><div class="ttdoc">Tensor object.</div><div class="ttdef"><b>Definition:</b> <a href="graph_2_tensor_8h_source.xhtml#l00041">Tensor.h:41</a></div></div>
<div class="ttc" id="classarm__compute_1_1_scheduler_xhtml_a0d63ca713bab377aabcfb63c192b8429"><div class="ttname"><a href="classarm__compute_1_1_scheduler.xhtml#a0d63ca713bab377aabcfb63c192b8429">arm_compute::Scheduler::get</a></div><div class="ttdeci">static IScheduler &amp; get()</div><div class="ttdoc">Access the scheduler singleton.</div><div class="ttdef"><b>Definition:</b> <a href="_scheduler_8cpp_source.xhtml#l00095">Scheduler.cpp:95</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- 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.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_d182250f0c231765fc862e69db210731.xhtml">graph</a></li><li class="navelem"><a class="el" href="dir_39e772dac1f6529f21fb52deefa146ea.xhtml">backends</a></li><li class="navelem"><a class="el" href="dir_a0f71818ea2c5c08950cb56389fab822.xhtml">NEON</a></li><li class="navelem"><a class="el" href="_n_e_device_backend_8cpp.xhtml">NEDeviceBackend.cpp</a></li>
<li class="footer">Generated on Thu Mar 5 2020 16:07:02 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
</div>
</body>
</html>