1 <!-- HTML header for doxygen 1.8.9.1-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7 <meta name="generator" content="Doxygen 1.8.11"/>
8 <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
9 <title>Compute Library: SimpleTensor< T > Class Template Reference</title>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <script type="text/javascript" src="jquery.js"></script>
12 <script type="text/javascript" src="dynsections.js"></script>
13 <link href="navtree.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="resize.js"></script>
15 <script type="text/javascript" src="navtreedata.js"></script>
16 <script type="text/javascript" src="navtree.js"></script>
17 <script type="text/javascript">
18 $(document).ready(initResizable);
19 $(window).load(resizeHeight);
21 <link href="search/search.css" rel="stylesheet" type="text/css"/>
22 <script type="text/javascript" src="search/searchdata.js"></script>
23 <script type="text/javascript" src="search/search.js"></script>
24 <script type="text/javascript">
25 $(document).ready(function() { init_search(); });
27 <script type="text/x-mathjax-config">
29 extensions: ["tex2jax.js"],
30 jax: ["input/TeX","output/HTML-CSS"],
32 </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
33 <link href="doxygen.css" rel="stylesheet" type="text/css" />
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
38 <table cellspacing="0" cellpadding="0">
40 <tr style="height: 56px;">
41 <td style="padding-left: 0.5em;">
42 <div id="projectname">Compute Library
43  <span id="projectnumber">18.02</span>
50 <!-- end header part -->
51 <!-- Generated by Doxygen 1.8.11 -->
52 <script type="text/javascript">
53 var searchBox = new SearchBox("searchBox", "search",false,'Search');
55 <div id="navrow1" class="tabs">
57 <li><a href="index.xhtml"><span>Main Page</span></a></li>
58 <li><a href="pages.xhtml"><span>Related Pages</span></a></li>
59 <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
60 <li class="current"><a href="annotated.xhtml"><span>Data Structures</span></a></li>
61 <li><a href="files.xhtml"><span>Files</span></a></li>
63 <div id="MSearchBox" class="MSearchBoxInactive">
65 <img id="MSearchSelect" src="search/mag_sel.png"
66 onmouseover="return searchBox.OnSearchSelectShow()"
67 onmouseout="return searchBox.OnSearchSelectHide()"
69 <input type="text" id="MSearchField" value="Search" accesskey="S"
70 onfocus="searchBox.OnSearchFieldFocus(true)"
71 onblur="searchBox.OnSearchFieldFocus(false)"
72 onkeyup="searchBox.OnSearchFieldChange(event)"/>
73 </span><span class="right">
74 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
80 <div id="navrow2" class="tabs2">
82 <li><a href="annotated.xhtml"><span>Data Structures</span></a></li>
83 <li><a href="classes.xhtml"><span>Data Structure Index</span></a></li>
84 <li><a href="inherits.xhtml"><span>Class Hierarchy</span></a></li>
85 <li><a href="functions.xhtml"><span>Data Fields</span></a></li>
89 <div id="side-nav" class="ui-resizable side-nav-resizable">
91 <div id="nav-tree-contents">
92 <div id="nav-sync" class="sync"></div>
95 <div id="splitbar" style="-moz-user-select:none;"
96 class="ui-resizable-handle">
99 <script type="text/javascript">
100 $(document).ready(function(){initNavTree('classarm__compute_1_1test_1_1_simple_tensor.xhtml','');});
102 <div id="doc-content">
103 <!-- window showing the filter options -->
104 <div id="MSearchSelectWindow"
105 onmouseover="return searchBox.OnSearchSelectShow()"
106 onmouseout="return searchBox.OnSearchSelectHide()"
107 onkeydown="return searchBox.OnSearchSelectKey(event)">
110 <!-- iframe showing the search results (closed by default) -->
111 <div id="MSearchResultsWindow">
112 <iframe src="javascript:void(0)" frameborder="0"
113 name="MSearchResults" id="MSearchResults">
118 <div class="summary">
119 <a href="#pub-types">Public Types</a> |
120 <a href="#pub-methods">Public Member Functions</a> |
121 <a href="#friends">Friends</a> </div>
122 <div class="headertitle">
123 <div class="title">SimpleTensor< T > Class Template Reference</div> </div>
125 <div class="contents">
127 <p>Simple tensor object that stores elements in a consecutive chunk of memory.
128 <a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#details">More...</a></p>
130 <p><code>#include <<a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>></code></p>
131 <div class="dynheader">
132 Collaboration diagram for SimpleTensor< T >:</div>
133 <div class="dyncontent">
134 <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1test_1_1_simple_tensor__coll__graph.svg" width="155" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
136 <center><span class="legend">[<a target="top" href="graph_legend.xhtml">legend</a>]</span></center></div>
137 <table class="memberdecls">
138 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
139 Public Types</h2></td></tr>
140 <tr class="memitem:afb9ded5f49336ae503bb9f2035ea902b"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#afb9ded5f49336ae503bb9f2035ea902b">value_type</a> = T</td></tr>
141 <tr class="separator:afb9ded5f49336ae503bb9f2035ea902b"><td class="memSeparator" colspan="2"> </td></tr>
142 <tr class="memitem:acf18a24d1f21176e811e88cee2a70f1f"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#acf18a24d1f21176e811e88cee2a70f1f">Buffer</a> = std::unique_ptr< <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#afb9ded5f49336ae503bb9f2035ea902b">value_type</a>[]></td></tr>
143 <tr class="separator:acf18a24d1f21176e811e88cee2a70f1f"><td class="memSeparator" colspan="2"> </td></tr>
144 </table><table class="memberdecls">
145 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
146 Public Member Functions</h2></td></tr>
147 <tr class="memitem:a011bb65bd16aaf66b8efb3929692b2ce"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a011bb65bd16aaf66b8efb3929692b2ce">SimpleTensor</a> ()=default</td></tr>
148 <tr class="memdesc:a011bb65bd16aaf66b8efb3929692b2ce"><td class="mdescLeft"> </td><td class="mdescRight">Create an uninitialised tensor. <a href="#a011bb65bd16aaf66b8efb3929692b2ce">More...</a><br /></td></tr>
149 <tr class="separator:a011bb65bd16aaf66b8efb3929692b2ce"><td class="memSeparator" colspan="2"> </td></tr>
150 <tr class="memitem:a9a1cd44d7621633f8ae04a3a16287673"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a9a1cd44d7621633f8ae04a3a16287673">SimpleTensor</a> (<a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aba5871b3e4a65d057ec1c28fce8b00ba">shape</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58">Format</a> <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ac4b36cc1e56b0b7e579bb4b7196490db">format</a>, int <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a35ccf2eb0c18a15feab2db98b307b78b">fixed_point_position</a>=0)</td></tr>
151 <tr class="memdesc:a9a1cd44d7621633f8ae04a3a16287673"><td class="mdescLeft"> </td><td class="mdescRight">Create an uninitialised tensor of the given <code>shape</code> and <code>format</code>. <a href="#a9a1cd44d7621633f8ae04a3a16287673">More...</a><br /></td></tr>
152 <tr class="separator:a9a1cd44d7621633f8ae04a3a16287673"><td class="memSeparator" colspan="2"> </td></tr>
153 <tr class="memitem:a595bc6006e098a6564cbc270eaac9667"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a595bc6006e098a6564cbc270eaac9667">SimpleTensor</a> (<a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aba5871b3e4a65d057ec1c28fce8b00ba">shape</a>, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a9a3e72153aeb3ed212e9c3698774e881">data_type</a>, int <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">num_channels</a>=1, int <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a35ccf2eb0c18a15feab2db98b307b78b">fixed_point_position</a>=0, <a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a> <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ac74736e3863207232a23b7181c1d0f44">quantization_info</a>=<a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a>())</td></tr>
154 <tr class="memdesc:a595bc6006e098a6564cbc270eaac9667"><td class="mdescLeft"> </td><td class="mdescRight">Create an uninitialised tensor of the given <code>shape</code> and <code>data</code> type. <a href="#a595bc6006e098a6564cbc270eaac9667">More...</a><br /></td></tr>
155 <tr class="separator:a595bc6006e098a6564cbc270eaac9667"><td class="memSeparator" colspan="2"> </td></tr>
156 <tr class="memitem:ae1769959044a4356fdc93cac2b03a5f6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ae1769959044a4356fdc93cac2b03a5f6">SimpleTensor</a> (const <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a> &tensor)</td></tr>
157 <tr class="memdesc:ae1769959044a4356fdc93cac2b03a5f6"><td class="mdescLeft"> </td><td class="mdescRight">Create a deep copy of the given <code>tensor</code>. <a href="#ae1769959044a4356fdc93cac2b03a5f6">More...</a><br /></td></tr>
158 <tr class="separator:ae1769959044a4356fdc93cac2b03a5f6"><td class="memSeparator" colspan="2"> </td></tr>
159 <tr class="memitem:ad4622eda610d53fb6852209f0213aeed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ad4622eda610d53fb6852209f0213aeed">operator=</a> (<a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a> tensor)</td></tr>
160 <tr class="memdesc:ad4622eda610d53fb6852209f0213aeed"><td class="mdescLeft"> </td><td class="mdescRight">Create a deep copy of the given <code>tensor</code>. <a href="#ad4622eda610d53fb6852209f0213aeed">More...</a><br /></td></tr>
161 <tr class="separator:ad4622eda610d53fb6852209f0213aeed"><td class="memSeparator" colspan="2"> </td></tr>
162 <tr class="memitem:a40eed42b5858849fb8570018760ba996"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a40eed42b5858849fb8570018760ba996">SimpleTensor</a> (<a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a> &&)=default</td></tr>
163 <tr class="separator:a40eed42b5858849fb8570018760ba996"><td class="memSeparator" colspan="2"> </td></tr>
164 <tr class="memitem:a16d7ecd97f89cf9dc40b3fc7c9abe2cd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a16d7ecd97f89cf9dc40b3fc7c9abe2cd">~SimpleTensor</a> ()=default</td></tr>
165 <tr class="separator:a16d7ecd97f89cf9dc40b3fc7c9abe2cd"><td class="memSeparator" colspan="2"> </td></tr>
166 <tr class="memitem:af6124c81d1e81f182d64ae76caa3fa52"><td class="memItemLeft" align="right" valign="top">T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#af6124c81d1e81f182d64ae76caa3fa52">operator[]</a> (size_t <a class="el" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>)</td></tr>
167 <tr class="memdesc:af6124c81d1e81f182d64ae76caa3fa52"><td class="mdescLeft"> </td><td class="mdescRight">Return value at <code>offset</code> in the buffer. <a href="#af6124c81d1e81f182d64ae76caa3fa52">More...</a><br /></td></tr>
168 <tr class="separator:af6124c81d1e81f182d64ae76caa3fa52"><td class="memSeparator" colspan="2"> </td></tr>
169 <tr class="memitem:a73aecdf45b3f257e0c15757a18573ea4"><td class="memItemLeft" align="right" valign="top">const T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a73aecdf45b3f257e0c15757a18573ea4">operator[]</a> (size_t <a class="el" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>) const </td></tr>
170 <tr class="memdesc:a73aecdf45b3f257e0c15757a18573ea4"><td class="mdescLeft"> </td><td class="mdescRight">Return constant value at <code>offset</code> in the buffer. <a href="#a73aecdf45b3f257e0c15757a18573ea4">More...</a><br /></td></tr>
171 <tr class="separator:a73aecdf45b3f257e0c15757a18573ea4"><td class="memSeparator" colspan="2"> </td></tr>
172 <tr class="memitem:aba5871b3e4a65d057ec1c28fce8b00ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aba5871b3e4a65d057ec1c28fce8b00ba">shape</a> () const override</td></tr>
173 <tr class="memdesc:aba5871b3e4a65d057ec1c28fce8b00ba"><td class="mdescLeft"> </td><td class="mdescRight">Shape of the tensor. <a href="#aba5871b3e4a65d057ec1c28fce8b00ba">More...</a><br /></td></tr>
174 <tr class="separator:aba5871b3e4a65d057ec1c28fce8b00ba"><td class="memSeparator" colspan="2"> </td></tr>
175 <tr class="memitem:a62b67b578f684c4d516843c9dea86a23"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a62b67b578f684c4d516843c9dea86a23">element_size</a> () const override</td></tr>
176 <tr class="memdesc:a62b67b578f684c4d516843c9dea86a23"><td class="mdescLeft"> </td><td class="mdescRight">Size of each element in the tensor in bytes. <a href="#a62b67b578f684c4d516843c9dea86a23">More...</a><br /></td></tr>
177 <tr class="separator:a62b67b578f684c4d516843c9dea86a23"><td class="memSeparator" colspan="2"> </td></tr>
178 <tr class="memitem:ad7701a09a964eab360a8e51fa7ad2c16"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ad7701a09a964eab360a8e51fa7ad2c16">size</a> () const override</td></tr>
179 <tr class="memdesc:ad7701a09a964eab360a8e51fa7ad2c16"><td class="mdescLeft"> </td><td class="mdescRight">Total size of the tensor in bytes. <a href="#ad7701a09a964eab360a8e51fa7ad2c16">More...</a><br /></td></tr>
180 <tr class="separator:ad7701a09a964eab360a8e51fa7ad2c16"><td class="memSeparator" colspan="2"> </td></tr>
181 <tr class="memitem:ac4b36cc1e56b0b7e579bb4b7196490db"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58">Format</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ac4b36cc1e56b0b7e579bb4b7196490db">format</a> () const override</td></tr>
182 <tr class="memdesc:ac4b36cc1e56b0b7e579bb4b7196490db"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="struct_image.xhtml" title="Structure to hold Image information. ">Image</a> format of the tensor. <a href="#ac4b36cc1e56b0b7e579bb4b7196490db">More...</a><br /></td></tr>
183 <tr class="separator:ac4b36cc1e56b0b7e579bb4b7196490db"><td class="memSeparator" colspan="2"> </td></tr>
184 <tr class="memitem:a9a3e72153aeb3ed212e9c3698774e881"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a9a3e72153aeb3ed212e9c3698774e881">data_type</a> () const override</td></tr>
185 <tr class="memdesc:a9a3e72153aeb3ed212e9c3698774e881"><td class="mdescLeft"> </td><td class="mdescRight">Data type of the tensor. <a href="#a9a3e72153aeb3ed212e9c3698774e881">More...</a><br /></td></tr>
186 <tr class="separator:a9a3e72153aeb3ed212e9c3698774e881"><td class="memSeparator" colspan="2"> </td></tr>
187 <tr class="memitem:abdd3637f2bbde9d7d0cc0b7bbd8400bb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">num_channels</a> () const override</td></tr>
188 <tr class="memdesc:abdd3637f2bbde9d7d0cc0b7bbd8400bb"><td class="mdescLeft"> </td><td class="mdescRight">Number of channels of the tensor. <a href="#abdd3637f2bbde9d7d0cc0b7bbd8400bb">More...</a><br /></td></tr>
189 <tr class="separator:abdd3637f2bbde9d7d0cc0b7bbd8400bb"><td class="memSeparator" colspan="2"> </td></tr>
190 <tr class="memitem:aedcfdd4c3b92fe0d63b5463c7ad1d21e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aedcfdd4c3b92fe0d63b5463c7ad1d21e">num_elements</a> () const override</td></tr>
191 <tr class="memdesc:aedcfdd4c3b92fe0d63b5463c7ad1d21e"><td class="mdescLeft"> </td><td class="mdescRight">Number of elements of the tensor. <a href="#aedcfdd4c3b92fe0d63b5463c7ad1d21e">More...</a><br /></td></tr>
192 <tr class="separator:aedcfdd4c3b92fe0d63b5463c7ad1d21e"><td class="memSeparator" colspan="2"> </td></tr>
193 <tr class="memitem:a79e20eacb1e963e24a21ebd7369effd7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute.xhtml#a4467b302fc9ec312c40580336ab783da">PaddingSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a79e20eacb1e963e24a21ebd7369effd7">padding</a> () const override</td></tr>
194 <tr class="memdesc:a79e20eacb1e963e24a21ebd7369effd7"><td class="mdescLeft"> </td><td class="mdescRight">Available padding around the tensor. <a href="#a79e20eacb1e963e24a21ebd7369effd7">More...</a><br /></td></tr>
195 <tr class="separator:a79e20eacb1e963e24a21ebd7369effd7"><td class="memSeparator" colspan="2"> </td></tr>
196 <tr class="memitem:a35ccf2eb0c18a15feab2db98b307b78b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a35ccf2eb0c18a15feab2db98b307b78b">fixed_point_position</a> () const override</td></tr>
197 <tr class="memdesc:a35ccf2eb0c18a15feab2db98b307b78b"><td class="mdescLeft"> </td><td class="mdescRight">The number of bits for the fractional part of the fixed point numbers. <a href="#a35ccf2eb0c18a15feab2db98b307b78b">More...</a><br /></td></tr>
198 <tr class="separator:a35ccf2eb0c18a15feab2db98b307b78b"><td class="memSeparator" colspan="2"> </td></tr>
199 <tr class="memitem:ac74736e3863207232a23b7181c1d0f44"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ac74736e3863207232a23b7181c1d0f44">quantization_info</a> () const override</td></tr>
200 <tr class="memdesc:ac74736e3863207232a23b7181c1d0f44"><td class="mdescLeft"> </td><td class="mdescRight">Quantization info in case of asymmetric quantized type. <a href="#ac74736e3863207232a23b7181c1d0f44">More...</a><br /></td></tr>
201 <tr class="separator:ac74736e3863207232a23b7181c1d0f44"><td class="memSeparator" colspan="2"> </td></tr>
202 <tr class="memitem:a0c52a8f0085b55d907af7210ef2069d0"><td class="memItemLeft" align="right" valign="top">const T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a0c52a8f0085b55d907af7210ef2069d0">data</a> () const </td></tr>
203 <tr class="memdesc:a0c52a8f0085b55d907af7210ef2069d0"><td class="mdescLeft"> </td><td class="mdescRight">Constant pointer to the underlying buffer. <a href="#a0c52a8f0085b55d907af7210ef2069d0">More...</a><br /></td></tr>
204 <tr class="separator:a0c52a8f0085b55d907af7210ef2069d0"><td class="memSeparator" colspan="2"> </td></tr>
205 <tr class="memitem:adc1e16b293a89a9ccc9541058b5ca560"><td class="memItemLeft" align="right" valign="top">T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#adc1e16b293a89a9ccc9541058b5ca560">data</a> ()</td></tr>
206 <tr class="memdesc:adc1e16b293a89a9ccc9541058b5ca560"><td class="mdescLeft"> </td><td class="mdescRight">Pointer to the underlying buffer. <a href="#adc1e16b293a89a9ccc9541058b5ca560">More...</a><br /></td></tr>
207 <tr class="separator:adc1e16b293a89a9ccc9541058b5ca560"><td class="memSeparator" colspan="2"> </td></tr>
208 <tr class="memitem:a39537b09ccc3ce3d17922f4ef49a123f"><td class="memItemLeft" align="right" valign="top">const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a39537b09ccc3ce3d17922f4ef49a123f">operator()</a> (const <a class="el" href="classarm__compute_1_1_coordinates.xhtml">Coordinates</a> &coord) const override</td></tr>
209 <tr class="memdesc:a39537b09ccc3ce3d17922f4ef49a123f"><td class="mdescLeft"> </td><td class="mdescRight">Read only access to the specified element. <a href="#a39537b09ccc3ce3d17922f4ef49a123f">More...</a><br /></td></tr>
210 <tr class="separator:a39537b09ccc3ce3d17922f4ef49a123f"><td class="memSeparator" colspan="2"> </td></tr>
211 <tr class="memitem:a2df95f7046b81e69a1265a42202ea068"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a2df95f7046b81e69a1265a42202ea068">operator()</a> (const <a class="el" href="classarm__compute_1_1_coordinates.xhtml">Coordinates</a> &coord) override</td></tr>
212 <tr class="memdesc:a2df95f7046b81e69a1265a42202ea068"><td class="mdescLeft"> </td><td class="mdescRight">Access to the specified element. <a href="#a2df95f7046b81e69a1265a42202ea068">More...</a><br /></td></tr>
213 <tr class="separator:a2df95f7046b81e69a1265a42202ea068"><td class="memSeparator" colspan="2"> </td></tr>
214 <tr class="inherit_header pub_methods_classarm__compute_1_1test_1_1_i_accessor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1test_1_1_i_accessor')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml">IAccessor</a></td></tr>
215 <tr class="memitem:a04e5197de7318cec1ebfd3cea50f5de5 inherit pub_methods_classarm__compute_1_1test_1_1_i_accessor"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#a04e5197de7318cec1ebfd3cea50f5de5">~IAccessor</a> ()=default</td></tr>
216 <tr class="memdesc:a04e5197de7318cec1ebfd3cea50f5de5 inherit pub_methods_classarm__compute_1_1test_1_1_i_accessor"><td class="mdescLeft"> </td><td class="mdescRight">Virtual destructor. <a href="#a04e5197de7318cec1ebfd3cea50f5de5">More...</a><br /></td></tr>
217 <tr class="separator:a04e5197de7318cec1ebfd3cea50f5de5 inherit pub_methods_classarm__compute_1_1test_1_1_i_accessor"><td class="memSeparator" colspan="2"> </td></tr>
218 </table><table class="memberdecls">
219 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
220 Friends</h2></td></tr>
221 <tr class="memitem:a467ad6d14558452f498777a7823fa252"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a467ad6d14558452f498777a7823fa252">RawTensor</a></td></tr>
222 <tr class="separator:a467ad6d14558452f498777a7823fa252"><td class="memSeparator" colspan="2"> </td></tr>
223 <tr class="memitem:a51920d34b0fa5415e84891ad8e755224"><td class="memTemplParams" colspan="2">template<typename U > </td></tr>
224 <tr class="memitem:a51920d34b0fa5415e84891ad8e755224"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a51920d34b0fa5415e84891ad8e755224">swap</a> (<a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a>< U > &tensor1, <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a>< U > &tensor2)</td></tr>
225 <tr class="memdesc:a51920d34b0fa5415e84891ad8e755224"><td class="mdescLeft"> </td><td class="mdescRight">Swaps the content of the provided tensors. <a href="#a51920d34b0fa5415e84891ad8e755224">More...</a><br /></td></tr>
226 <tr class="separator:a51920d34b0fa5415e84891ad8e755224"><td class="memSeparator" colspan="2"> </td></tr>
228 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
229 <div class="textblock"><h3>template<typename T><br />
230 class arm_compute::test::SimpleTensor< T ></h3>
232 <p>Simple tensor object that stores elements in a consecutive chunk of memory. </p>
233 <p>It can be created by either loading an image from a file which also initialises the content of the tensor or by explcitly specifying the size. The latter leaves the content uninitialised.</p>
234 <p>Furthermore, the class provides methods to convert the tensor's values into different image format. </p>
236 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00059">59</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
237 </div><h2 class="groupheader">Member Typedef Documentation</h2>
238 <a class="anchor" id="acf18a24d1f21176e811e88cee2a70f1f"></a>
239 <div class="memitem">
240 <div class="memproto">
241 <table class="memname">
243 <td class="memname">using <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#acf18a24d1f21176e811e88cee2a70f1f">Buffer</a> = std::unique_ptr<<a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#afb9ded5f49336ae503bb9f2035ea902b">value_type</a>[]></td>
246 </div><div class="memdoc">
248 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00100">100</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
252 <a class="anchor" id="afb9ded5f49336ae503bb9f2035ea902b"></a>
253 <div class="memitem">
254 <div class="memproto">
255 <table class="memname">
257 <td class="memname">using <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#afb9ded5f49336ae503bb9f2035ea902b">value_type</a> = T</td>
260 </div><div class="memdoc">
262 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00099">99</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
266 <h2 class="groupheader">Constructor & Destructor Documentation</h2>
267 <a class="anchor" id="a011bb65bd16aaf66b8efb3929692b2ce"></a>
268 <div class="memitem">
269 <div class="memproto">
270 <table class="mlabels">
272 <td class="mlabels-left">
273 <table class="memname">
275 <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a> </td>
277 <td class="paramname"></td><td>)</td>
282 <td class="mlabels-right">
283 <span class="mlabels"><span class="mlabel">default</span></span> </td>
286 </div><div class="memdoc">
288 <p>Create an uninitialised tensor. </p>
292 <a class="anchor" id="a9a1cd44d7621633f8ae04a3a16287673"></a>
293 <div class="memitem">
294 <div class="memproto">
295 <table class="memname">
297 <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a> </td>
299 <td class="paramtype"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> </td>
300 <td class="paramname"><em>shape</em>, </td>
303 <td class="paramkey"></td>
305 <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58">Format</a> </td>
306 <td class="paramname"><em>format</em>, </td>
309 <td class="paramkey"></td>
311 <td class="paramtype">int </td>
312 <td class="paramname"><em>fixed_point_position</em> = <code>0</code> </td>
320 </div><div class="memdoc">
322 <p>Create an uninitialised tensor of the given <code>shape</code> and <code>format</code>. </p>
323 <dl class="params"><dt>Parameters</dt><dd>
324 <table class="params">
325 <tr><td class="paramdir">[in]</td><td class="paramname">shape</td><td>Shape of the new raw tensor. </td></tr>
326 <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>Format of the new raw tensor. </td></tr>
327 <tr><td class="paramdir">[in]</td><td class="paramname">fixed_point_position</td><td>(Optional) Number of bits for the fractional part of the fixed point numbers </td></tr>
332 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00187">187</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
334 <p>References <a class="el" href="_simple_tensor_8h_source.xhtml#l00295">SimpleTensor< T >::num_channels()</a>, and <a class="el" href="_simple_tensor_8h_source.xhtml#l00331">SimpleTensor< T >::num_elements()</a>.</p>
335 <div class="fragment"><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  : _buffer(<span class="keyword">nullptr</span>),</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  _shape(<a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aba5871b3e4a65d057ec1c28fce8b00ba">shape</a>),</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  _format(<a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ac4b36cc1e56b0b7e579bb4b7196490db">format</a>),</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  _fixed_point_position(<a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a35ccf2eb0c18a15feab2db98b307b78b">fixed_point_position</a>),</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  _quantization_info()</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> {</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  _num_channels = <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">num_channels</a>();</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  _buffer = support::cpp14::make_unique<T[]>(<a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aedcfdd4c3b92fe0d63b5463c7ad1d21e">num_elements</a>() * _num_channels);</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> }</div><div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_ac4b36cc1e56b0b7e579bb4b7196490db"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ac4b36cc1e56b0b7e579bb4b7196490db">arm_compute::test::SimpleTensor::format</a></div><div class="ttdeci">Format format() const override</div><div class="ttdoc">Image format of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00276">SimpleTensor.h:276</a></div></div>
336 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_aba5871b3e4a65d057ec1c28fce8b00ba"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aba5871b3e4a65d057ec1c28fce8b00ba">arm_compute::test::SimpleTensor::shape</a></div><div class="ttdeci">TensorShape shape() const override</div><div class="ttdoc">Shape of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00245">SimpleTensor.h:245</a></div></div>
337 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_abdd3637f2bbde9d7d0cc0b7bbd8400bb"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">arm_compute::test::SimpleTensor::num_channels</a></div><div class="ttdeci">int num_channels() const override</div><div class="ttdoc">Number of channels of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00295">SimpleTensor.h:295</a></div></div>
338 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_aedcfdd4c3b92fe0d63b5463c7ad1d21e"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aedcfdd4c3b92fe0d63b5463c7ad1d21e">arm_compute::test::SimpleTensor::num_elements</a></div><div class="ttdeci">int num_elements() const override</div><div class="ttdoc">Number of elements of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00331">SimpleTensor.h:331</a></div></div>
339 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_a35ccf2eb0c18a15feab2db98b307b78b"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a35ccf2eb0c18a15feab2db98b307b78b">arm_compute::test::SimpleTensor::fixed_point_position</a></div><div class="ttdeci">int fixed_point_position() const override</div><div class="ttdoc">The number of bits for the fractional part of the fixed point numbers. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00257">SimpleTensor.h:257</a></div></div>
340 </div><!-- fragment -->
343 <a class="anchor" id="a595bc6006e098a6564cbc270eaac9667"></a>
344 <div class="memitem">
345 <div class="memproto">
346 <table class="memname">
348 <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a> </td>
350 <td class="paramtype"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> </td>
351 <td class="paramname"><em>shape</em>, </td>
354 <td class="paramkey"></td>
356 <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td>
357 <td class="paramname"><em>data_type</em>, </td>
360 <td class="paramkey"></td>
362 <td class="paramtype">int </td>
363 <td class="paramname"><em>num_channels</em> = <code>1</code>, </td>
366 <td class="paramkey"></td>
368 <td class="paramtype">int </td>
369 <td class="paramname"><em>fixed_point_position</em> = <code>0</code>, </td>
372 <td class="paramkey"></td>
374 <td class="paramtype"><a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a> </td>
375 <td class="paramname"><em>quantization_info</em> = <code><a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a>()</code> </td>
383 </div><div class="memdoc">
385 <p>Create an uninitialised tensor of the given <code>shape</code> and <code>data</code> type. </p>
386 <dl class="params"><dt>Parameters</dt><dd>
387 <table class="params">
388 <tr><td class="paramdir">[in]</td><td class="paramname">shape</td><td>Shape of the new raw tensor. </td></tr>
389 <tr><td class="paramdir">[in]</td><td class="paramname">data_type</td><td>Data type of the new raw tensor. </td></tr>
390 <tr><td class="paramdir">[in]</td><td class="paramname">num_channels</td><td>(Optional) Number of channels (default = 1). </td></tr>
391 <tr><td class="paramdir">[in]</td><td class="paramname">fixed_point_position</td><td>(Optional) Number of bits for the fractional part of the fixed point numbers (default = 0). </td></tr>
392 <tr><td class="paramdir">[in]</td><td class="paramname">quantization_info</td><td>(Optional) Quantization info for asymmetric quantization (default = empty). </td></tr>
397 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00199">199</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
399 <p>References <a class="el" href="_simple_tensor_8h_source.xhtml#l00295">SimpleTensor< T >::num_channels()</a>, and <a class="el" href="_simple_tensor_8h_source.xhtml#l00331">SimpleTensor< T >::num_elements()</a>.</p>
400 <div class="fragment"><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  : _buffer(<span class="keyword">nullptr</span>),</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  _shape(<a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aba5871b3e4a65d057ec1c28fce8b00ba">shape</a>),</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  _data_type(<a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a9a3e72153aeb3ed212e9c3698774e881">data_type</a>),</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  _num_channels(<a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">num_channels</a>),</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  _fixed_point_position(<a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a35ccf2eb0c18a15feab2db98b307b78b">fixed_point_position</a>),</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  _quantization_info(<a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ac74736e3863207232a23b7181c1d0f44">quantization_info</a>)</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> {</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  _buffer = support::cpp14::make_unique<T[]>(<a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aedcfdd4c3b92fe0d63b5463c7ad1d21e">num_elements</a>() * this-><a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">num_channels</a>());</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> }</div><div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_a9a3e72153aeb3ed212e9c3698774e881"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a9a3e72153aeb3ed212e9c3698774e881">arm_compute::test::SimpleTensor::data_type</a></div><div class="ttdeci">DataType data_type() const override</div><div class="ttdoc">Data type of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00282">SimpleTensor.h:282</a></div></div>
401 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_aba5871b3e4a65d057ec1c28fce8b00ba"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aba5871b3e4a65d057ec1c28fce8b00ba">arm_compute::test::SimpleTensor::shape</a></div><div class="ttdeci">TensorShape shape() const override</div><div class="ttdoc">Shape of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00245">SimpleTensor.h:245</a></div></div>
402 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_abdd3637f2bbde9d7d0cc0b7bbd8400bb"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">arm_compute::test::SimpleTensor::num_channels</a></div><div class="ttdeci">int num_channels() const override</div><div class="ttdoc">Number of channels of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00295">SimpleTensor.h:295</a></div></div>
403 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_aedcfdd4c3b92fe0d63b5463c7ad1d21e"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aedcfdd4c3b92fe0d63b5463c7ad1d21e">arm_compute::test::SimpleTensor::num_elements</a></div><div class="ttdeci">int num_elements() const override</div><div class="ttdoc">Number of elements of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00331">SimpleTensor.h:331</a></div></div>
404 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_ac74736e3863207232a23b7181c1d0f44"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ac74736e3863207232a23b7181c1d0f44">arm_compute::test::SimpleTensor::quantization_info</a></div><div class="ttdeci">QuantizationInfo quantization_info() const override</div><div class="ttdoc">Quantization info in case of asymmetric quantized type. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00263">SimpleTensor.h:263</a></div></div>
405 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_a35ccf2eb0c18a15feab2db98b307b78b"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a35ccf2eb0c18a15feab2db98b307b78b">arm_compute::test::SimpleTensor::fixed_point_position</a></div><div class="ttdeci">int fixed_point_position() const override</div><div class="ttdoc">The number of bits for the fractional part of the fixed point numbers. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00257">SimpleTensor.h:257</a></div></div>
406 </div><!-- fragment -->
409 <a class="anchor" id="ae1769959044a4356fdc93cac2b03a5f6"></a>
410 <div class="memitem">
411 <div class="memproto">
412 <table class="memname">
414 <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a> </td>
416 <td class="paramtype">const <a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a>< T > & </td>
417 <td class="paramname"><em>tensor</em></td><td>)</td>
421 </div><div class="memdoc">
423 <p>Create a deep copy of the given <code>tensor</code>. </p>
424 <dl class="params"><dt>Parameters</dt><dd>
425 <table class="params">
426 <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td>To be copied tensor. </td></tr>
431 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00211">211</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
433 <p>References <a class="el" href="_simple_tensor_8h_source.xhtml#l00343">SimpleTensor< T >::data()</a>, <a class="el" href="_simple_tensor_8h_source.xhtml#l00295">SimpleTensor< T >::num_channels()</a>, and <a class="el" href="_simple_tensor_8h_source.xhtml#l00331">SimpleTensor< T >::num_elements()</a>.</p>
434 <div class="fragment"><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  : _buffer(<span class="keyword">nullptr</span>),</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  _shape(tensor.shape()),</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  _format(tensor.format()),</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  _data_type(tensor.data_type()),</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  _num_channels(tensor.num_channels()),</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  _fixed_point_position(tensor.fixed_point_position()),</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  _quantization_info(tensor.quantization_info())</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> {</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  _buffer = support::cpp14::make_unique<T[]>(tensor.num_elements() * <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">num_channels</a>());</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  std::copy_n(tensor.data(), <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aedcfdd4c3b92fe0d63b5463c7ad1d21e">num_elements</a>() * <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">num_channels</a>(), _buffer.get());</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> }</div><div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_abdd3637f2bbde9d7d0cc0b7bbd8400bb"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">arm_compute::test::SimpleTensor::num_channels</a></div><div class="ttdeci">int num_channels() const override</div><div class="ttdoc">Number of channels of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00295">SimpleTensor.h:295</a></div></div>
435 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_aedcfdd4c3b92fe0d63b5463c7ad1d21e"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#aedcfdd4c3b92fe0d63b5463c7ad1d21e">arm_compute::test::SimpleTensor::num_elements</a></div><div class="ttdeci">int num_elements() const override</div><div class="ttdoc">Number of elements of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00331">SimpleTensor.h:331</a></div></div>
436 </div><!-- fragment -->
439 <a class="anchor" id="a40eed42b5858849fb8570018760ba996"></a>
440 <div class="memitem">
441 <div class="memproto">
442 <table class="mlabels">
444 <td class="mlabels-left">
445 <table class="memname">
447 <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a> </td>
449 <td class="paramtype"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a>< T > && </td>
450 <td class="paramname"></td><td>)</td>
455 <td class="mlabels-right">
456 <span class="mlabels"><span class="mlabel">default</span></span> </td>
459 </div><div class="memdoc">
463 <a class="anchor" id="a16d7ecd97f89cf9dc40b3fc7c9abe2cd"></a>
464 <div class="memitem">
465 <div class="memproto">
466 <table class="mlabels">
468 <td class="mlabels-left">
469 <table class="memname">
471 <td class="memname">~<a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a> </td>
473 <td class="paramname"></td><td>)</td>
478 <td class="mlabels-right">
479 <span class="mlabels"><span class="mlabel">default</span></span> </td>
482 </div><div class="memdoc">
486 <h2 class="groupheader">Member Function Documentation</h2>
487 <a class="anchor" id="a0c52a8f0085b55d907af7210ef2069d0"></a>
488 <div class="memitem">
489 <div class="memproto">
490 <table class="memname">
492 <td class="memname">const T * data </td>
494 <td class="paramname"></td><td>)</td>
498 </div><div class="memdoc">
500 <p>Constant pointer to the underlying buffer. </p>
502 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00343">343</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
504 <p>Referenced by <a class="el" href="reference_2_deconvolution_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::deconvolution_layer()</a>, <a class="el" href="validation_2reference_2_depth_concatenate_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::depthconcatenate_layer()</a>, <a class="el" href="validation_2reference_2_depthwise_convolution_layer_8cpp_source.xhtml#l00053">arm_compute::test::validation::reference::depthwise_convolution()</a>, <a class="el" href="_assets_library_8cpp_source.xhtml#l00225">AssetsLibrary::fill()</a>, <a class="el" href="validation_2reference_2_flatten_layer_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::flatten_layer()</a>, <a class="el" href="_g_e_m_m_interleave4x4_8h_source.xhtml#l00038">arm_compute::test::validation::reference::gemm_interleave_4x4()</a>, <a class="el" href="_g_e_m_m_transpose1x_w_8h_source.xhtml#l00038">arm_compute::test::validation::reference::gemm_transpose_1xW()</a>, <a class="el" href="validation_2reference_2_l2_normalize_layer_8cpp_source.xhtml#l00051">arm_compute::test::validation::reference::l2_normalize()</a>, <a class="el" href="reference_2_mean_std_dev_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::mean_and_standard_deviation()</a>, <a class="el" href="_raw_tensor_8cpp_source.xhtml#l00042">RawTensor::RawTensor()</a>, <a class="el" href="reference_2_reduction_operation_8cpp_source.xhtml#l00064">arm_compute::test::validation::reference::reduction_operation()</a>, <a class="el" href="validation_2reference_2_reshape_layer_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::reshape_layer()</a>, <a class="el" href="_simple_tensor_8h_source.xhtml#l00211">SimpleTensor< T >::SimpleTensor()</a>, and <a class="el" href="validation_2reference_2_softmax_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::softmax_layer()</a>.</p>
505 <div class="fragment"><div class="line"><a name="l00344"></a><span class="lineno"> 344</span> {</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <span class="keywordflow">return</span> _buffer.get();</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span> }</div></div><!-- fragment -->
508 <a class="anchor" id="adc1e16b293a89a9ccc9541058b5ca560"></a>
509 <div class="memitem">
510 <div class="memproto">
511 <table class="memname">
513 <td class="memname">T * data </td>
515 <td class="paramname"></td><td>)</td>
519 </div><div class="memdoc">
521 <p>Pointer to the underlying buffer. </p>
523 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00349">349</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
524 <div class="fragment"><div class="line"><a name="l00350"></a><span class="lineno"> 350</span> {</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  <span class="keywordflow">return</span> _buffer.get();</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span> }</div></div><!-- fragment -->
527 <a class="anchor" id="a9a3e72153aeb3ed212e9c3698774e881"></a>
528 <div class="memitem">
529 <div class="memproto">
530 <table class="mlabels">
532 <td class="mlabels-left">
533 <table class="memname">
535 <td class="memname"><a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> data_type </td>
537 <td class="paramname"></td><td>)</td>
542 <td class="mlabels-right">
543 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
546 </div><div class="memdoc">
548 <p>Data type of the tensor. </p>
550 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#a7cfb31af63202568efef5214acfbf3ba">IAccessor</a>.</p>
552 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00282">282</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
554 <p>References <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00195">arm_compute::data_type_from_format()</a>, and <a class="el" href="namespacearm__compute.xhtml#a3a440b3893fa10608d4428958be1c52ea696b031073e74bf2cb98e5ef201d4aa3">arm_compute::UNKNOWN</a>.</p>
556 <p>Referenced by <a class="el" href="validation_2reference_2_activation_layer_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::activation_layer()</a>, <a class="el" href="validation_2reference_2_batch_normalization_layer_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::batch_normalization_layer()</a>, <a class="el" href="reference_2_bitwise_and_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_and()</a>, <a class="el" href="reference_2_bitwise_not_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_not()</a>, <a class="el" href="reference_2_bitwise_or_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_or()</a>, <a class="el" href="reference_2_bitwise_xor_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_xor()</a>, <a class="el" href="reference_2_box3x3_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::box3x3()</a>, <a class="el" href="validation_2reference_2_convolution_layer_8cpp_source.xhtml#l00227">arm_compute::test::validation::reference::convolution_layer()</a>, <a class="el" href="reference_2_deconvolution_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::deconvolution_layer()</a>, <a class="el" href="reference_2_depth_convert_layer_8cpp_source.xhtml#l00040">arm_compute::test::validation::reference::depth_convert()</a>, <a class="el" href="validation_2reference_2_depthwise_convolution_layer_8cpp_source.xhtml#l00053">arm_compute::test::validation::reference::depthwise_convolution()</a>, <a class="el" href="reference_2_dilate_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::dilate()</a>, <a class="el" href="_simple_tensor_8h_source.xhtml#l00251">SimpleTensor< T >::element_size()</a>, <a class="el" href="reference_2_equalize_histogram_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::equalize_histogram()</a>, <a class="el" href="reference_2_erode_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::erode()</a>, <a class="el" href="_assets_library_8h_source.xhtml#l00442">AssetsLibrary::fill()</a>, <a class="el" href="reference_2_fixed_point_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::fixed_point_operation()</a>, <a class="el" href="reference_2_fixed_point_pixel_wise_multiplication_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::fixed_point_pixel_wise_multiplication()</a>, <a class="el" href="validation_2reference_2_flatten_layer_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::flatten_layer()</a>, <a class="el" href="validation_2reference_2_floor_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::floor_layer()</a>, <a class="el" href="validation_2reference_2_fully_connected_layer_8cpp_source.xhtml#l00152">arm_compute::test::validation::reference::fully_connected_layer()</a>, <a class="el" href="reference_2_gaussian3x3_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::gaussian3x3()</a>, <a class="el" href="reference_2_gaussian5x5_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::gaussian5x5()</a>, <a class="el" href="validation_2reference_2_g_e_m_m_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::gemm()</a>, <a class="el" href="_g_e_m_m_transpose1x_w_8h_source.xhtml#l00038">arm_compute::test::validation::reference::gemm_transpose_1xW()</a>, <a class="el" href="validation_2reference_2_l2_normalize_layer_8cpp_source.xhtml#l00051">arm_compute::test::validation::reference::l2_normalize()</a>, <a class="el" href="validation_2reference_2_magnitude_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::magnitude()</a>, <a class="el" href="reference_2_median3x3_8cpp_source.xhtml#l00044">arm_compute::test::validation::reference::median3x3()</a>, <a class="el" href="reference_2_non_linear_filter_8cpp_source.xhtml#l00036">arm_compute::test::validation::reference::non_linear_filter()</a>, <a class="el" href="_non_maxima_suppression_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::non_maxima_suppression()</a>, <a class="el" href="validation_2reference_2_normalization_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::normalization_layer()</a>, <a class="el" href="validation_2reference_2_normalize_planar_y_u_v_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::normalize_planar_yuv_layer()</a>, <a class="el" href="reference_2_permute_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::permute()</a>, <a class="el" href="reference_2_pixel_wise_multiplication_8cpp_source.xhtml#l00131">arm_compute::test::validation::reference::pixel_wise_multiplication()</a>, <a class="el" href="validation_2reference_2_pooling_layer_8cpp_source.xhtml#l00058">arm_compute::test::validation::reference::pooling_layer()</a>, <a class="el" href="reference_2_reduction_operation_8cpp_source.xhtml#l00064">arm_compute::test::validation::reference::reduction_operation()</a>, <a class="el" href="reference_2_remap_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::remap()</a>, <a class="el" href="validation_2reference_2_reshape_layer_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::reshape_layer()</a>, <a class="el" href="validation_2reference_2_scale_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::scale()</a>, <a class="el" href="validation_2fixtures_2_convolution_layer_fixture_8h_source.xhtml#l00057">ConvolutionValidationGenericFixture< TensorType, AccessorType, FunctionType, T >::setup()</a>, <a class="el" href="validation_2reference_2_softmax_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::softmax_layer()</a>, <a class="el" href="reference_2_table_lookup_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::table_lookup()</a>, <a class="el" href="reference_2_threshold_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::threshold()</a>, <a class="el" href="validation_2reference_2_transpose_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::transpose()</a>, <a class="el" href="tests_2validation_2reference_2_utils_8cpp_source.xhtml#l00069">arm_compute::test::validation::transpose()</a>, <a class="el" href="_validation_8h_source.xhtml#l00334">arm_compute::test::validation::validate()</a>, <a class="el" href="_validation_8h_source.xhtml#l00398">arm_compute::test::validation::validate_wrap()</a>, <a class="el" href="reference_2_warp_affine_8cpp_source.xhtml#l00050">arm_compute::test::validation::reference::warp_affine()</a>, and <a class="el" href="reference_2_warp_perspective_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::warp_perspective()</a>.</p>
557 <div class="fragment"><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> {</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordflow">if</span>(_format != <a class="code" href="namespacearm__compute.xhtml#a3a440b3893fa10608d4428958be1c52ea696b031073e74bf2cb98e5ef201d4aa3">Format::UNKNOWN</a>)</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  {</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearm__compute.xhtml#a59846ef5ca75cd81cdb7e8a1ce08f9db">data_type_from_format</a>(_format);</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  }</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  {</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keywordflow">return</span> _data_type;</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  }</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> }</div><div class="ttc" id="namespacearm__compute_xhtml_a59846ef5ca75cd81cdb7e8a1ce08f9db"><div class="ttname"><a href="namespacearm__compute.xhtml#a59846ef5ca75cd81cdb7e8a1ce08f9db">arm_compute::data_type_from_format</a></div><div class="ttdeci">DataType data_type_from_format(Format format)</div><div class="ttdoc">Return the data type used by a given single-planar pixel format. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_utils_8h_source.xhtml#l00195">Utils.h:195</a></div></div>
558 <div class="ttc" id="namespacearm__compute_xhtml_a3a440b3893fa10608d4428958be1c52ea696b031073e74bf2cb98e5ef201d4aa3"><div class="ttname"><a href="namespacearm__compute.xhtml#a3a440b3893fa10608d4428958be1c52ea696b031073e74bf2cb98e5ef201d4aa3">arm_compute::CLVersion::UNKNOWN</a></div></div>
559 </div><!-- fragment -->
562 <a class="anchor" id="a62b67b578f684c4d516843c9dea86a23"></a>
563 <div class="memitem">
564 <div class="memproto">
565 <table class="mlabels">
567 <td class="mlabels-left">
568 <table class="memname">
570 <td class="memname">size_t element_size </td>
572 <td class="paramname"></td><td>)</td>
577 <td class="mlabels-right">
578 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
581 </div><div class="memdoc">
583 <p>Size of each element in the tensor in bytes. </p>
585 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#aa459796b5489eca8a9160cb5dcf1a103">IAccessor</a>.</p>
587 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00251">251</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
589 <p>References <a class="el" href="_simple_tensor_8h_source.xhtml#l00282">SimpleTensor< T >::data_type()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00164">arm_compute::element_size_from_data_type()</a>, and <a class="el" href="_simple_tensor_8h_source.xhtml#l00295">SimpleTensor< T >::num_channels()</a>.</p>
591 <p>Referenced by <a class="el" href="_assets_library_8h_source.xhtml#l00442">AssetsLibrary::fill()</a>, <a class="el" href="_raw_tensor_8cpp_source.xhtml#l00030">RawTensor::RawTensor()</a>, <a class="el" href="validation_2fixtures_2_fully_connected_layer_fixture_8h_source.xhtml#l00056">FullyConnectedLayerValidationGenericFixture< TensorType, AccessorType, FunctionType, T, run_interleave >::setup()</a>, <a class="el" href="validation_2fixtures_2_convolution_layer_fixture_8h_source.xhtml#l00057">ConvolutionValidationGenericFixture< TensorType, AccessorType, FunctionType, T >::setup()</a>, <a class="el" href="_simple_tensor_8h_source.xhtml#l00269">SimpleTensor< T >::size()</a>, <a class="el" href="tests_2validation_2reference_2_utils_8cpp_source.xhtml#l00069">arm_compute::test::validation::transpose()</a>, <a class="el" href="_validation_8h_source.xhtml#l00334">arm_compute::test::validation::validate()</a>, and <a class="el" href="_validation_8h_source.xhtml#l00398">arm_compute::test::validation::validate_wrap()</a>.</p>
592 <div class="fragment"><div class="line"><a name="l00252"></a><span class="lineno"> 252</span> {</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="keywordflow">return</span> <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">num_channels</a>() * <a class="code" href="namespacearm__compute.xhtml#a34b06c0cd94808a77b697e79880b84b0">element_size_from_data_type</a>(<a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a9a3e72153aeb3ed212e9c3698774e881">data_type</a>());</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> }</div><div class="ttc" id="namespacearm__compute_xhtml_a34b06c0cd94808a77b697e79880b84b0"><div class="ttname"><a href="namespacearm__compute.xhtml#a34b06c0cd94808a77b697e79880b84b0">arm_compute::element_size_from_data_type</a></div><div class="ttdeci">size_t element_size_from_data_type(DataType dt)</div><div class="ttdoc">The size in bytes of the data type. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_utils_8h_source.xhtml#l00164">Utils.h:164</a></div></div>
593 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_a9a3e72153aeb3ed212e9c3698774e881"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a9a3e72153aeb3ed212e9c3698774e881">arm_compute::test::SimpleTensor::data_type</a></div><div class="ttdeci">DataType data_type() const override</div><div class="ttdoc">Data type of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00282">SimpleTensor.h:282</a></div></div>
594 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_abdd3637f2bbde9d7d0cc0b7bbd8400bb"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#abdd3637f2bbde9d7d0cc0b7bbd8400bb">arm_compute::test::SimpleTensor::num_channels</a></div><div class="ttdeci">int num_channels() const override</div><div class="ttdoc">Number of channels of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00295">SimpleTensor.h:295</a></div></div>
595 </div><!-- fragment -->
598 <a class="anchor" id="a35ccf2eb0c18a15feab2db98b307b78b"></a>
599 <div class="memitem">
600 <div class="memproto">
601 <table class="mlabels">
603 <td class="mlabels-left">
604 <table class="memname">
606 <td class="memname">int fixed_point_position </td>
608 <td class="paramname"></td><td>)</td>
613 <td class="mlabels-right">
614 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
617 </div><div class="memdoc">
619 <p>The number of bits for the fractional part of the fixed point numbers. </p>
621 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#ab21a362740e892b6e913bd8db03b0e67">IAccessor</a>.</p>
623 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00257">257</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
625 <p>Referenced by <a class="el" href="validation_2reference_2_activation_layer_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::activation_layer()</a>, <a class="el" href="validation_2reference_2_convolution_layer_8cpp_source.xhtml#l00227">arm_compute::test::validation::reference::convolution_layer()</a>, <a class="el" href="reference_2_deconvolution_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::deconvolution_layer()</a>, <a class="el" href="reference_2_depth_convert_layer_8cpp_source.xhtml#l00040">arm_compute::test::validation::reference::depth_convert()</a>, <a class="el" href="validation_2reference_2_depthwise_convolution_layer_8cpp_source.xhtml#l00053">arm_compute::test::validation::reference::depthwise_convolution()</a>, <a class="el" href="reference_2_fixed_point_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::fixed_point_operation()</a>, <a class="el" href="reference_2_fixed_point_pixel_wise_multiplication_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::fixed_point_pixel_wise_multiplication()</a>, <a class="el" href="validation_2reference_2_flatten_layer_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::flatten_layer()</a>, <a class="el" href="validation_2reference_2_fully_connected_layer_8cpp_source.xhtml#l00152">arm_compute::test::validation::reference::fully_connected_layer()</a>, <a class="el" href="validation_2reference_2_g_e_m_m_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::gemm()</a>, <a class="el" href="validation_2reference_2_normalization_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::normalization_layer()</a>, <a class="el" href="validation_2reference_2_pooling_layer_8cpp_source.xhtml#l00058">arm_compute::test::validation::reference::pooling_layer()</a>, and <a class="el" href="validation_2reference_2_softmax_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::softmax_layer()</a>.</p>
626 <div class="fragment"><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> {</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="keywordflow">return</span> _fixed_point_position;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span> }</div></div><!-- fragment -->
629 <a class="anchor" id="ac4b36cc1e56b0b7e579bb4b7196490db"></a>
630 <div class="memitem">
631 <div class="memproto">
632 <table class="mlabels">
634 <td class="mlabels-left">
635 <table class="memname">
637 <td class="memname"><a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58">Format</a> format </td>
639 <td class="paramname"></td><td>)</td>
644 <td class="mlabels-right">
645 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
648 </div><div class="memdoc">
650 <p><a class="el" href="struct_image.xhtml" title="Structure to hold Image information. ">Image</a> format of the tensor. </p>
652 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#a57360dd9ca408834c0ea1a8ef70a11f4">IAccessor</a>.</p>
654 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00276">276</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
656 <p>Referenced by <a class="el" href="_assets_library_8cpp_source.xhtml#l00236">AssetsLibrary::fill()</a>, <a class="el" href="_raw_tensor_8cpp_source.xhtml#l00042">RawTensor::RawTensor()</a>, <a class="el" href="_validation_8h_source.xhtml#l00334">arm_compute::test::validation::validate()</a>, and <a class="el" href="_validation_8h_source.xhtml#l00398">arm_compute::test::validation::validate_wrap()</a>.</p>
657 <div class="fragment"><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> {</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keywordflow">return</span> _format;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> }</div></div><!-- fragment -->
660 <a class="anchor" id="abdd3637f2bbde9d7d0cc0b7bbd8400bb"></a>
661 <div class="memitem">
662 <div class="memproto">
663 <table class="mlabels">
665 <td class="mlabels-left">
666 <table class="memname">
668 <td class="memname">int num_channels </td>
670 <td class="paramname"></td><td>)</td>
675 <td class="mlabels-right">
676 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
679 </div><div class="memdoc">
681 <p>Number of channels of the tensor. </p>
683 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#ac492280ef2d7889f1226d34743b74459">IAccessor</a>.</p>
685 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00295">295</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
687 <p>References <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a56d8353718e6fdc78b8d69078a2cdb94">arm_compute::F16</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a44ad4ef5a76e6aa6fb3e3fa079a54fda">arm_compute::F32</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58ab08f0cb36474118c5bbc03b3a172a778">arm_compute::IYUV</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a202f5d8c2c70d31048154d8b8b28e755">arm_compute::NV12</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a8e9f6aa1af7e0abbc7e64521e6ffe1b4">arm_compute::NV21</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a30ff380a3be74628024063a99fba10f0">arm_compute::RGB888</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a165f06116e7b8d9b2481dfc805db4619">arm_compute::RGBA8888</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6e0b0886efb94aec797f6b830329b72c">arm_compute::S16</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58aa1e28eee0339658d39a8b4d325b56e9c">arm_compute::S32</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58aef9ef3ebca4d2b64b6ec83808bafa5f2">arm_compute::U16</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58ac8bd5bedff8ef192d39a962afc0e19ee">arm_compute::U32</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">arm_compute::U8</a>, <a class="el" href="namespacearm__compute.xhtml#a3a440b3893fa10608d4428958be1c52ea696b031073e74bf2cb98e5ef201d4aa3">arm_compute::UNKNOWN</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a079eb95759d2ad31254f659d63651825">arm_compute::UV88</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58af557448a61ad2927194f63442e131dfa">arm_compute::UYVY422</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a11cfa56ee0ddbbc30a2fd189d7475f4c">arm_compute::YUV444</a>, and <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a481e7a6945eb9f23e87f2de780b2e164">arm_compute::YUYV422</a>.</p>
689 <p>Referenced by <a class="el" href="reference_2_derivative_8cpp_source.xhtml#l00055">arm_compute::test::validation::reference::derivative()</a>, <a class="el" href="_simple_tensor_8h_source.xhtml#l00251">SimpleTensor< T >::element_size()</a>, <a class="el" href="_non_maxima_suppression_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::non_maxima_suppression()</a>, <a class="el" href="_raw_tensor_8cpp_source.xhtml#l00030">RawTensor::RawTensor()</a>, <a class="el" href="reference_2_scharr_8cpp_source.xhtml#l00062">arm_compute::test::validation::reference::scharr()</a>, <a class="el" href="_simple_tensor_8h_source.xhtml#l00187">SimpleTensor< T >::SimpleTensor()</a>, <a class="el" href="reference_2_sobel_8cpp_source.xhtml#l00106">arm_compute::test::validation::reference::sobel()</a>, <a class="el" href="_validation_8h_source.xhtml#l00334">arm_compute::test::validation::validate()</a>, and <a class="el" href="_validation_8h_source.xhtml#l00398">arm_compute::test::validation::validate_wrap()</a>.</p>
690 <div class="fragment"><div class="line"><a name="l00296"></a><span class="lineno"> 296</span> {</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keywordflow">switch</span>(_format)</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  {</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">Format::U8</a>:</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58aef9ef3ebca4d2b64b6ec83808bafa5f2">Format::U16</a>:</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6e0b0886efb94aec797f6b830329b72c">Format::S16</a>:</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58ac8bd5bedff8ef192d39a962afc0e19ee">Format::U32</a>:</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58aa1e28eee0339658d39a8b4d325b56e9c">Format::S32</a>:</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a56d8353718e6fdc78b8d69078a2cdb94">Format::F16</a>:</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a44ad4ef5a76e6aa6fb3e3fa079a54fda">Format::F32</a>:</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordflow">return</span> 1;</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="comment">// Because the U and V channels are subsampled</span></div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="comment">// these formats appear like having only 2 channels:</span></div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a481e7a6945eb9f23e87f2de780b2e164">Format::YUYV422</a>:</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58af557448a61ad2927194f63442e131dfa">Format::UYVY422</a>:</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordflow">return</span> 2;</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a079eb95759d2ad31254f659d63651825">Format::UV88</a>:</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keywordflow">return</span> 2;</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a30ff380a3be74628024063a99fba10f0">Format::RGB888</a>:</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="keywordflow">return</span> 3;</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a165f06116e7b8d9b2481dfc805db4619">Format::RGBA8888</a>:</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keywordflow">return</span> 4;</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#a3a440b3893fa10608d4428958be1c52ea696b031073e74bf2cb98e5ef201d4aa3">Format::UNKNOWN</a>:</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keywordflow">return</span> _num_channels;</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <span class="comment">//Doesn't make sense for planar formats:</span></div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a202f5d8c2c70d31048154d8b8b28e755">Format::NV12</a>:</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a8e9f6aa1af7e0abbc7e64521e6ffe1b4">Format::NV21</a>:</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58ab08f0cb36474118c5bbc03b3a172a778">Format::IYUV</a>:</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <span class="keywordflow">case</span> <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a11cfa56ee0ddbbc30a2fd189d7475f4c">Format::YUV444</a>:</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  }</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span> }</div><div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58af557448a61ad2927194f63442e131dfa"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58af557448a61ad2927194f63442e131dfa">arm_compute::Format::UYVY422</a></div><div class="ttdoc">A single plane of 32-bit macro pixel of U0, Y0, V0, Y1 byte. </div></div>
691 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">arm_compute::Format::U8</a></div><div class="ttdoc">1 channel, 1 U8 per channel </div></div>
692 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a44ad4ef5a76e6aa6fb3e3fa079a54fda"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a44ad4ef5a76e6aa6fb3e3fa079a54fda">arm_compute::Format::F32</a></div><div class="ttdoc">1 channel, 1 F32 per channel </div></div>
693 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a202f5d8c2c70d31048154d8b8b28e755"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a202f5d8c2c70d31048154d8b8b28e755">arm_compute::Format::NV12</a></div><div class="ttdoc">A 2 plane YUV format of Luma (Y) and interleaved UV data at 4:2:0 sampling. </div></div>
694 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58aef9ef3ebca4d2b64b6ec83808bafa5f2"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58aef9ef3ebca4d2b64b6ec83808bafa5f2">arm_compute::Format::U16</a></div><div class="ttdoc">1 channel, 1 U16 per channel </div></div>
695 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a8e9f6aa1af7e0abbc7e64521e6ffe1b4"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a8e9f6aa1af7e0abbc7e64521e6ffe1b4">arm_compute::Format::NV21</a></div><div class="ttdoc">A 2 plane YUV format of Luma (Y) and interleaved VU data at 4:2:0 sampling. </div></div>
696 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a56d8353718e6fdc78b8d69078a2cdb94"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a56d8353718e6fdc78b8d69078a2cdb94">arm_compute::Format::F16</a></div><div class="ttdoc">1 channel, 1 F16 per channel </div></div>
697 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58aa1e28eee0339658d39a8b4d325b56e9c"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58aa1e28eee0339658d39a8b4d325b56e9c">arm_compute::Format::S32</a></div><div class="ttdoc">1 channel, 1 S32 per channel </div></div>
698 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a30ff380a3be74628024063a99fba10f0"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a30ff380a3be74628024063a99fba10f0">arm_compute::Format::RGB888</a></div><div class="ttdoc">3 channels, 1 U8 per channel </div></div>
699 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58ac8bd5bedff8ef192d39a962afc0e19ee"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58ac8bd5bedff8ef192d39a962afc0e19ee">arm_compute::Format::U32</a></div><div class="ttdoc">1 channel, 1 U32 per channel </div></div>
700 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a11cfa56ee0ddbbc30a2fd189d7475f4c"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a11cfa56ee0ddbbc30a2fd189d7475f4c">arm_compute::Format::YUV444</a></div><div class="ttdoc">A 3 plane of 8 bit 4:4:4 sampled Y, U, V planes. </div></div>
701 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a6e0b0886efb94aec797f6b830329b72c"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6e0b0886efb94aec797f6b830329b72c">arm_compute::Format::S16</a></div><div class="ttdoc">1 channel, 1 S16 per channel </div></div>
702 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58ab08f0cb36474118c5bbc03b3a172a778"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58ab08f0cb36474118c5bbc03b3a172a778">arm_compute::Format::IYUV</a></div><div class="ttdoc">A 3 plane of 8-bit 4:2:0 sampled Y, U, V planes. </div></div>
703 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a165f06116e7b8d9b2481dfc805db4619"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a165f06116e7b8d9b2481dfc805db4619">arm_compute::Format::RGBA8888</a></div><div class="ttdoc">4 channels, 1 U8 per channel </div></div>
704 <div class="ttc" id="namespacearm__compute_xhtml_a3a440b3893fa10608d4428958be1c52ea696b031073e74bf2cb98e5ef201d4aa3"><div class="ttname"><a href="namespacearm__compute.xhtml#a3a440b3893fa10608d4428958be1c52ea696b031073e74bf2cb98e5ef201d4aa3">arm_compute::CLVersion::UNKNOWN</a></div></div>
705 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a079eb95759d2ad31254f659d63651825"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a079eb95759d2ad31254f659d63651825">arm_compute::Format::UV88</a></div><div class="ttdoc">2 channel, 1 U8 per channel </div></div>
706 <div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a481e7a6945eb9f23e87f2de780b2e164"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a481e7a6945eb9f23e87f2de780b2e164">arm_compute::Format::YUYV422</a></div><div class="ttdoc">A single plane of 32-bit macro pixel of Y0, U0, Y1, V0 bytes. </div></div>
707 </div><!-- fragment -->
710 <a class="anchor" id="aedcfdd4c3b92fe0d63b5463c7ad1d21e"></a>
711 <div class="memitem">
712 <div class="memproto">
713 <table class="mlabels">
715 <td class="mlabels-left">
716 <table class="memname">
718 <td class="memname">int num_elements </td>
720 <td class="paramname"></td><td>)</td>
725 <td class="mlabels-right">
726 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
729 </div><div class="memdoc">
731 <p>Number of elements of the tensor. </p>
733 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#a7596bc2928432a0ac2271bc9184d692e">IAccessor</a>.</p>
735 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00331">331</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
737 <p>References <a class="el" href="_tensor_shape_8h_source.xhtml#l00153">TensorShape::total_size()</a>.</p>
739 <p>Referenced by <a class="el" href="reference_2_absolute_difference_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::absolute_difference()</a>, <a class="el" href="reference_2_accumulate_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::accumulate()</a>, <a class="el" href="reference_2_accumulate_8cpp_source.xhtml#l00077">arm_compute::test::validation::reference::accumulate_squared()</a>, <a class="el" href="reference_2_accumulate_8cpp_source.xhtml#l00057">arm_compute::test::validation::reference::accumulate_weighted()</a>, <a class="el" href="validation_2reference_2_activation_layer_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::activation_layer()</a>, <a class="el" href="reference_2_arithmetic_subtraction_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::arithmetic_subtraction()</a>, <a class="el" href="reference_2_bitwise_and_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_and()</a>, <a class="el" href="reference_2_bitwise_not_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_not()</a>, <a class="el" href="reference_2_bitwise_or_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_or()</a>, <a class="el" href="reference_2_bitwise_xor_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_xor()</a>, <a class="el" href="reference_2_box3x3_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::box3x3()</a>, <a class="el" href="reference_2_min_max_location_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::compute_min_max()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00116">arm_compute::test::validation::convert_from_asymmetric()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00127">arm_compute::test::validation::convert_to_asymmetric()</a>, <a class="el" href="reference_2_convolution_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::convolution()</a>, <a class="el" href="reference_2_depth_convert_layer_8cpp_source.xhtml#l00040">arm_compute::test::validation::reference::depth_convert()</a>, <a class="el" href="validation_2reference_2_depth_concatenate_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::depthconcatenate_layer()</a>, <a class="el" href="reference_2_derivative_8cpp_source.xhtml#l00055">arm_compute::test::validation::reference::derivative()</a>, <a class="el" href="reference_2_dilate_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::dilate()</a>, <a class="el" href="reference_2_equalize_histogram_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::equalize_histogram()</a>, <a class="el" href="reference_2_erode_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::erode()</a>, <a class="el" href="reference_2_fast_corners_8cpp_source.xhtml#l00152">arm_compute::test::validation::reference::fast_corners()</a>, <a class="el" href="reference_2_fixed_point_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::fixed_point_operation()</a>, <a class="el" href="reference_2_fixed_point_pixel_wise_multiplication_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::fixed_point_pixel_wise_multiplication()</a>, <a class="el" href="validation_2reference_2_flatten_layer_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::flatten_layer()</a>, <a class="el" href="validation_2reference_2_floor_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::floor_layer()</a>, <a class="el" href="reference_2_gaussian3x3_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::gaussian3x3()</a>, <a class="el" href="reference_2_gaussian5x5_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::gaussian5x5()</a>, <a class="el" href="reference_2_histogram_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::histogram()</a>, <a class="el" href="validation_2reference_2_magnitude_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::magnitude()</a>, <a class="el" href="reference_2_mean_std_dev_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::mean_and_standard_deviation()</a>, <a class="el" href="reference_2_median3x3_8cpp_source.xhtml#l00044">arm_compute::test::validation::reference::median3x3()</a>, <a class="el" href="reference_2_non_linear_filter_8cpp_source.xhtml#l00036">arm_compute::test::validation::reference::non_linear_filter()</a>, <a class="el" href="_non_maxima_suppression_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::non_maxima_suppression()</a>, <a class="el" href="reference_2_permute_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::permute()</a>, <a class="el" href="reference_2_phase_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::phase()</a>, <a class="el" href="_raw_tensor_8cpp_source.xhtml#l00030">RawTensor::RawTensor()</a>, <a class="el" href="reference_2_remap_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::remap()</a>, <a class="el" href="validation_2reference_2_reshape_layer_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::reshape_layer()</a>, <a class="el" href="reference_2_scharr_8cpp_source.xhtml#l00062">arm_compute::test::validation::reference::scharr()</a>, <a class="el" href="validation_2fixtures_2_fully_connected_layer_fixture_8h_source.xhtml#l00056">FullyConnectedLayerValidationGenericFixture< TensorType, AccessorType, FunctionType, T, run_interleave >::setup()</a>, <a class="el" href="validation_2fixtures_2_convolution_layer_fixture_8h_source.xhtml#l00057">ConvolutionValidationGenericFixture< TensorType, AccessorType, FunctionType, T >::setup()</a>, <a class="el" href="_simple_tensor_8h_source.xhtml#l00187">SimpleTensor< T >::SimpleTensor()</a>, <a class="el" href="reference_2_sobel_8cpp_source.xhtml#l00106">arm_compute::test::validation::reference::sobel()</a>, <a class="el" href="validation_2reference_2_softmax_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::softmax_layer()</a>, <a class="el" href="reference_2_table_lookup_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::table_lookup()</a>, <a class="el" href="reference_2_threshold_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::threshold()</a>, <a class="el" href="validation_2reference_2_transpose_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::transpose()</a>, <a class="el" href="_validation_8h_source.xhtml#l00334">arm_compute::test::validation::validate()</a>, <a class="el" href="_validation_8h_source.xhtml#l00398">arm_compute::test::validation::validate_wrap()</a>, <a class="el" href="reference_2_warp_affine_8cpp_source.xhtml#l00050">arm_compute::test::validation::reference::warp_affine()</a>, and <a class="el" href="reference_2_warp_perspective_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::warp_perspective()</a>.</p>
740 <div class="fragment"><div class="line"><a name="l00332"></a><span class="lineno"> 332</span> {</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="keywordflow">return</span> _shape.<a class="code" href="classarm__compute_1_1_tensor_shape.xhtml#a4eaec01ba2c12093db609d1034ad0bc1">total_size</a>();</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> }</div><div class="ttc" id="classarm__compute_1_1_tensor_shape_xhtml_a4eaec01ba2c12093db609d1034ad0bc1"><div class="ttname"><a href="classarm__compute_1_1_tensor_shape.xhtml#a4eaec01ba2c12093db609d1034ad0bc1">arm_compute::TensorShape::total_size</a></div><div class="ttdeci">size_t total_size() const </div><div class="ttdoc">Collapses all dimensions to a single linear total size. </div><div class="ttdef"><b>Definition:</b> <a href="_tensor_shape_8h_source.xhtml#l00153">TensorShape.h:153</a></div></div>
741 </div><!-- fragment -->
744 <a class="anchor" id="a39537b09ccc3ce3d17922f4ef49a123f"></a>
745 <div class="memitem">
746 <div class="memproto">
747 <table class="mlabels">
749 <td class="mlabels-left">
750 <table class="memname">
752 <td class="memname">const void * operator() </td>
754 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_coordinates.xhtml">Coordinates</a> & </td>
755 <td class="paramname"><em>coord</em></td><td>)</td>
760 <td class="mlabels-right">
761 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
764 </div><div class="memdoc">
766 <p>Read only access to the specified element. </p>
767 <dl class="params"><dt>Parameters</dt><dd>
768 <table class="params">
769 <tr><td class="paramdir">[in]</td><td class="paramname">coord</td><td><a class="el" href="classarm__compute_1_1_coordinates.xhtml" title="Coordinates of an item. ">Coordinates</a> of the desired element.</td></tr>
773 <dl class="section return"><dt>Returns</dt><dd>A pointer to the desired element. </dd></dl>
775 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#a583a35e4fd72f072a6b76ce58c2e3998">IAccessor</a>.</p>
777 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00355">355</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
779 <p>References <a class="el" href="tests_2_utils_8h_source.xhtml#l00432">arm_compute::test::coord2index()</a>.</p>
780 <div class="fragment"><div class="line"><a name="l00356"></a><span class="lineno"> 356</span> {</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <span class="keywordflow">return</span> _buffer.get() + <a class="code" href="namespacearm__compute_1_1test.xhtml#a9be4cb7e6ee20063a4a10bc3abb750b9">coord2index</a>(_shape, coord) * _num_channels;</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span> }</div><div class="ttc" id="namespacearm__compute_1_1test_xhtml_a9be4cb7e6ee20063a4a10bc3abb750b9"><div class="ttname"><a href="namespacearm__compute_1_1test.xhtml#a9be4cb7e6ee20063a4a10bc3abb750b9">arm_compute::test::coord2index</a></div><div class="ttdeci">int coord2index(const TensorShape &shape, const Coordinates &coord)</div><div class="ttdoc">Linearise the given coordinate. </div><div class="ttdef"><b>Definition:</b> <a href="tests_2_utils_8h_source.xhtml#l00432">Utils.h:432</a></div></div>
781 </div><!-- fragment -->
784 <a class="anchor" id="a2df95f7046b81e69a1265a42202ea068"></a>
785 <div class="memitem">
786 <div class="memproto">
787 <table class="mlabels">
789 <td class="mlabels-left">
790 <table class="memname">
792 <td class="memname">void * operator() </td>
794 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_coordinates.xhtml">Coordinates</a> & </td>
795 <td class="paramname"><em>coord</em></td><td>)</td>
800 <td class="mlabels-right">
801 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
804 </div><div class="memdoc">
806 <p>Access to the specified element. </p>
807 <dl class="params"><dt>Parameters</dt><dd>
808 <table class="params">
809 <tr><td class="paramdir">[in]</td><td class="paramname">coord</td><td><a class="el" href="classarm__compute_1_1_coordinates.xhtml" title="Coordinates of an item. ">Coordinates</a> of the desired element.</td></tr>
813 <dl class="section return"><dt>Returns</dt><dd>A pointer to the desired element. </dd></dl>
815 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#a9fd1359f2b5ea45a31bd79b381281eb4">IAccessor</a>.</p>
817 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00361">361</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
819 <p>References <a class="el" href="tests_2_utils_8h_source.xhtml#l00432">arm_compute::test::coord2index()</a>.</p>
820 <div class="fragment"><div class="line"><a name="l00362"></a><span class="lineno"> 362</span> {</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="keywordflow">return</span> _buffer.get() + <a class="code" href="namespacearm__compute_1_1test.xhtml#a9be4cb7e6ee20063a4a10bc3abb750b9">coord2index</a>(_shape, coord) * _num_channels;</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span> }</div><div class="ttc" id="namespacearm__compute_1_1test_xhtml_a9be4cb7e6ee20063a4a10bc3abb750b9"><div class="ttname"><a href="namespacearm__compute_1_1test.xhtml#a9be4cb7e6ee20063a4a10bc3abb750b9">arm_compute::test::coord2index</a></div><div class="ttdeci">int coord2index(const TensorShape &shape, const Coordinates &coord)</div><div class="ttdoc">Linearise the given coordinate. </div><div class="ttdef"><b>Definition:</b> <a href="tests_2_utils_8h_source.xhtml#l00432">Utils.h:432</a></div></div>
821 </div><!-- fragment -->
824 <a class="anchor" id="ad4622eda610d53fb6852209f0213aeed"></a>
825 <div class="memitem">
826 <div class="memproto">
827 <table class="memname">
829 <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a>< T > & operator= </td>
831 <td class="paramtype"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a>< T > </td>
832 <td class="paramname"><em>tensor</em></td><td>)</td>
836 </div><div class="memdoc">
838 <p>Create a deep copy of the given <code>tensor</code>. </p>
839 <dl class="params"><dt>Parameters</dt><dd>
840 <table class="params">
841 <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td>To be copied tensor. </td></tr>
846 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00225">225</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
848 <p>References <a class="el" href="_simple_tensor_8h_source.xhtml#l00367">SimpleTensor< T >::swap</a>.</p>
849 <div class="fragment"><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> {</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a51920d34b0fa5415e84891ad8e755224">swap</a>(*<span class="keyword">this</span>, tensor);</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span> }</div><div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_a51920d34b0fa5415e84891ad8e755224"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a51920d34b0fa5415e84891ad8e755224">arm_compute::test::SimpleTensor::swap</a></div><div class="ttdeci">friend void swap(SimpleTensor< U > &tensor1, SimpleTensor< U > &tensor2)</div><div class="ttdoc">Swaps the content of the provided tensors. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00367">SimpleTensor.h:367</a></div></div>
850 </div><!-- fragment -->
853 <a class="anchor" id="af6124c81d1e81f182d64ae76caa3fa52"></a>
854 <div class="memitem">
855 <div class="memproto">
856 <table class="memname">
858 <td class="memname">T & operator[] </td>
860 <td class="paramtype">size_t </td>
861 <td class="paramname"><em>offset</em></td><td>)</td>
865 </div><div class="memdoc">
867 <p>Return value at <code>offset</code> in the buffer. </p>
868 <dl class="params"><dt>Parameters</dt><dd>
869 <table class="params">
870 <tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>Offset within the buffer. </td></tr>
875 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00233">233</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
877 <p>References <a class="el" href="helpers_8h_source.xhtml#l00301">offset()</a>.</p>
878 <div class="fragment"><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> {</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="keywordflow">return</span> _buffer[<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>];</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> }</div><div class="ttc" id="helpers_8h_xhtml_a009469e4d9b8fce3b6d5e97d2077827d"><div class="ttname"><a href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a></div><div class="ttdeci">__global uchar * offset(const Image *img, int x, int y)</div><div class="ttdoc">Get the pointer position of a Image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00301">helpers.h:301</a></div></div>
879 </div><!-- fragment -->
882 <a class="anchor" id="a73aecdf45b3f257e0c15757a18573ea4"></a>
883 <div class="memitem">
884 <div class="memproto">
885 <table class="memname">
887 <td class="memname">const T & operator[] </td>
889 <td class="paramtype">size_t </td>
890 <td class="paramname"><em>offset</em></td><td>)</td>
894 </div><div class="memdoc">
896 <p>Return constant value at <code>offset</code> in the buffer. </p>
897 <dl class="params"><dt>Parameters</dt><dd>
898 <table class="params">
899 <tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>Offset within the buffer. </td></tr>
904 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00239">239</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
906 <p>References <a class="el" href="helpers_8h_source.xhtml#l00301">offset()</a>.</p>
907 <div class="fragment"><div class="line"><a name="l00240"></a><span class="lineno"> 240</span> {</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordflow">return</span> _buffer[<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>];</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span> }</div><div class="ttc" id="helpers_8h_xhtml_a009469e4d9b8fce3b6d5e97d2077827d"><div class="ttname"><a href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a></div><div class="ttdeci">__global uchar * offset(const Image *img, int x, int y)</div><div class="ttdoc">Get the pointer position of a Image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00301">helpers.h:301</a></div></div>
908 </div><!-- fragment -->
911 <a class="anchor" id="a79e20eacb1e963e24a21ebd7369effd7"></a>
912 <div class="memitem">
913 <div class="memproto">
914 <table class="mlabels">
916 <td class="mlabels-left">
917 <table class="memname">
919 <td class="memname"><a class="el" href="namespacearm__compute.xhtml#a4467b302fc9ec312c40580336ab783da">PaddingSize</a> padding </td>
921 <td class="paramname"></td><td>)</td>
926 <td class="mlabels-right">
927 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
930 </div><div class="memdoc">
932 <p>Available padding around the tensor. </p>
934 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#a07b929c34ad1dc823d8315876aa403ce">IAccessor</a>.</p>
936 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00337">337</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
937 <div class="fragment"><div class="line"><a name="l00338"></a><span class="lineno"> 338</span> {</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearm__compute.xhtml#a4467b302fc9ec312c40580336ab783da">PaddingSize</a>(0);</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> }</div><div class="ttc" id="namespacearm__compute_xhtml_a4467b302fc9ec312c40580336ab783da"><div class="ttname"><a href="namespacearm__compute.xhtml#a4467b302fc9ec312c40580336ab783da">arm_compute::PaddingSize</a></div><div class="ttdeci">BorderSize PaddingSize</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00299">Types.h:299</a></div></div>
938 </div><!-- fragment -->
941 <a class="anchor" id="ac74736e3863207232a23b7181c1d0f44"></a>
942 <div class="memitem">
943 <div class="memproto">
944 <table class="mlabels">
946 <td class="mlabels-left">
947 <table class="memname">
949 <td class="memname"><a class="el" href="structarm__compute_1_1_quantization_info.xhtml">QuantizationInfo</a> quantization_info </td>
951 <td class="paramname"></td><td>)</td>
956 <td class="mlabels-right">
957 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
960 </div><div class="memdoc">
962 <p>Quantization info in case of asymmetric quantized type. </p>
964 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#a3f3e1a3200223e6a304a533b1016e749">IAccessor</a>.</p>
966 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00263">263</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
968 <p>Referenced by <a class="el" href="validation_2reference_2_activation_layer_8cpp_source.xhtml#l00158">arm_compute::test::validation::reference::activation_layer< uint8_t >()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00116">arm_compute::test::validation::convert_from_asymmetric()</a>, <a class="el" href="validation_2reference_2_convolution_layer_8cpp_source.xhtml#l00227">arm_compute::test::validation::reference::convolution_layer()</a>, <a class="el" href="validation_2reference_2_depthwise_convolution_layer_8cpp_source.xhtml#l00116">arm_compute::test::validation::reference::depthwise_convolution()</a>, <a class="el" href="validation_2reference_2_fully_connected_layer_8cpp_source.xhtml#l00152">arm_compute::test::validation::reference::fully_connected_layer()</a>, and <a class="el" href="validation_2reference_2_pooling_layer_8cpp_source.xhtml#l00294">arm_compute::test::validation::reference::pooling_layer< uint8_t >()</a>.</p>
969 <div class="fragment"><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> {</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordflow">return</span> _quantization_info;</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span> }</div></div><!-- fragment -->
972 <a class="anchor" id="aba5871b3e4a65d057ec1c28fce8b00ba"></a>
973 <div class="memitem">
974 <div class="memproto">
975 <table class="mlabels">
977 <td class="mlabels-left">
978 <table class="memname">
980 <td class="memname"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> shape </td>
982 <td class="paramname"></td><td>)</td>
987 <td class="mlabels-right">
988 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
991 </div><div class="memdoc">
993 <p>Shape of the tensor. </p>
995 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#a1c5e120ea2712b21296aa8f62421d3c1">IAccessor</a>.</p>
997 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00245">245</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
999 <p>Referenced by <a class="el" href="reference_2_absolute_difference_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::absolute_difference()</a>, <a class="el" href="reference_2_accumulate_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::accumulate()</a>, <a class="el" href="reference_2_accumulate_8cpp_source.xhtml#l00077">arm_compute::test::validation::reference::accumulate_squared()</a>, <a class="el" href="reference_2_accumulate_8cpp_source.xhtml#l00057">arm_compute::test::validation::reference::accumulate_weighted()</a>, <a class="el" href="validation_2reference_2_activation_layer_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::activation_layer()</a>, <a class="el" href="tests_2validation_2reference_2_utils_8h_source.xhtml#l00096">arm_compute::test::validation::apply_2d_spatial_filter()</a>, <a class="el" href="reference_2_arithmetic_addition_8cpp_source.xhtml#l00089">arm_compute::test::validation::reference::arithmetic_addition()</a>, <a class="el" href="reference_2_arithmetic_subtraction_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::arithmetic_subtraction()</a>, <a class="el" href="validation_2reference_2_batch_normalization_layer_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::batch_normalization_layer()</a>, <a class="el" href="reference_2_bitwise_and_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_and()</a>, <a class="el" href="reference_2_bitwise_not_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_not()</a>, <a class="el" href="reference_2_bitwise_or_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_or()</a>, <a class="el" href="reference_2_bitwise_xor_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::bitwise_xor()</a>, <a class="el" href="reference_2_box3x3_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::box3x3()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00116">arm_compute::test::validation::convert_from_asymmetric()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00127">arm_compute::test::validation::convert_to_asymmetric()</a>, <a class="el" href="reference_2_convolution_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::convolution()</a>, <a class="el" href="validation_2reference_2_convolution_layer_8cpp_source.xhtml#l00227">arm_compute::test::validation::reference::convolution_layer()</a>, <a class="el" href="_g_l_e_s___c_o_m_p_u_t_e_2_helper_8h_source.xhtml#l00064">arm_compute::test::gles_compute::create_tensor()</a>, <a class="el" href="reference_2_deconvolution_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::deconvolution_layer()</a>, <a class="el" href="reference_2_depth_convert_layer_8cpp_source.xhtml#l00040">arm_compute::test::validation::reference::depth_convert()</a>, <a class="el" href="validation_2reference_2_depth_concatenate_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::depthconcatenate_layer()</a>, <a class="el" href="validation_2reference_2_depthwise_convolution_layer_8cpp_source.xhtml#l00053">arm_compute::test::validation::reference::depthwise_convolution()</a>, <a class="el" href="validation_2reference_2_dequantization_layer_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::dequantization_layer()</a>, <a class="el" href="reference_2_derivative_8cpp_source.xhtml#l00055">arm_compute::test::validation::reference::derivative()</a>, <a class="el" href="reference_2_dilate_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::dilate()</a>, <a class="el" href="reference_2_equalize_histogram_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::equalize_histogram()</a>, <a class="el" href="reference_2_erode_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::erode()</a>, <a class="el" href="reference_2_fast_corners_8cpp_source.xhtml#l00152">arm_compute::test::validation::reference::fast_corners()</a>, <a class="el" href="_assets_library_8cpp_source.xhtml#l00236">AssetsLibrary::fill()</a>, <a class="el" href="reference_2_fixed_point_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::fixed_point_operation()</a>, <a class="el" href="reference_2_fixed_point_pixel_wise_multiplication_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::fixed_point_pixel_wise_multiplication()</a>, <a class="el" href="validation_2reference_2_flatten_layer_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::flatten_layer()</a>, <a class="el" href="validation_2reference_2_floor_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::floor_layer()</a>, <a class="el" href="validation_2reference_2_fully_connected_layer_8cpp_source.xhtml#l00152">arm_compute::test::validation::reference::fully_connected_layer()</a>, <a class="el" href="reference_2_gaussian3x3_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::gaussian3x3()</a>, <a class="el" href="reference_2_gaussian5x5_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::gaussian5x5()</a>, <a class="el" href="validation_2reference_2_g_e_m_m_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::gemm()</a>, <a class="el" href="_g_e_m_m_interleave4x4_8h_source.xhtml#l00038">arm_compute::test::validation::reference::gemm_interleave_4x4()</a>, <a class="el" href="_g_e_m_m_interleave_blocked_8h_source.xhtml#l00051">arm_compute::test::validation::reference::gemm_interleave_blocked()</a>, <a class="el" href="_g_e_m_m_transpose1x_w_8h_source.xhtml#l00038">arm_compute::test::validation::reference::gemm_transpose_1xW()</a>, <a class="el" href="validation_2reference_2_g_e_m_m_lowp_8cpp_source.xhtml#l00101">arm_compute::test::validation::reference::gemmlowp_matrix_multiply_core()</a>, <a class="el" href="validation_2reference_2_g_e_m_m_lowp_8cpp_source.xhtml#l00150">arm_compute::test::validation::reference::gemmlowp_quantize_down_int32_to_uint8_scale()</a>, <a class="el" href="validation_2reference_2_g_e_m_m_lowp_8cpp_source.xhtml#l00171">arm_compute::test::validation::reference::gemmlowp_quantize_down_int32_to_uint8_scale_by_fixedpoint()</a>, <a class="el" href="_assets_library_8cpp_source.xhtml#l00432">AssetsLibrary::get()</a>, <a class="el" href="_assets_library_8cpp_source.xhtml#l00417">AssetsLibrary::get_image_shape()</a>, <a class="el" href="reference_2_h_o_g_descriptor_8cpp_source.xhtml#l00174">arm_compute::test::validation::reference::hog_block_normalization()</a>, <a class="el" href="reference_2_h_o_g_descriptor_8cpp_source.xhtml#l00226">arm_compute::test::validation::reference::hog_descriptor()</a>, <a class="el" href="reference_2_h_o_g_descriptor_8cpp_source.xhtml#l00117">arm_compute::test::validation::reference::hog_orientation_binning()</a>, <a class="el" href="reference_2_integral_image_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::integral_image()</a>, <a class="el" href="validation_2reference_2_l2_normalize_layer_8cpp_source.xhtml#l00051">arm_compute::test::validation::reference::l2_normalize()</a>, <a class="el" href="validation_2reference_2_magnitude_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::magnitude()</a>, <a class="el" href="reference_2_median3x3_8cpp_source.xhtml#l00044">arm_compute::test::validation::reference::median3x3()</a>, <a class="el" href="reference_2_min_max_location_8cpp_source.xhtml#l00058">arm_compute::test::validation::reference::min_max_location()</a>, <a class="el" href="reference_2_non_linear_filter_8cpp_source.xhtml#l00036">arm_compute::test::validation::reference::non_linear_filter()</a>, <a class="el" href="_non_maxima_suppression_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::non_maxima_suppression()</a>, <a class="el" href="validation_2reference_2_normalization_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::normalization_layer()</a>, <a class="el" href="validation_2reference_2_normalize_planar_y_u_v_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::normalize_planar_yuv_layer()</a>, <a class="el" href="reference_2_permute_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::permute()</a>, <a class="el" href="reference_2_phase_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::phase()</a>, <a class="el" href="reference_2_pixel_wise_multiplication_8cpp_source.xhtml#l00131">arm_compute::test::validation::reference::pixel_wise_multiplication()</a>, <a class="el" href="validation_2reference_2_pooling_layer_8cpp_source.xhtml#l00058">arm_compute::test::validation::reference::pooling_layer()</a>, <a class="el" href="validation_2reference_2_quantization_layer_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::quantization_layer()</a>, <a class="el" href="reference_2_reduction_operation_8cpp_source.xhtml#l00064">arm_compute::test::validation::reference::reduction_operation()</a>, <a class="el" href="reference_2_remap_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::remap()</a>, <a class="el" href="validation_2reference_2_reshape_layer_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::reshape_layer()</a>, <a class="el" href="_g_e_m_m_interleave_blocked_8h_source.xhtml#l00038">arm_compute::test::validation::reference::safe_read()</a>, <a class="el" href="validation_2reference_2_scale_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::scale()</a>, <a class="el" href="reference_2_scharr_8cpp_source.xhtml#l00062">arm_compute::test::validation::reference::scharr()</a>, <a class="el" href="benchmark_2fixtures_2_harris_corners_fixture_8h_source.xhtml#l00044">HarrisCornersFixture< TensorType, Function, Accessor, ArrayType >::setup()</a>, <a class="el" href="validation_2fixtures_2_harris_corners_fixture_8h_source.xhtml#l00050">HarrisCornersValidationFixture< TensorType, AccessorType, ArrayType, FunctionType, T >::setup()</a>, <a class="el" href="_fast_corners_fixture_8h_source.xhtml#l00052">FastCornersValidationFixture< TensorType, AccessorType, ArrayType, FunctionType, T >::setup()</a>, <a class="el" href="validation_2fixtures_2_fully_connected_layer_fixture_8h_source.xhtml#l00056">FullyConnectedLayerValidationGenericFixture< TensorType, AccessorType, FunctionType, T, run_interleave >::setup()</a>, <a class="el" href="validation_2fixtures_2_convolution_layer_fixture_8h_source.xhtml#l00057">ConvolutionValidationGenericFixture< TensorType, AccessorType, FunctionType, T >::setup()</a>, <a class="el" href="reference_2_sobel_8cpp_source.xhtml#l00106">arm_compute::test::validation::reference::sobel()</a>, <a class="el" href="validation_2reference_2_softmax_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::softmax_layer()</a>, <a class="el" href="reference_2_table_lookup_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::table_lookup()</a>, <a class="el" href="tests_2validation_2reference_2_utils_8h_source.xhtml#l00061">arm_compute::test::validation::tensor_elem_at()</a>, <a class="el" href="reference_2_threshold_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::threshold()</a>, <a class="el" href="validation_2reference_2_transpose_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::transpose()</a>, <a class="el" href="tests_2validation_2reference_2_utils_8cpp_source.xhtml#l00069">arm_compute::test::validation::transpose()</a>, <a class="el" href="_validation_8h_source.xhtml#l00334">arm_compute::test::validation::validate()</a>, <a class="el" href="_validation_8h_source.xhtml#l00398">arm_compute::test::validation::validate_wrap()</a>, <a class="el" href="reference_2_warp_affine_8cpp_source.xhtml#l00050">arm_compute::test::validation::reference::warp_affine()</a>, and <a class="el" href="reference_2_warp_perspective_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::warp_perspective()</a>.</p>
1000 <div class="fragment"><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> {</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordflow">return</span> _shape;</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span> }</div></div><!-- fragment -->
1003 <a class="anchor" id="ad7701a09a964eab360a8e51fa7ad2c16"></a>
1004 <div class="memitem">
1005 <div class="memproto">
1006 <table class="mlabels">
1008 <td class="mlabels-left">
1009 <table class="memname">
1011 <td class="memname">size_t size </td>
1013 <td class="paramname"></td><td>)</td>
1018 <td class="mlabels-right">
1019 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
1022 </div><div class="memdoc">
1024 <p>Total size of the tensor in bytes. </p>
1026 <p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml#aa983ddaeded5756189f46428be79c631">IAccessor</a>.</p>
1028 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00269">269</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
1030 <p>References <a class="el" href="accumulate_8cl_source.xhtml#l00041">accumulate()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00180">Dimensions< T >::cbegin()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00195">Dimensions< T >::cend()</a>, and <a class="el" href="_simple_tensor_8h_source.xhtml#l00251">SimpleTensor< T >::element_size()</a>.</p>
1032 <p>Referenced by <a class="el" href="_assets_library_8cpp_source.xhtml#l00225">AssetsLibrary::fill()</a>.</p>
1033 <div class="fragment"><div class="line"><a name="l00270"></a><span class="lineno"> 270</span> {</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ad7701a09a964eab360a8e51fa7ad2c16">size</a> = <a class="code" href="accumulate_8cl.xhtml#a00e540076dd545ad59ac7482f8cdf514">std::accumulate</a>(_shape.<a class="code" href="classarm__compute_1_1_dimensions.xhtml#a4498730adaf901d945c12841df994bba">cbegin</a>(), _shape.<a class="code" href="classarm__compute_1_1_dimensions.xhtml#adf9b6d55d708c285d58511a780e937fc">cend</a>(), 1, std::multiplies<size_t>());</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keywordflow">return</span> size * <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a62b67b578f684c4d516843c9dea86a23">element_size</a>();</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> }</div><div class="ttc" id="classarm__compute_1_1_dimensions_xhtml_a4498730adaf901d945c12841df994bba"><div class="ttname"><a href="classarm__compute_1_1_dimensions.xhtml#a4498730adaf901d945c12841df994bba">arm_compute::Dimensions::cbegin</a></div><div class="ttdeci">std::array< T, num_max_dimensions >::const_iterator cbegin() const </div><div class="ttdoc">Returns a read-only (constant) iterator that points to the first element in the dimension array...</div><div class="ttdef"><b>Definition:</b> <a href="_dimensions_8h_source.xhtml#l00180">Dimensions.h:180</a></div></div>
1034 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_a62b67b578f684c4d516843c9dea86a23"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a62b67b578f684c4d516843c9dea86a23">arm_compute::test::SimpleTensor::element_size</a></div><div class="ttdeci">size_t element_size() const override</div><div class="ttdoc">Size of each element in the tensor in bytes. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00251">SimpleTensor.h:251</a></div></div>
1035 <div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_ad7701a09a964eab360a8e51fa7ad2c16"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#ad7701a09a964eab360a8e51fa7ad2c16">arm_compute::test::SimpleTensor::size</a></div><div class="ttdeci">size_t size() const override</div><div class="ttdoc">Total size of the tensor in bytes. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00269">SimpleTensor.h:269</a></div></div>
1036 <div class="ttc" id="classarm__compute_1_1_dimensions_xhtml_adf9b6d55d708c285d58511a780e937fc"><div class="ttname"><a href="classarm__compute_1_1_dimensions.xhtml#adf9b6d55d708c285d58511a780e937fc">arm_compute::Dimensions::cend</a></div><div class="ttdeci">std::array< T, num_max_dimensions >::const_iterator cend() const </div><div class="ttdoc">Returns a read-only (constant) iterator that points one past the last element in the dimension array...</div><div class="ttdef"><b>Definition:</b> <a href="_dimensions_8h_source.xhtml#l00195">Dimensions.h:195</a></div></div>
1037 <div class="ttc" id="accumulate_8cl_xhtml_a00e540076dd545ad59ac7482f8cdf514"><div class="ttname"><a href="accumulate_8cl.xhtml#a00e540076dd545ad59ac7482f8cdf514">accumulate</a></div><div class="ttdeci">__kernel void accumulate(__global uchar *input_ptr, uint input_stride_x, uint input_step_x, uint input_stride_y, uint input_step_y, uint input_offset_first_element_in_bytes, __global uchar *accu_ptr, uint accu_stride_x, uint accu_step_x, uint accu_stride_y, uint accu_step_y, uint accu_offset_first_element_in_bytes)</div><div class="ttdoc">This function accumulates an input image into output image. </div><div class="ttdef"><b>Definition:</b> <a href="accumulate_8cl_source.xhtml#l00041">accumulate.cl:41</a></div></div>
1038 </div><!-- fragment -->
1041 <h2 class="groupheader">Friends And Related Function Documentation</h2>
1042 <a class="anchor" id="a467ad6d14558452f498777a7823fa252"></a>
1043 <div class="memitem">
1044 <div class="memproto">
1045 <table class="mlabels">
1047 <td class="mlabels-left">
1048 <table class="memname">
1050 <td class="memname">friend class <a class="el" href="classarm__compute_1_1test_1_1_raw_tensor.xhtml">RawTensor</a></td>
1054 <td class="mlabels-right">
1055 <span class="mlabels"><span class="mlabel">friend</span></span> </td>
1058 </div><div class="memdoc">
1060 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00102">102</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
1064 <a class="anchor" id="a51920d34b0fa5415e84891ad8e755224"></a>
1065 <div class="memitem">
1066 <div class="memproto">
1067 <table class="mlabels">
1069 <td class="mlabels-left">
1070 <table class="memname">
1072 <td class="memname">void swap </td>
1074 <td class="paramtype"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a>< U > & </td>
1075 <td class="paramname"><em>tensor1</em>, </td>
1078 <td class="paramkey"></td>
1080 <td class="paramtype"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a>< U > & </td>
1081 <td class="paramname"><em>tensor2</em> </td>
1090 <td class="mlabels-right">
1091 <span class="mlabels"><span class="mlabel">friend</span></span> </td>
1094 </div><div class="memdoc">
1096 <p>Swaps the content of the provided tensors. </p>
1097 <dl class="params"><dt>Parameters</dt><dd>
1098 <table class="params">
1099 <tr><td class="paramdir">[in,out]</td><td class="paramname">tensor1</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to be swapped. </td></tr>
1100 <tr><td class="paramdir">[in,out]</td><td class="paramname">tensor2</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to be swapped. </td></tr>
1105 <p>Definition at line <a class="el" href="_simple_tensor_8h_source.xhtml#l00367">367</a> of file <a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a>.</p>
1107 <p>Referenced by <a class="el" href="_simple_tensor_8h_source.xhtml#l00225">SimpleTensor< T >::operator=()</a>, and <a class="el" href="_simple_tensor_8h_source.xhtml#l00367">arm_compute::test::swap()</a>.</p>
1108 <div class="fragment"><div class="line"><a name="l00368"></a><span class="lineno"> 368</span> {</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="comment">// Use unqualified call to swap to enable ADL. But make std::swap available</span></div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="comment">// as backup.</span></div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keyword">using</span> <a class="code" href="namespacearm__compute_1_1test.xhtml#a28edc8880596d14c099f3c2509efc8b3">std::swap</a>;</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a51920d34b0fa5415e84891ad8e755224">swap</a>(tensor1._shape, tensor2._shape);</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a51920d34b0fa5415e84891ad8e755224">swap</a>(tensor1._format, tensor2._format);</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a51920d34b0fa5415e84891ad8e755224">swap</a>(tensor1._data_type, tensor2._data_type);</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a51920d34b0fa5415e84891ad8e755224">swap</a>(tensor1._num_channels, tensor2._num_channels);</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <a class="code" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a51920d34b0fa5415e84891ad8e755224">swap</a>(tensor1._buffer, tensor2._buffer);</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span> }</div><div class="ttc" id="classarm__compute_1_1test_1_1_simple_tensor_xhtml_a51920d34b0fa5415e84891ad8e755224"><div class="ttname"><a href="classarm__compute_1_1test_1_1_simple_tensor.xhtml#a51920d34b0fa5415e84891ad8e755224">arm_compute::test::SimpleTensor::swap</a></div><div class="ttdeci">friend void swap(SimpleTensor< U > &tensor1, SimpleTensor< U > &tensor2)</div><div class="ttdoc">Swaps the content of the provided tensors. </div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00367">SimpleTensor.h:367</a></div></div>
1109 <div class="ttc" id="namespacearm__compute_1_1test_xhtml_a28edc8880596d14c099f3c2509efc8b3"><div class="ttname"><a href="namespacearm__compute_1_1test.xhtml#a28edc8880596d14c099f3c2509efc8b3">arm_compute::test::swap</a></div><div class="ttdeci">void swap(SimpleTensor< U > &tensor1, SimpleTensor< U > &tensor2)</div><div class="ttdef"><b>Definition:</b> <a href="_simple_tensor_8h_source.xhtml#l00367">SimpleTensor.h:367</a></div></div>
1110 </div><!-- fragment -->
1113 <hr/>The documentation for this class was generated from the following file:<ul>
1114 <li>tests/<a class="el" href="_simple_tensor_8h_source.xhtml">SimpleTensor.h</a></li>
1116 </div><!-- contents -->
1117 </div><!-- doc-content -->
1118 <!-- start footer part -->
1119 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
1121 <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test.xhtml">test</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1test_1_1_simple_tensor.xhtml">SimpleTensor</a></li>
1122 <li class="footer">Generated on Thu Feb 22 2018 15:45:26 for Compute Library by
1123 <a href="http://www.doxygen.org/index.html">
1124 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>