aboutsummaryrefslogtreecommitdiff
path: root/23.02/classarmnn_1_1_const_tensor.xhtml
diff options
context:
space:
mode:
authorDavid Monahan <david.monahan@arm.com>2023-03-22 16:48:58 +0000
committerDavid Monahan <david.monahan@arm.com>2023-03-22 16:48:58 +0000
commitae050524109f1ce827962665436ef7430f2ac479 (patch)
treea087fe0c77570971dd7979f2757426c24e91afc7 /23.02/classarmnn_1_1_const_tensor.xhtml
parent8d2ca734165a068478df7cffa46185680b05cd20 (diff)
downloadarmnn-ae050524109f1ce827962665436ef7430f2ac479.tar.gz
IVGCVSW-7255 Update Doxygen Documentation and publish on GitHub.
* Updating Doxygen documentation for 23.02 release. Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I545574ff7664b4595d2fe6a91a3c35d2ad55df82
Diffstat (limited to '23.02/classarmnn_1_1_const_tensor.xhtml')
-rw-r--r--23.02/classarmnn_1_1_const_tensor.xhtml113
1 files changed, 73 insertions, 40 deletions
diff --git a/23.02/classarmnn_1_1_const_tensor.xhtml b/23.02/classarmnn_1_1_const_tensor.xhtml
index a40e2ee4de..f60c9371a7 100644
--- a/23.02/classarmnn_1_1_const_tensor.xhtml
+++ b/23.02/classarmnn_1_1_const_tensor.xhtml
@@ -8,7 +8,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
-<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArmNN: ConstTensor Class Reference</title>
@@ -19,9 +19,6 @@
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
-<script type="text/javascript">
- $(document).ready(initResizable);
-</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
@@ -30,7 +27,8 @@
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
-</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
+</script>
+<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
@@ -51,18 +49,21 @@
</table>
</div>
<!-- end header part -->
-<!-- Generated by Doxygen 1.8.13 -->
+<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
+/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
-</script>
+/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
@@ -76,7 +77,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
-$(document).ready(function(){initNavTree('classarmnn_1_1_const_tensor.xhtml','');});
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+$(document).ready(function(){initNavTree('classarmnn_1_1_const_tensor.xhtml',''); initResizable(); });
+/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
@@ -112,26 +115,26 @@ Inheritance diagram for ConstTensor:</div>
<div class="center">
<img src="classarmnn_1_1_const_tensor.png" usemap="#ConstTensor_map" alt=""/>
<map id="ConstTensor_map" name="ConstTensor_map">
-<area href="classarmnn_1_1_base_tensor.xhtml" alt="BaseTensor&lt; const void *&gt;" shape="rect" coords="0,0,169,24"/>
-</map>
- </div></div>
+<area href="classarmnn_1_1_base_tensor.xhtml" alt="BaseTensor&lt; const void * &gt;" shape="rect" coords="0,0,174,24"/>
+ </map>
+</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6b6561873c02b1bd9b7a7ae8dd4a339c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor.xhtml#a6b6561873c02b1bd9b7a7ae8dd4a339c">ConstTensor</a> ()</td></tr>
<tr class="separator:a6b6561873c02b1bd9b7a7ae8dd4a339c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42aec46c635aa2e38932ca103d2064ed"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor.xhtml#a42aec46c635aa2e38932ca103d2064ed">ConstTensor</a> (const <a class="el" href="classarmnn_1_1_tensor.xhtml">Tensor</a> &amp;other)</td></tr>
-<tr class="memdesc:a42aec46c635aa2e38932ca103d2064ed"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classarmnn_1_1_const_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and an immutable backing store. ">ConstTensor</a> implicitly constructed from non-const <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a>. <a href="#a42aec46c635aa2e38932ca103d2064ed">More...</a><br /></td></tr>
+<tr class="memdesc:a42aec46c635aa2e38932ca103d2064ed"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classarmnn_1_1_const_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and an immutable backing store.">ConstTensor</a> implicitly constructed from non-const <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store.">Tensor</a>. <a href="classarmnn_1_1_const_tensor.xhtml#a42aec46c635aa2e38932ca103d2064ed">More...</a><br /></td></tr>
<tr class="separator:a42aec46c635aa2e38932ca103d2064ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa04de06d072895b6df9125338d55c205"><td class="memTemplParams" colspan="2">template&lt;template&lt; typename, typename... &gt; class ContainerType, typename T , typename... ContainerArgs&gt; </td></tr>
-<tr class="memitem:aa04de06d072895b6df9125338d55c205"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor.xhtml#aa04de06d072895b6df9125338d55c205">ConstTensor</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &amp;<a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>, const ContainerType&lt; T, ContainerArgs... &gt; &amp;container)</td></tr>
-<tr class="memdesc:aa04de06d072895b6df9125338d55c205"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from a backing container. <a href="#aa04de06d072895b6df9125338d55c205">More...</a><br /></td></tr>
+<tr class="memitem:aa04de06d072895b6df9125338d55c205"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor.xhtml#aa04de06d072895b6df9125338d55c205">ConstTensor</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &amp;info, const ContainerType&lt; T, ContainerArgs... &gt; &amp;container)</td></tr>
+<tr class="memdesc:aa04de06d072895b6df9125338d55c205"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from a backing container. <a href="classarmnn_1_1_const_tensor.xhtml#aa04de06d072895b6df9125338d55c205">More...</a><br /></td></tr>
<tr class="separator:aa04de06d072895b6df9125338d55c205"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f83b6c57329068aa1ecdbc1e02f556f"><td class="memTemplParams" colspan="2">template&lt;typename MemoryType &gt; </td></tr>
-<tr class="memitem:a2f83b6c57329068aa1ecdbc1e02f556f"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor.xhtml#a2f83b6c57329068aa1ecdbc1e02f556f">ConstTensor</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &amp;<a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>, MemoryType memoryArea)</td></tr>
-<tr class="memdesc:a2f83b6c57329068aa1ecdbc1e02f556f"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classarmnn_1_1_const_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and an immutable backing store. ">ConstTensor</a> constructed from <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> and MemoryType template (a raw memory pointer). <a href="#a2f83b6c57329068aa1ecdbc1e02f556f">More...</a><br /></td></tr>
+<tr class="memitem:a2f83b6c57329068aa1ecdbc1e02f556f"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_tensor.xhtml#a2f83b6c57329068aa1ecdbc1e02f556f">ConstTensor</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &amp;info, MemoryType memoryArea)</td></tr>
+<tr class="memdesc:a2f83b6c57329068aa1ecdbc1e02f556f"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classarmnn_1_1_const_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and an immutable backing store.">ConstTensor</a> constructed from <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> and MemoryType template (a raw memory pointer). <a href="classarmnn_1_1_const_tensor.xhtml#a2f83b6c57329068aa1ecdbc1e02f556f">More...</a><br /></td></tr>
<tr class="separator:a2f83b6c57329068aa1ecdbc1e02f556f"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="inherit_header pub_methods_classarmnn_1_1_base_tensor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_base_tensor')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1_base_tensor.xhtml">BaseTensor&lt; const void *&gt;</a></td></tr>
+<tr class="inherit_header pub_methods_classarmnn_1_1_base_tensor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_base_tensor')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1_base_tensor.xhtml">BaseTensor&lt; const void * &gt;</a></td></tr>
<tr class="memitem:aca0044508ebeb3b236a777db828910ed inherit pub_methods_classarmnn_1_1_base_tensor"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_tensor.xhtml#aca0044508ebeb3b236a777db828910ed">BaseTensor</a> ()</td></tr>
<tr class="memdesc:aca0044508ebeb3b236a777db828910ed inherit pub_methods_classarmnn_1_1_base_tensor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty (invalid) constructor. <a href="classarmnn_1_1_base_tensor.xhtml#aca0044508ebeb3b236a777db828910ed">More...</a><br /></td></tr>
<tr class="separator:aca0044508ebeb3b236a777db828910ed inherit pub_methods_classarmnn_1_1_base_tensor"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -165,18 +168,19 @@ Public Member Functions</h2></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
-<tr class="inherit_header pro_methods_classarmnn_1_1_base_tensor"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_base_tensor')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_base_tensor.xhtml">BaseTensor&lt; const void *&gt;</a></td></tr>
+<tr class="inherit_header pro_methods_classarmnn_1_1_base_tensor"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_base_tensor')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_base_tensor.xhtml">BaseTensor&lt; const void * &gt;</a></td></tr>
<tr class="memitem:abac025efeffc6e099a365bdb17b5ca3e inherit pro_methods_classarmnn_1_1_base_tensor"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_tensor.xhtml#abac025efeffc6e099a365bdb17b5ca3e">~BaseTensor</a> ()</td></tr>
<tr class="memdesc:abac025efeffc6e099a365bdb17b5ca3e inherit pro_methods_classarmnn_1_1_base_tensor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Protected destructor to stop users from making these (could still new one on the heap and then leak it...) <a href="classarmnn_1_1_base_tensor.xhtml#abac025efeffc6e099a365bdb17b5ca3e">More...</a><br /></td></tr>
<tr class="separator:abac025efeffc6e099a365bdb17b5ca3e inherit pro_methods_classarmnn_1_1_base_tensor"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="inherit_header pro_attribs_classarmnn_1_1_base_tensor"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classarmnn_1_1_base_tensor')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classarmnn_1_1_base_tensor.xhtml">BaseTensor&lt; const void *&gt;</a></td></tr>
+<tr class="inherit_header pro_attribs_classarmnn_1_1_base_tensor"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classarmnn_1_1_base_tensor')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classarmnn_1_1_base_tensor.xhtml">BaseTensor&lt; const void * &gt;</a></td></tr>
<tr class="memitem:aba26e5decca8be8786d8a5faf2e06a49 inherit pro_attribs_classarmnn_1_1_base_tensor"><td class="memItemLeft" align="right" valign="top">const void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_tensor.xhtml#aba26e5decca8be8786d8a5faf2e06a49">m_MemoryArea</a></td></tr>
<tr class="separator:aba26e5decca8be8786d8a5faf2e06a49 inherit pro_attribs_classarmnn_1_1_base_tensor"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A tensor defined by a <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> (shape and data type) and an immutable backing store. </p>
-<dl><dt><b>Examples: </b></dt><dd><a class="el" href="_async_execution_sample_8cpp-example.xhtml#_a8">AsyncExecutionSample.cpp</a>, <a class="el" href="_custom_memory_allocator_sample_8cpp-example.xhtml#_a12">CustomMemoryAllocatorSample.cpp</a>, <a class="el" href="_dynamic_sample_8cpp-example.xhtml#_a14">DynamicSample.cpp</a>, and <a class="el" href="_simple_sample_8cpp-example.xhtml#_a8">SimpleSample.cpp</a>.</dd>
+<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="_async_execution_sample_8cpp-example.xhtml#_a8">AsyncExecutionSample.cpp</a>, <a class="el" href="_custom_memory_allocator_sample_8cpp-example.xhtml#_a14">CustomMemoryAllocatorSample.cpp</a>, <a class="el" href="_dynamic_sample_8cpp-example.xhtml#_a14">DynamicSample.cpp</a>, and <a class="el" href="_simple_sample_8cpp-example.xhtml#_a8">SimpleSample.cpp</a>.</dd>
</dl>
+
<p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00327">327</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a6b6561873c02b1bd9b7a7ae8dd4a339c"></a>
@@ -203,9 +207,13 @@ Additional Inherited Members</h2></td></tr>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00332">332</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p>
-<div class="fragment"><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; : BaseTensor&lt;const void*&gt;()</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; {</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; this-&gt;<a class="code" href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">GetInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8ffca1e21bdfa7f945617acd606aac91">SetConstant</a>();</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; }</div><div class="ttc" id="classarmnn_1_1_base_tensor_xhtml_a8aeddebdcf02e1832b22203c08a6b678"><div class="ttname"><a href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">armnn::BaseTensor&lt; const void *&gt;::GetInfo</a></div><div class="ttdeci">const TensorInfo &amp; GetInfo() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00295">Tensor.hpp:295</a></div></div>
-<div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a8ffca1e21bdfa7f945617acd606aac91"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a8ffca1e21bdfa7f945617acd606aac91">armnn::TensorInfo::SetConstant</a></div><div class="ttdeci">void SetConstant(const bool IsConstant=true)</div><div class="ttdoc">Marks the data corresponding to this tensor info as constant. </div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00514">Tensor.cpp:514</a></div></div>
+<div class="fragment"><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; : BaseTensor&lt;const void*&gt;()</div>
+<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; {</div>
+<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; this-&gt;<a class="code" href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">GetInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8ffca1e21bdfa7f945617acd606aac91">SetConstant</a>();</div>
+<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; }</div>
</div><!-- fragment -->
+<p class="reference">References <a class="el" href="_tensor_8hpp_source.xhtml#l00295">BaseTensor&lt; const void * &gt;::GetInfo()</a>, and <a class="el" href="_tensor_8cpp_source.xhtml#l00514">TensorInfo::SetConstant()</a>.</p>
+
</div>
</div>
<a id="a42aec46c635aa2e38932ca103d2064ed"></a>
@@ -232,24 +240,32 @@ Additional Inherited Members</h2></td></tr>
</table>
</div><div class="memdoc">
-<p><a class="el" href="classarmnn_1_1_const_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and an immutable backing store. ">ConstTensor</a> implicitly constructed from non-const <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a>. </p>
+<p><a class="el" href="classarmnn_1_1_const_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and an immutable backing store.">ConstTensor</a> implicitly constructed from non-const <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store.">Tensor</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
- <tr><td class="paramname">other</td><td>- reference to a constant <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a>.</td></tr>
+ <tr><td class="paramname">other</td><td>- reference to a constant <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store.">Tensor</a>.</td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
- <tr><td class="paramname"><a class="el" href="classarmnn_1_1_invalid_argument_exception.xhtml">InvalidArgumentException</a></td><td>when <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a> parameter <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> is non-constant. </td></tr>
+ <tr><td class="paramname"><a class="el" href="classarmnn_1_1_invalid_argument_exception.xhtml">InvalidArgumentException</a></td><td>when <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store.">Tensor</a> parameter <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> is non-constant. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00342">342</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p>
-<div class="fragment"><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; : BaseTensor&lt;const void*&gt;(other.GetInfo(), other.GetMemoryArea())</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; {</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">GetInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a945263e85c27f3216a8323cfc16d8919">IsConstant</a>())</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; {</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">&quot;Invalid attempt to construct ConstTensor &quot;</span></div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <span class="stringliteral">&quot;from Tensor due to non-constant TensorInfo&quot;</span>);</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; }</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a945263e85c27f3216a8323cfc16d8919"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a945263e85c27f3216a8323cfc16d8919">armnn::TensorInfo::IsConstant</a></div><div class="ttdeci">bool IsConstant() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00509">Tensor.cpp:509</a></div></div>
-<div class="ttc" id="classarmnn_1_1_base_tensor_xhtml_a8aeddebdcf02e1832b22203c08a6b678"><div class="ttname"><a href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">armnn::BaseTensor&lt; const void *&gt;::GetInfo</a></div><div class="ttdeci">const TensorInfo &amp; GetInfo() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00295">Tensor.hpp:295</a></div></div>
+<div class="fragment"><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; : BaseTensor&lt;const void*&gt;(other.GetInfo(), other.GetMemoryArea())</div>
+<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; {</div>
+<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">GetInfo</a>().IsConstant())</div>
+<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; {</div>
+<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">&quot;Invalid attempt to construct ConstTensor &quot;</span></div>
+<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <span class="stringliteral">&quot;from Tensor due to non-constant TensorInfo&quot;</span>);</div>
+<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; }</div>
+<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; }</div>
</div><!-- fragment -->
+<p class="reference">References <a class="el" href="_tensor_8hpp_source.xhtml#l00295">BaseTensor&lt; const void * &gt;::GetInfo()</a>.</p>
+
</div>
</div>
<a id="aa04de06d072895b6df9125338d55c205"></a>
@@ -289,7 +305,7 @@ Additional Inherited Members</h2></td></tr>
<p>Constructor from a backing container. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
- <tr><td class="paramname">container</td><td>- An stl-like container type which implements data() and size() methods. Presence of data() and size() is a strong indicator of the continuous memory layout of the container, which is a requirement for <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a> data. <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a> instances do not claim ownership of referenced memory regions, that is, no attempt will be made by ArmNN to free these memory regions automatically.</td></tr>
+ <tr><td class="paramname">container</td><td>- An stl-like container type which implements data() and size() methods. Presence of data() and size() is a strong indicator of the continuous memory layout of the container, which is a requirement for <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store.">Tensor</a> data. <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store.">Tensor</a> instances do not claim ownership of referenced memory regions, that is, no attempt will be made by ArmNN to free these memory regions automatically.</td></tr>
</table>
</dd>
</dl>
@@ -301,12 +317,20 @@ Additional Inherited Members</h2></td></tr>
</dl>
<p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00360">360</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p>
-
-<p class="reference">References <a class="el" href="_tensor_8cpp_source.xhtml#l00427">TensorInfo::GetNumBytes()</a>.</p>
-<div class="fragment"><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; : BaseTensor&lt;const void*&gt;(<a class="code" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>, container.data())</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; {</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">GetInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a945263e85c27f3216a8323cfc16d8919">IsConstant</a>())</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; {</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">&quot;Invalid attempt to construct ConstTensor from non-constant TensorInfo.&quot;</span>);</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; }</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; <span class="keywordflow">if</span> (container.size() * <span class="keyword">sizeof</span>(T) != <a class="code" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>.GetNumBytes())</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; {</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">&quot;Container size is not correct&quot;</span>);</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; }</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a945263e85c27f3216a8323cfc16d8919"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a945263e85c27f3216a8323cfc16d8919">armnn::TensorInfo::IsConstant</a></div><div class="ttdeci">bool IsConstant() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00509">Tensor.cpp:509</a></div></div>
-<div class="ttc" id="classarmnn_1_1_base_tensor_xhtml_a8aeddebdcf02e1832b22203c08a6b678"><div class="ttname"><a href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">armnn::BaseTensor&lt; const void *&gt;::GetInfo</a></div><div class="ttdeci">const TensorInfo &amp; GetInfo() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00295">Tensor.hpp:295</a></div></div>
-<div class="ttc" id="namespacearmnn_xhtml_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div>
+<div class="fragment"><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; : BaseTensor&lt;const void*&gt;(info, container.data())</div>
+<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; {</div>
+<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">GetInfo</a>().IsConstant())</div>
+<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; {</div>
+<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">&quot;Invalid attempt to construct ConstTensor from non-constant TensorInfo.&quot;</span>);</div>
+<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; }</div>
+<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; <span class="keywordflow">if</span> (container.size() * <span class="keyword">sizeof</span>(T) != <a class="code" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>.GetNumBytes())</div>
+<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; {</div>
+<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">&quot;Container size is not correct&quot;</span>);</div>
+<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; }</div>
+<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; }</div>
</div><!-- fragment -->
+<p class="reference">References <a class="el" href="_tensor_8hpp_source.xhtml#l00295">BaseTensor&lt; const void * &gt;::GetInfo()</a>, and <a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::info</a>.</p>
+
</div>
</div>
<a id="a2f83b6c57329068aa1ecdbc1e02f556f"></a>
@@ -343,11 +367,11 @@ Additional Inherited Members</h2></td></tr>
</table>
</div><div class="memdoc">
-<p><a class="el" href="classarmnn_1_1_const_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and an immutable backing store. ">ConstTensor</a> constructed from <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> and MemoryType template (a raw memory pointer). </p>
+<p><a class="el" href="classarmnn_1_1_const_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and an immutable backing store.">ConstTensor</a> constructed from <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> and MemoryType template (a raw memory pointer). </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">info</td><td>- reference to a constant <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a>. </td></tr>
- <tr><td class="paramname">memoryArea</td><td>- Region of CPU-addressable memory where tensor data will be stored. Must be valid while workloads are on the fly. <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store. ">Tensor</a> instances do not claim ownership of referenced memory regions, that is, no attempt will be made by ArmNN to free these memory regions automatically.</td></tr>
+ <tr><td class="paramname">memoryArea</td><td>- Region of CPU-addressable memory where tensor data will be stored. Must be valid while workloads are on the fly. <a class="el" href="classarmnn_1_1_tensor.xhtml" title="A tensor defined by a TensorInfo (shape and data type) and a mutable backing store.">Tensor</a> instances do not claim ownership of referenced memory regions, that is, no attempt will be made by ArmNN to free these memory regions automatically.</td></tr>
</table>
</dd>
</dl>
@@ -359,10 +383,16 @@ Additional Inherited Members</h2></td></tr>
</dl>
<p class="definition">Definition at line <a class="el" href="_tensor_8hpp_source.xhtml#l00382">382</a> of file <a class="el" href="_tensor_8hpp_source.xhtml">Tensor.hpp</a>.</p>
-<div class="fragment"><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; : BaseTensor&lt;const void*&gt;(<a class="code" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>, memoryArea)</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; {</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">GetInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a945263e85c27f3216a8323cfc16d8919">IsConstant</a>())</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; {</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">&quot;Invalid attempt to construct ConstTensor from non-constant TensorInfo.&quot;</span>);</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; }</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a945263e85c27f3216a8323cfc16d8919"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a945263e85c27f3216a8323cfc16d8919">armnn::TensorInfo::IsConstant</a></div><div class="ttdeci">bool IsConstant() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00509">Tensor.cpp:509</a></div></div>
-<div class="ttc" id="classarmnn_1_1_base_tensor_xhtml_a8aeddebdcf02e1832b22203c08a6b678"><div class="ttname"><a href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">armnn::BaseTensor&lt; const void *&gt;::GetInfo</a></div><div class="ttdeci">const TensorInfo &amp; GetInfo() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00295">Tensor.hpp:295</a></div></div>
-<div class="ttc" id="namespacearmnn_xhtml_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div>
+<div class="fragment"><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; : BaseTensor&lt;const void*&gt;(info, memoryArea)</div>
+<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; {</div>
+<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160; <span class="keywordflow">if</span> (!this-&gt;<a class="code" href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">GetInfo</a>().IsConstant())</div>
+<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; {</div>
+<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">&quot;Invalid attempt to construct ConstTensor from non-constant TensorInfo.&quot;</span>);</div>
+<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; }</div>
+<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; }</div>
</div><!-- fragment -->
+<p class="reference">References <a class="el" href="_tensor_8hpp_source.xhtml#l00295">BaseTensor&lt; const void * &gt;::GetInfo()</a>, and <a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::info</a>.</p>
+
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
@@ -370,13 +400,16 @@ Additional Inherited Members</h2></td></tr>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
+<div class="ttc" id="aclassarmnn_1_1_tensor_info_xhtml_a8ffca1e21bdfa7f945617acd606aac91"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a8ffca1e21bdfa7f945617acd606aac91">armnn::TensorInfo::SetConstant</a></div><div class="ttdeci">void SetConstant(const bool IsConstant=true)</div><div class="ttdoc">Marks the data corresponding to this tensor info as constant.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00514">Tensor.cpp:514</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1_base_tensor_xhtml_a8aeddebdcf02e1832b22203c08a6b678"><div class="ttname"><a href="classarmnn_1_1_base_tensor.xhtml#a8aeddebdcf02e1832b22203c08a6b678">armnn::BaseTensor&lt; const void * &gt;::GetInfo</a></div><div class="ttdeci">const TensorInfo &amp; GetInfo() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00295">Tensor.hpp:295</a></div></div>
+<div class="ttc" id="anamespacearmnn_xhtml_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div><div class="ttdeci">@ info</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a></li>
- <li class="footer">Generated on Fri Feb 24 2023 10:24:30 for ArmNN by
+ <li class="footer">Generated on Wed Mar 22 2023 15:53:05 for ArmNN by
<a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>