1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
|
<!-- Copyright (c) 2020 ARM Limited. -->
<!-- -->
<!-- SPDX-License-Identifier: MIT -->
<!-- -->
<!-- HTML header for doxygen 1.8.13-->
<!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.13"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArmNN: ConstPassthroughTensorHandle Class Reference</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">
$(document).ready(initResizable);
</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" 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="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
 <span id="projectnumber">22.08</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</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">
$(document).ready(function(){initNavTree('classarmnn_1_1_const_passthrough_tensor_handle.xhtml','');});
</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="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classarmnn_1_1_const_passthrough_tensor_handle-members.xhtml">List of all members</a> </div>
<div class="headertitle">
<div class="title">ConstPassthroughTensorHandle Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <<a class="el" href="include_2armnn_2backends_2_tensor_handle_8hpp_source.xhtml">TensorHandle.hpp</a>></code></p>
<div class="dynheader">
Inheritance diagram for ConstPassthroughTensorHandle:</div>
<div class="dyncontent">
<div class="center">
<img src="classarmnn_1_1_const_passthrough_tensor_handle.png" usemap="#ConstPassthroughTensorHandle_map" alt=""/>
<map id="ConstPassthroughTensorHandle_map" name="ConstPassthroughTensorHandle_map">
<area href="classarmnn_1_1_const_tensor_handle.xhtml" alt="ConstTensorHandle" shape="rect" coords="0,56,193,80"/>
<area href="classarmnn_1_1_i_tensor_handle.xhtml" alt="ITensorHandle" shape="rect" coords="0,0,193,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0fae77f3e6b22dea0e80f5dd571d9e6c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_passthrough_tensor_handle.xhtml#a0fae77f3e6b22dea0e80f5dd571d9e6c">ConstPassthroughTensorHandle</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &tensorInfo, const void *mem)</td></tr>
<tr class="separator:a0fae77f3e6b22dea0e80f5dd571d9e6c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8518772c5d692e334a76617582b10b92"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_passthrough_tensor_handle.xhtml#a8518772c5d692e334a76617582b10b92">Allocate</a> () override</td></tr>
<tr class="memdesc:a8518772c5d692e334a76617582b10b92"><td class="mdescLeft"> </td><td class="mdescRight">Indicate to the memory manager that this resource is no longer active. <a href="#a8518772c5d692e334a76617582b10b92">More...</a><br /></td></tr>
<tr class="separator:a8518772c5d692e334a76617582b10b92"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classarmnn_1_1_const_tensor_handle"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_const_tensor_handle')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml">ConstTensorHandle</a></td></tr>
<tr class="memitem:a3a76fc8b348e13d5a6ac1240c96ebef4 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
<tr class="memitem:a3a76fc8b348e13d5a6ac1240c96ebef4 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memTemplItemLeft" align="right" valign="top">const T * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#a3a76fc8b348e13d5a6ac1240c96ebef4">GetConstTensor</a> () const</td></tr>
<tr class="separator:a3a76fc8b348e13d5a6ac1240c96ebef4 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a66e8f43a5b42b500871ed96e15419567 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a> () const</td></tr>
<tr class="separator:a66e8f43a5b42b500871ed96e15419567 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a19aa18d78d5ac31e3a3c8f782f0e8606 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#a19aa18d78d5ac31e3a3c8f782f0e8606">Manage</a> () override</td></tr>
<tr class="memdesc:a19aa18d78d5ac31e3a3c8f782f0e8606 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Indicate to the memory manager that this resource is active. <a href="classarmnn_1_1_const_tensor_handle.xhtml#a19aa18d78d5ac31e3a3c8f782f0e8606">More...</a><br /></td></tr>
<tr class="separator:a19aa18d78d5ac31e3a3c8f782f0e8606 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab6c52b35388890f2c563afbebfb456a6 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml">ITensorHandle</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#ab6c52b35388890f2c563afbebfb456a6">GetParent</a> () const override</td></tr>
<tr class="memdesc:ab6c52b35388890f2c563afbebfb456a6 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Get the parent tensor if this is a subtensor. <a href="classarmnn_1_1_const_tensor_handle.xhtml#ab6c52b35388890f2c563afbebfb456a6">More...</a><br /></td></tr>
<tr class="separator:ab6c52b35388890f2c563afbebfb456a6 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acc3fcce7a100cc3b64247519f22e37fc inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#acc3fcce7a100cc3b64247519f22e37fc">Map</a> (bool) const override</td></tr>
<tr class="memdesc:acc3fcce7a100cc3b64247519f22e37fc inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Map the tensor data for access. <a href="classarmnn_1_1_const_tensor_handle.xhtml#acc3fcce7a100cc3b64247519f22e37fc">More...</a><br /></td></tr>
<tr class="separator:acc3fcce7a100cc3b64247519f22e37fc inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88ab6decf78c152e746b7d8dc2dd931f inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#a88ab6decf78c152e746b7d8dc2dd931f">Unmap</a> () const override</td></tr>
<tr class="memdesc:a88ab6decf78c152e746b7d8dc2dd931f inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Unmap the tensor data. <a href="classarmnn_1_1_const_tensor_handle.xhtml#a88ab6decf78c152e746b7d8dc2dd931f">More...</a><br /></td></tr>
<tr class="separator:a88ab6decf78c152e746b7d8dc2dd931f inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a967f220393d291f71dabce0c06bf9b6c inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#a967f220393d291f71dabce0c06bf9b6c">GetStrides</a> () const override</td></tr>
<tr class="memdesc:a967f220393d291f71dabce0c06bf9b6c inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Get the strides for each dimension ordered from largest to smallest where the smallest value is the same as the size of a single element in the tensor. <a href="classarmnn_1_1_const_tensor_handle.xhtml#a967f220393d291f71dabce0c06bf9b6c">More...</a><br /></td></tr>
<tr class="separator:a967f220393d291f71dabce0c06bf9b6c inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e8d2fbabcac19f9e12779080ddff54e inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#a8e8d2fbabcac19f9e12779080ddff54e">GetShape</a> () const override</td></tr>
<tr class="memdesc:a8e8d2fbabcac19f9e12779080ddff54e inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of elements for each dimension ordered from slowest iterating dimension to fastest iterating dimension. <a href="classarmnn_1_1_const_tensor_handle.xhtml#a8e8d2fbabcac19f9e12779080ddff54e">More...</a><br /></td></tr>
<tr class="separator:a8e8d2fbabcac19f9e12779080ddff54e inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aecc243f62d4777927e15af592d330764 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memTemplParams" colspan="2">template<> </td></tr>
<tr class="memitem:aecc243f62d4777927e15af592d330764 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memTemplItemLeft" align="right" valign="top">const void * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#aecc243f62d4777927e15af592d330764">GetConstTensor</a> () const</td></tr>
<tr class="separator:aecc243f62d4777927e15af592d330764 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8faf443b026b17e61779734bd2b45d12 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memTemplParams" colspan="2">template<> </td></tr>
<tr class="memitem:a8faf443b026b17e61779734bd2b45d12 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memTemplItemLeft" align="right" valign="top">const void * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#a8faf443b026b17e61779734bd2b45d12">GetConstTensor</a> () const</td></tr>
<tr class="separator:a8faf443b026b17e61779734bd2b45d12 inherit pub_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classarmnn_1_1_i_tensor_handle"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_i_tensor_handle')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml">ITensorHandle</a></td></tr>
<tr class="memitem:aff95f063e2b8041b3d0e4b4dc0e3821d inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#aff95f063e2b8041b3d0e4b4dc0e3821d">~ITensorHandle</a> ()</td></tr>
<tr class="separator:aff95f063e2b8041b3d0e4b4dc0e3821d inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a270c8f844df649b9b0599c1e4db44cd3 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a270c8f844df649b9b0599c1e4db44cd3">Map</a> (bool blocking=true)</td></tr>
<tr class="memdesc:a270c8f844df649b9b0599c1e4db44cd3 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Map the tensor data for access. <a href="classarmnn_1_1_i_tensor_handle.xhtml#a270c8f844df649b9b0599c1e4db44cd3">More...</a><br /></td></tr>
<tr class="separator:a270c8f844df649b9b0599c1e4db44cd3 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab2be1412c91842a072ad94759f52033e inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#ab2be1412c91842a072ad94759f52033e">Unmap</a> ()</td></tr>
<tr class="memdesc:ab2be1412c91842a072ad94759f52033e inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Unmap the tensor data that was previously mapped with call to <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a9afbc055a017adf1bc38ee137bca6e90" title="Map the tensor data for access. ">Map()</a>. <a href="classarmnn_1_1_i_tensor_handle.xhtml#ab2be1412c91842a072ad94759f52033e">More...</a><br /></td></tr>
<tr class="separator:ab2be1412c91842a072ad94759f52033e inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a55cddc2dbb32d680cd85b635ba370e48 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a55cddc2dbb32d680cd85b635ba370e48">GetImportFlags</a> () const</td></tr>
<tr class="memdesc:a55cddc2dbb32d680cd85b635ba370e48 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Get flags describing supported import sources. <a href="classarmnn_1_1_i_tensor_handle.xhtml#a55cddc2dbb32d680cd85b635ba370e48">More...</a><br /></td></tr>
<tr class="separator:a55cddc2dbb32d680cd85b635ba370e48 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4f81a9eff30c9b9fe76f5b83af470ba7 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a4f81a9eff30c9b9fe76f5b83af470ba7">Import</a> (void *memory, <a class="el" href="namespacearmnn.xhtml#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> source)</td></tr>
<tr class="memdesc:a4f81a9eff30c9b9fe76f5b83af470ba7 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Import externally allocated memory. <a href="classarmnn_1_1_i_tensor_handle.xhtml#a4f81a9eff30c9b9fe76f5b83af470ba7">More...</a><br /></td></tr>
<tr class="separator:a4f81a9eff30c9b9fe76f5b83af470ba7 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6caeedd55f4d685fd04b8fcb352dae4e inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a6caeedd55f4d685fd04b8fcb352dae4e">CanBeImported</a> (void *memory, <a class="el" href="namespacearmnn.xhtml#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> source)</td></tr>
<tr class="memdesc:a6caeedd55f4d685fd04b8fcb352dae4e inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Implementations must determine if this memory block can be imported. <a href="classarmnn_1_1_i_tensor_handle.xhtml#a6caeedd55f4d685fd04b8fcb352dae4e">More...</a><br /></td></tr>
<tr class="separator:a6caeedd55f4d685fd04b8fcb352dae4e inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9eee7f9d4e230d684a7307ac4d75d8a9 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a9eee7f9d4e230d684a7307ac4d75d8a9">Unimport</a> ()</td></tr>
<tr class="memdesc:a9eee7f9d4e230d684a7307ac4d75d8a9 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Unimport externally allocated memory. <a href="classarmnn_1_1_i_tensor_handle.xhtml#a9eee7f9d4e230d684a7307ac4d75d8a9">More...</a><br /></td></tr>
<tr class="separator:a9eee7f9d4e230d684a7307ac4d75d8a9 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classarmnn_1_1_const_tensor_handle"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_const_tensor_handle')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml">ConstTensorHandle</a></td></tr>
<tr class="memitem:a08bd4bf32ba8d09c21de0457e78b1a93 inherit pro_methods_classarmnn_1_1_const_tensor_handle"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#a08bd4bf32ba8d09c21de0457e78b1a93">ConstTensorHandle</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &tensorInfo)</td></tr>
<tr class="separator:a08bd4bf32ba8d09c21de0457e78b1a93 inherit pro_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae21d7415b7d191de4fe6e02d134a4f38 inherit pro_methods_classarmnn_1_1_const_tensor_handle"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor_handle.xhtml#ae21d7415b7d191de4fe6e02d134a4f38">SetConstMemory</a> (const void *mem)</td></tr>
<tr class="separator:ae21d7415b7d191de4fe6e02d134a4f38 inherit pro_methods_classarmnn_1_1_const_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="include_2armnn_2backends_2_tensor_handle_8hpp_source.xhtml#l00166">166</a> of file <a class="el" href="include_2armnn_2backends_2_tensor_handle_8hpp_source.xhtml">TensorHandle.hpp</a>.</p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a0fae77f3e6b22dea0e80f5dd571d9e6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fae77f3e6b22dea0e80f5dd571d9e6c">◆ </a></span>ConstPassthroughTensorHandle()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classarmnn_1_1_const_passthrough_tensor_handle.xhtml">ConstPassthroughTensorHandle</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & </td>
<td class="paramname"><em>tensorInfo</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const void * </td>
<td class="paramname"><em>mem</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="include_2armnn_2backends_2_tensor_handle_8hpp_source.xhtml#l00169">169</a> of file <a class="el" href="include_2armnn_2backends_2_tensor_handle_8hpp_source.xhtml">TensorHandle.hpp</a>.</p>
<p class="reference">References <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a5cceed8b707a09bf27eb61f17acf8a88">ITensorHandle::Allocate()</a>, <a class="el" href="include_2armnn_2backends_2_tensor_handle_8hpp_source.xhtml#l00028">ConstTensorHandle::GetConstTensor()</a>, <a class="el" href="include_2armnn_2backends_2_tensor_handle_8hpp_source.xhtml#l00083">TensorHandle::GetTensor()</a>, and <a class="el" href="include_2armnn_2backends_2_tensor_handle_8hpp_source.xhtml#l00061">ConstTensorHandle::SetConstMemory()</a>.</p>
<div class="fragment"><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  : <a class="code" href="classarmnn_1_1_const_tensor_handle.xhtml#a08bd4bf32ba8d09c21de0457e78b1a93">ConstTensorHandle</a>(tensorInfo)</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  {</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="classarmnn_1_1_const_tensor_handle.xhtml#ae21d7415b7d191de4fe6e02d134a4f38">SetConstMemory</a>(mem);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  }</div><div class="ttc" id="classarmnn_1_1_const_tensor_handle_xhtml_ae21d7415b7d191de4fe6e02d134a4f38"><div class="ttname"><a href="classarmnn_1_1_const_tensor_handle.xhtml#ae21d7415b7d191de4fe6e02d134a4f38">armnn::ConstTensorHandle::SetConstMemory</a></div><div class="ttdeci">void SetConstMemory(const void *mem)</div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_tensor_handle_8hpp_source.xhtml#l00061">TensorHandle.hpp:61</a></div></div>
<div class="ttc" id="classarmnn_1_1_const_tensor_handle_xhtml_a08bd4bf32ba8d09c21de0457e78b1a93"><div class="ttname"><a href="classarmnn_1_1_const_tensor_handle.xhtml#a08bd4bf32ba8d09c21de0457e78b1a93">armnn::ConstTensorHandle::ConstTensorHandle</a></div><div class="ttdeci">ConstTensorHandle(const TensorInfo &tensorInfo)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_handle_8cpp_source.xhtml#l00031">TensorHandle.cpp:31</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8518772c5d692e334a76617582b10b92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8518772c5d692e334a76617582b10b92">◆ </a></span>Allocate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Allocate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicate to the memory manager that this resource is no longer active. </p>
<p>This is used to compute overlapping lifetimes of resources. </p>
<p>Implements <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a5cceed8b707a09bf27eb61f17acf8a88">ITensorHandle</a>.</p>
<p class="definition">Definition at line <a class="el" href="_tensor_handle_8cpp_source.xhtml#l00136">136</a> of file <a class="el" href="_tensor_handle_8cpp_source.xhtml">TensorHandle.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> {</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"ConstPassthroughTensorHandle::Allocate() should never be called"</span>);</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> }</div></div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/armnn/backends/<a class="el" href="include_2armnn_2backends_2_tensor_handle_8hpp_source.xhtml">TensorHandle.hpp</a></li>
<li>src/backends/backendsCommon/<a class="el" href="_tensor_handle_8cpp_source.xhtml">TensorHandle.cpp</a></li>
</ul>
</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="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_const_passthrough_tensor_handle.xhtml">ConstPassthroughTensorHandle</a></li>
<li class="footer">Generated on Fri Aug 19 2022 14:38:38 for ArmNN by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>
|