diff options
author | Jan Eilers <jan.eilers@arm.com> | 2021-02-25 17:44:00 +0000 |
---|---|---|
committer | Jan Eilers <jan.eilers@arm.com> | 2021-02-25 18:27:49 +0000 |
commit | fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf (patch) | |
tree | eb4bc8f9b411f30c7655616142b5a4bdd3a1acd0 /21.02/structarmnn_1_1_origins_descriptor.xhtml | |
parent | fb14ebbd68e04876809145296af96f6f41857418 (diff) | |
download | armnn-fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf.tar.gz |
IVGCVSW-5687 Update Doxygen Docu
* Update Doxygen Documentation for 21.02 release
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5
Diffstat (limited to '21.02/structarmnn_1_1_origins_descriptor.xhtml')
-rw-r--r-- | 21.02/structarmnn_1_1_origins_descriptor.xhtml | 593 |
1 files changed, 593 insertions, 0 deletions
diff --git a/21.02/structarmnn_1_1_origins_descriptor.xhtml b/21.02/structarmnn_1_1_origins_descriptor.xhtml new file mode 100644 index 0000000000..68089a77c7 --- /dev/null +++ b/21.02/structarmnn_1_1_origins_descriptor.xhtml @@ -0,0 +1,593 @@ +<!-- Copyright (c) 2020 ARM Limited. --> +<!-- --> +<!-- SPDX-License-Identifier: MIT --> +<!-- --> +<!-- HTML header for doxygen 1.8.13--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.13"/> +<meta name="robots" content="NOINDEX, NOFOLLOW" /> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>ArmNN: OriginsDescriptor Struct Reference</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtreedata.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> + $(document).ready(initResizable); +</script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/searchdata.js"></script> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/x-mathjax-config"> + MathJax.Hub.Config({ + extensions: ["tex2jax.js"], + jax: ["input/TeX","output/HTML-CSS"], +}); +</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +<link href="stylesheet.css" rel="stylesheet" type="text/css"/> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> + <td style="padding-left: 0.5em;"> + <div id="projectname"> +  <span id="projectnumber">21.02</span> + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.13 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +$(function() { + initMenu('',true,false,'search.php','Search'); + $(document).ready(function() { init_search(); }); +}); +</script> +<div id="main-nav"></div> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + <div id="nav-sync" class="sync"></div> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +$(document).ready(function(){initNavTree('structarmnn_1_1_origins_descriptor.xhtml','');}); +</script> +<div id="doc-content"> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div class="header"> + <div class="summary"> +<a href="#pub-methods">Public Member Functions</a> | +<a href="#friends">Friends</a> | +<a href="structarmnn_1_1_origins_descriptor-members.xhtml">List of all members</a> </div> + <div class="headertitle"> +<div class="title">OriginsDescriptor Struct Reference</div> </div> +</div><!--header--> +<div class="contents"> + +<p>An <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml" title="An OriginsDescriptor for the ConcatLayer. ">OriginsDescriptor</a> for the <a class="el" href="classarmnn_1_1_concat_layer.xhtml" title="This layer represents a merge operation. ">ConcatLayer</a>. + <a href="structarmnn_1_1_origins_descriptor.xhtml#details">More...</a></p> + +<p><code>#include <<a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>></code></p> +<div class="dynheader"> +Inheritance diagram for OriginsDescriptor:</div> +<div class="dyncontent"> + <div class="center"> + <img src="structarmnn_1_1_origins_descriptor.png" usemap="#OriginsDescriptor_map" alt=""/> + <map id="OriginsDescriptor_map" name="OriginsDescriptor_map"> +<area href="structarmnn_1_1_base_descriptor.xhtml" title="Base class for all descriptors. " alt="BaseDescriptor" shape="rect" coords="0,0,112,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:a5a41cf9db1648399ac8c226101daf066"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#a5a41cf9db1648399ac8c226101daf066">OriginsDescriptor</a> ()</td></tr> +<tr class="separator:a5a41cf9db1648399ac8c226101daf066"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa3451ee04c881166752622573dda6aab"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#aa3451ee04c881166752622573dda6aab">OriginsDescriptor</a> (uint32_t numViews, uint32_t numDimensions=4)</td></tr> +<tr class="separator:aa3451ee04c881166752622573dda6aab"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:af4ceae391b359730261d998d65875c3a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#af4ceae391b359730261d998d65875c3a">OriginsDescriptor</a> (const <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> &other)</td></tr> +<tr class="separator:af4ceae391b359730261d998d65875c3a"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:af6d6f705cb02ec84c47737aff3745d6e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#af6d6f705cb02ec84c47737aff3745d6e">OriginsDescriptor</a> (<a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> &&other)</td></tr> +<tr class="separator:af6d6f705cb02ec84c47737aff3745d6e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa507c5561373dbd58e149611a7f46470"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#aa507c5561373dbd58e149611a7f46470">~OriginsDescriptor</a> ()</td></tr> +<tr class="separator:aa507c5561373dbd58e149611a7f46470"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:af714290740c651092629e45cf692fc1a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#af714290740c651092629e45cf692fc1a">operator=</a> (<a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> rhs)</td></tr> +<tr class="separator:af714290740c651092629e45cf692fc1a"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1efc8be2c15fe67917c60041dc926701"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#a1efc8be2c15fe67917c60041dc926701">operator==</a> (const <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> &rhs) const</td></tr> +<tr class="separator:a1efc8be2c15fe67917c60041dc926701"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a2b125117aa61f9baf3a9cb8658aa61a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#a2b125117aa61f9baf3a9cb8658aa61a2">SetViewOriginCoord</a> (uint32_t view, uint32_t coord, uint32_t value)</td></tr> +<tr class="memdesc:a2b125117aa61f9baf3a9cb8658aa61a2"><td class="mdescLeft"> </td><td class="mdescRight">Set the view origin coordinates. <a href="#a2b125117aa61f9baf3a9cb8658aa61a2">More...</a><br /></td></tr> +<tr class="separator:a2b125117aa61f9baf3a9cb8658aa61a2"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a35546e7b56e6e972a495b48748478ede"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#a35546e7b56e6e972a495b48748478ede">GetNumViews</a> () const</td></tr> +<tr class="memdesc:a35546e7b56e6e972a495b48748478ede"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of views. <a href="#a35546e7b56e6e972a495b48748478ede">More...</a><br /></td></tr> +<tr class="separator:a35546e7b56e6e972a495b48748478ede"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a78e8266be865fdd92cadd04d6e25ae1f"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a> () const</td></tr> +<tr class="memdesc:a78e8266be865fdd92cadd04d6e25ae1f"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of dimensions. <a href="#a78e8266be865fdd92cadd04d6e25ae1f">More...</a><br /></td></tr> +<tr class="separator:a78e8266be865fdd92cadd04d6e25ae1f"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ab78e6fe963508c1ac5c00d04bb3361a3"><td class="memItemLeft" align="right" valign="top">const uint32_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#ab78e6fe963508c1ac5c00d04bb3361a3">GetViewOrigin</a> (uint32_t idx) const</td></tr> +<tr class="memdesc:ab78e6fe963508c1ac5c00d04bb3361a3"><td class="mdescLeft"> </td><td class="mdescRight">Return the view origin at the int value idx. <a href="#ab78e6fe963508c1ac5c00d04bb3361a3">More...</a><br /></td></tr> +<tr class="separator:ab78e6fe963508c1ac5c00d04bb3361a3"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aae1f4844cfb511b5b3a25c6761483624"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#aae1f4844cfb511b5b3a25c6761483624">ReorderOrigins</a> (unsigned int *newOrdering, unsigned int numNewOrdering)</td></tr> +<tr class="memdesc:aae1f4844cfb511b5b3a25c6761483624"><td class="mdescLeft"> </td><td class="mdescRight">Reorders the viewOrigins in accordance with the indices presented in newOrdering array. <a href="#aae1f4844cfb511b5b3a25c6761483624">More...</a><br /></td></tr> +<tr class="separator:aae1f4844cfb511b5b3a25c6761483624"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a5b192c5fcd96a0f75542524cf646b355"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#a5b192c5fcd96a0f75542524cf646b355">SetConcatAxis</a> (unsigned int concatAxis)</td></tr> +<tr class="memdesc:a5b192c5fcd96a0f75542524cf646b355"><td class="mdescLeft"> </td><td class="mdescRight">Set the concatenation axis value. <a href="#a5b192c5fcd96a0f75542524cf646b355">More...</a><br /></td></tr> +<tr class="separator:a5b192c5fcd96a0f75542524cf646b355"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a379929e3b277f1ef94f3ce645870589d"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#a379929e3b277f1ef94f3ce645870589d">GetConcatAxis</a> () const</td></tr> +<tr class="memdesc:a379929e3b277f1ef94f3ce645870589d"><td class="mdescLeft"> </td><td class="mdescRight">Get the concatenation axis value. <a href="#a379929e3b277f1ef94f3ce645870589d">More...</a><br /></td></tr> +<tr class="separator:a379929e3b277f1ef94f3ce645870589d"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> +Friends</h2></td></tr> +<tr class="memitem:a0c0e7d9253dee85be237536cf1d7b0ac"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a> (<a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> &first, <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> &second)</td></tr> +<tr class="memdesc:a0c0e7d9253dee85be237536cf1d7b0ac"><td class="mdescLeft"> </td><td class="mdescRight">Swap the <a class="el" href="structarmnn_1_1_views_descriptor.xhtml" title="A ViewsDescriptor for the SplitterLayer. ">ViewsDescriptor</a> values first and second. <a href="#a0c0e7d9253dee85be237536cf1d7b0ac">More...</a><br /></td></tr> +<tr class="separator:a0c0e7d9253dee85be237536cf1d7b0ac"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> +<div class="textblock"><p>An <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml" title="An OriginsDescriptor for the ConcatLayer. ">OriginsDescriptor</a> for the <a class="el" href="classarmnn_1_1_concat_layer.xhtml" title="This layer represents a merge operation. ">ConcatLayer</a>. </p> +<p>Descriptor to configure the concatenation process. Number of views must be equal to the number of inputs, and their order must match - e.g. first view corresponds to the first input, second view to the second input, etc. </p> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00163">163</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> +</div><h2 class="groupheader">Constructor & Destructor Documentation</h2> +<a id="a5a41cf9db1648399ac8c226101daf066"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a5a41cf9db1648399ac8c226101daf066">◆ </a></span>OriginsDescriptor() <span class="overload">[1/4]</span></h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00082">82</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> : m_ConcatAxis(1)</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> , m_NumViews(0)</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> , m_NumDimensions(0)</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> , m_ViewOrigins(<span class="keyword">nullptr</span>)</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> {}</div></div><!-- fragment --> +</div> +</div> +<a id="aa3451ee04c881166752622573dda6aab"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aa3451ee04c881166752622573dda6aab">◆ </a></span>OriginsDescriptor() <span class="overload">[2/4]</span></h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> + <td>(</td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>numViews</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>numDimensions</em> = <code>4</code> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00089">89</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> : m_ConcatAxis(1)</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> , m_NumViews(numViews)</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> , m_NumDimensions(numDimensions)</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> , m_ViewOrigins(numViews && numDimensions > 0 ? <span class="keyword">new</span> uint32_t *[numViews]() : <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> {</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">for</span> (uint32_t i = 0; m_NumDimensions > 0 && i < m_NumViews; ++i)</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  {</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  m_ViewOrigins[i] = <span class="keyword">new</span> uint32_t[m_NumDimensions]();</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  }</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> }</div></div><!-- fragment --> +</div> +</div> +<a id="af4ceae391b359730261d998d65875c3a"></a> +<h2 class="memtitle"><span class="permalink"><a href="#af4ceae391b359730261d998d65875c3a">◆ </a></span>OriginsDescriptor() <span class="overload">[3/4]</span></h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & </td> + <td class="paramname"><em>other</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00101">101</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> : m_ConcatAxis(other.m_ConcatAxis)</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> , m_NumViews(other.m_NumViews)</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> , m_NumDimensions(other.m_NumDimensions)</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> , m_ViewOrigins(other.m_NumViews && other.m_NumDimensions > 0 ? <span class="keyword">new</span> uint32_t *[other.m_NumViews]() : <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> {</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">for</span> (uint32_t i = 0; m_NumDimensions > 0 && i < m_NumViews; ++i)</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  {</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  m_ViewOrigins[i] = <span class="keyword">new</span> uint32_t[m_NumDimensions]();</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  memcpy(m_ViewOrigins[i], other.m_ViewOrigins[i], m_NumDimensions * <span class="keyword">sizeof</span>(uint32_t));</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  }</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> }</div></div><!-- fragment --> +</div> +</div> +<a id="af6d6f705cb02ec84c47737aff3745d6e"></a> +<h2 class="memtitle"><span class="permalink"><a href="#af6d6f705cb02ec84c47737aff3745d6e">◆ </a></span>OriginsDescriptor() <span class="overload">[4/4]</span></h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> && </td> + <td class="paramname"><em>other</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00114">114</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> + +<p class="reference">References <a class="el" href="_descriptors_8cpp_source.xhtml#l00350">OriginsDescriptor::swap</a>.</p> +<div class="fragment"><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> : <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a5a41cf9db1648399ac8c226101daf066">OriginsDescriptor</a>()</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(*<span class="keyword">this</span>, other);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> }</div><div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_a0c0e7d9253dee85be237536cf1d7b0ac"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#a0c0e7d9253dee85be237536cf1d7b0ac">armnn::OriginsDescriptor::swap</a></div><div class="ttdeci">friend void swap(OriginsDescriptor &first, OriginsDescriptor &second)</div><div class="ttdoc">Swap the ViewsDescriptor values first and second. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.xhtml#l00350">Descriptors.cpp:350</a></div></div> +<div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_a5a41cf9db1648399ac8c226101daf066"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#a5a41cf9db1648399ac8c226101daf066">armnn::OriginsDescriptor::OriginsDescriptor</a></div><div class="ttdeci">OriginsDescriptor()</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.xhtml#l00082">Descriptors.cpp:82</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="aa507c5561373dbd58e149611a7f46470"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aa507c5561373dbd58e149611a7f46470">◆ </a></span>~OriginsDescriptor()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">~<a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00120">120</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> +<div class="fragment"><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> {</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">for</span> (uint32_t i = 0; m_NumDimensions > 0 && i < m_NumViews; ++i)</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  {</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">delete</span>[] m_ViewOrigins[i];</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  }</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">delete</span>[] m_ViewOrigins;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> }</div></div><!-- fragment --> +</div> +</div> +<h2 class="groupheader">Member Function Documentation</h2> +<a id="a379929e3b277f1ef94f3ce645870589d"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a379929e3b277f1ef94f3ce645870589d">◆ </a></span>GetConcatAxis()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">unsigned int GetConcatAxis </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td> const</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the concatenation axis value. </p> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00162">162</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_concat_layer_8cpp_source.xhtml#l00023">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00087">armnnSerializer::GetFlatBufferArgMinMaxFunction()</a>, <a class="el" href="_cl_layer_support_8cpp_source.xhtml#l00268">ClLayerSupport::IsConcatSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00238">NeonLayerSupport::IsConcatSupported()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00135">OriginsDescriptor::operator==()</a>, and <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>.</p> +<div class="fragment"><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> {</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordflow">return</span> m_ConcatAxis;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> }</div></div><!-- fragment --> +</div> +</div> +<a id="a78e8266be865fdd92cadd04d6e25ae1f"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a78e8266be865fdd92cadd04d6e25ae1f">◆ </a></span>GetNumDimensions()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">uint32_t GetNumDimensions </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td> const</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the number of dimensions. </p> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00192">192</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00276">Concatenate()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00023">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00087">armnnSerializer::GetFlatBufferArgMinMaxFunction()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00300">ViewsDescriptor::GetNumDimensions()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00204">ConcatLayer::InferOutputShapes()</a>, <a class="el" href="_cl_layer_support_8cpp_source.xhtml#l00268">ClLayerSupport::IsConcatSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00238">NeonLayerSupport::IsConcatSupported()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00135">OriginsDescriptor::operator==()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00019">armnnUtils::ProcessConcatInputTensorInfo()</a>, and <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>.</p> +<div class="fragment"><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>  <span class="keywordflow">return</span> m_NumDimensions;</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> }</div></div><!-- fragment --> +</div> +</div> +<a id="a35546e7b56e6e972a495b48748478ede"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a35546e7b56e6e972a495b48748478ede">◆ </a></span>GetNumViews()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">uint32_t GetNumViews </td> + <td>(</td> + <td class="paramname"></td><td>)</td> + <td> const</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Get the number of views. </p> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00187">187</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00276">Concatenate()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00023">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00087">armnnSerializer::GetFlatBufferArgMinMaxFunction()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00295">ViewsDescriptor::GetNumViews()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00204">ConcatLayer::InferOutputShapes()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00135">OriginsDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>, and <a class="el" href="_concat_layer_8cpp_source.xhtml#l00294">ConcatLayer::ValidateTensorShapesFromInputs()</a>.</p> +<div class="fragment"><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> {</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordflow">return</span> m_NumViews;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> }</div></div><!-- fragment --> +</div> +</div> +<a id="ab78e6fe963508c1ac5c00d04bb3361a3"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ab78e6fe963508c1ac5c00d04bb3361a3">◆ </a></span>GetViewOrigin()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">const uint32_t * GetViewOrigin </td> + <td>(</td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>idx</em></td><td>)</td> + <td> const</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Return the view origin at the int value idx. </p> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00197">197</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00276">Concatenate()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00023">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00087">armnnSerializer::GetFlatBufferArgMinMaxFunction()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00305">ViewsDescriptor::GetViewOrigin()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00204">ConcatLayer::InferOutputShapes()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00135">OriginsDescriptor::operator==()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l02266">ITfParser::TfParserImpl::ParseConcat()</a>, and <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>.</p> +<div class="fragment"><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> {</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordflow">return</span> m_ViewOrigins ? m_ViewOrigins[idx] : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> }</div></div><!-- fragment --> +</div> +</div> +<a id="af714290740c651092629e45cf692fc1a"></a> +<h2 class="memtitle"><span class="permalink"><a href="#af714290740c651092629e45cf692fc1a">◆ </a></span>operator=()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & operator= </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> + <td class="paramname"><em>rhs</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00129">129</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> + +<p class="reference">References <a class="el" href="_descriptors_8cpp_source.xhtml#l00350">OriginsDescriptor::swap</a>.</p> +<div class="fragment"><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(*<span class="keyword">this</span>, rhs);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> }</div><div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_a0c0e7d9253dee85be237536cf1d7b0ac"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#a0c0e7d9253dee85be237536cf1d7b0ac">armnn::OriginsDescriptor::swap</a></div><div class="ttdeci">friend void swap(OriginsDescriptor &first, OriginsDescriptor &second)</div><div class="ttdoc">Swap the ViewsDescriptor values first and second. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.xhtml#l00350">Descriptors.cpp:350</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="a1efc8be2c15fe67917c60041dc926701"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a1efc8be2c15fe67917c60041dc926701">◆ </a></span>operator==()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool operator== </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & </td> + <td class="paramname"><em>rhs</em></td><td>)</td> + <td> const</td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00135">135</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> + +<p class="reference">References <a class="el" href="_descriptors_8cpp_source.xhtml#l00162">OriginsDescriptor::GetConcatAxis()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00192">OriginsDescriptor::GetNumDimensions()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00187">OriginsDescriptor::GetNumViews()</a>, and <a class="el" href="_descriptors_8cpp_source.xhtml#l00197">OriginsDescriptor::GetViewOrigin()</a>.</p> +<div class="fragment"><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> {</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">if</span> (<a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>() != rhs.GetNumViews() ||</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>() != rhs.GetNumDimensions() ||</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a379929e3b277f1ef94f3ce645870589d">GetConcatAxis</a>() != rhs.GetConcatAxis())</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  {</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  }</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0u; i < <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>(); ++i)</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> j = 0u; j < <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>(); ++j)</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  {</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">if</span> (<a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#ab78e6fe963508c1ac5c00d04bb3361a3">GetViewOrigin</a>(i)[j] != rhs.GetViewOrigin(i)[j])</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  {</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  }</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  }</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  }</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> }</div><div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_ab78e6fe963508c1ac5c00d04bb3361a3"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#ab78e6fe963508c1ac5c00d04bb3361a3">armnn::OriginsDescriptor::GetViewOrigin</a></div><div class="ttdeci">const uint32_t * GetViewOrigin(uint32_t idx) const</div><div class="ttdoc">Return the view origin at the int value idx. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.xhtml#l00197">Descriptors.cpp:197</a></div></div> +<div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_a78e8266be865fdd92cadd04d6e25ae1f"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#a78e8266be865fdd92cadd04d6e25ae1f">armnn::OriginsDescriptor::GetNumDimensions</a></div><div class="ttdeci">uint32_t GetNumDimensions() const</div><div class="ttdoc">Get the number of dimensions. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.xhtml#l00192">Descriptors.cpp:192</a></div></div> +<div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_a35546e7b56e6e972a495b48748478ede"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#a35546e7b56e6e972a495b48748478ede">armnn::OriginsDescriptor::GetNumViews</a></div><div class="ttdeci">uint32_t GetNumViews() const</div><div class="ttdoc">Get the number of views. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.xhtml#l00187">Descriptors.cpp:187</a></div></div> +<div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_a379929e3b277f1ef94f3ce645870589d"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#a379929e3b277f1ef94f3ce645870589d">armnn::OriginsDescriptor::GetConcatAxis</a></div><div class="ttdeci">unsigned int GetConcatAxis() const</div><div class="ttdoc">Get the concatenation axis value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.xhtml#l00162">Descriptors.cpp:162</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="aae1f4844cfb511b5b3a25c6761483624"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aae1f4844cfb511b5b3a25c6761483624">◆ </a></span>ReorderOrigins()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void ReorderOrigins </td> + <td>(</td> + <td class="paramtype">unsigned int * </td> + <td class="paramname"><em>newOrdering</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">unsigned int </td> + <td class="paramname"><em>numNewOrdering</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Reorders the viewOrigins in accordance with the indices presented in newOrdering array. </p> +<p>The number of views must match number of elements in the new ordering array. </p> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00204">204</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> + +<p class="reference">References <a class="el" href="_assert_8hpp_source.xhtml#l00015">ARMNN_ASSERT_MSG</a>.</p> +<div class="fragment"><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> {</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <a class="code" href="_assert_8hpp.xhtml#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(m_NumViews == numNewOrdering, <span class="stringliteral">"number of views must match number of "</span></div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="stringliteral">"elements in the new ordering array"</span>);</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  std::vector<uint32_t*> viewOrigins(&m_ViewOrigins[0], &m_ViewOrigins[m_NumViews]);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < numNewOrdering; ++i)</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  {</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  m_ViewOrigins[i] = viewOrigins[newOrdering[i]];</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  }</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> }</div><div class="ttc" id="_assert_8hpp_xhtml_a91c4dfde57907d7698c7531785690a7f"><div class="ttname"><a href="_assert_8hpp.xhtml#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a></div><div class="ttdeci">#define ARMNN_ASSERT_MSG(COND, MSG)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.xhtml#l00015">Assert.hpp:15</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="a5b192c5fcd96a0f75542524cf646b355"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a5b192c5fcd96a0f75542524cf646b355">◆ </a></span>SetConcatAxis()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void SetConcatAxis </td> + <td>(</td> + <td class="paramtype">unsigned int </td> + <td class="paramname"><em>concatAxis</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Set the concatenation axis value. </p> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00158">158</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_descriptors_8hpp_source.xhtml#l00258">armnn::CreateDescriptorForConcatenation()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l02112">TfLiteParserImpl::OutputShapeOfReshape()</a>, and <a class="el" href="_tf_parser_8cpp_source.xhtml#l02266">ITfParser::TfParserImpl::ParseConcat()</a>.</p> +<div class="fragment"><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> {</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  m_ConcatAxis = concatAxis;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> }</div></div><!-- fragment --> +</div> +</div> +<a id="a2b125117aa61f9baf3a9cb8658aa61a2"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a2b125117aa61f9baf3a9cb8658aa61a2">◆ </a></span>SetViewOriginCoord()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> SetViewOriginCoord </td> + <td>(</td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>view</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>coord</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">uint32_t </td> + <td class="paramname"><em>value</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Set the view origin coordinates. </p> +<p>The arguments are: view, dimension, value. If the view is greater than or equal to <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#a35546e7b56e6e972a495b48748478ede" title="Get the number of views. ">GetNumViews()</a>, then the view argument is out of range. If the coord is greater than or equal to <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#a78e8266be865fdd92cadd04d6e25ae1f" title="Get the number of dimensions. ">GetNumDimensions()</a>, then the coord argument is out of range. </p> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00167">167</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> + +<p class="reference">References <a class="el" href="_logging_8hpp_source.xhtml#l00202">ARMNN_LOG</a>, <a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">armnn::error</a>, <a class="el" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">armnn::Failure</a>, and <a class="el" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">armnn::Success</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_caffe_parser_8cpp_source.xhtml#l00447">ICaffeParser::CaffeParserImpl::AddConvLayerWithSplits()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l00637">ICaffeParser::CaffeParserImpl::AddDeconvLayerWithSplits()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00258">armnn::CreateDescriptorForConcatenation()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l02266">ITfParser::TfParserImpl::ParseConcat()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l01708">ICaffeParser::CaffeParserImpl::ParseConcatLayer()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00019">armnnUtils::ProcessConcatInputTensorInfo()</a>, and <a class="el" href="_descriptors_8cpp_source.xhtml#l00310">ViewsDescriptor::SetViewOriginCoord()</a>.</p> +<div class="fragment"><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">if</span> (view >= m_NumViews)</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  {</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <a class="code" href="_logging_8hpp.xhtml#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(<a class="code" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">error</a>) << <span class="stringliteral">"OriginsDescriptor::SetViewOriginCoord: view argument:"</span> << view <<</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="stringliteral">" is out of range"</span>;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">Status::Failure</a>;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  }</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">if</span> (coord >= m_NumDimensions)</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  {</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="_logging_8hpp.xhtml#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(<a class="code" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">error</a>) << <span class="stringliteral">"OriginsDescriptor::SetViewOriginCoord: coord argument:"</span> << coord <<</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="stringliteral">" is out of range"</span>;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">Status::Failure</a>;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  }</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  m_ViewOrigins[view][coord] = value;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">Status::Success</a>;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> }</div><div class="ttc" id="_logging_8hpp_xhtml_a7b6ad073975f437ec38ca7d20154727f"><div class="ttname"><a href="_logging_8hpp.xhtml#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a></div><div class="ttdeci">#define ARMNN_LOG(severity)</div><div class="ttdef"><b>Definition:</b> <a href="_logging_8hpp_source.xhtml#l00202">Logging.hpp:202</a></div></div> +<div class="ttc" id="namespacearmnn_xhtml_a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282"><div class="ttname"><a href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">armnn::BoostLogSeverityMapping::error</a></div></div> +<div class="ttc" id="namespacearmnn_xhtml_a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38"><div class="ttname"><a href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">armnn::Status::Success</a></div></div> +<div class="ttc" id="namespacearmnn_xhtml_a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086"><div class="ttname"><a href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">armnn::Status::Failure</a></div></div> +</div><!-- fragment --> +</div> +</div> +<h2 class="groupheader">Friends And Related Function Documentation</h2> +<a id="a0c0e7d9253dee85be237536cf1d7b0ac"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a0c0e7d9253dee85be237536cf1d7b0ac">◆ </a></span>swap</h2> + +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">void swap </td> + <td>(</td> + <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & </td> + <td class="paramname"><em>first</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & </td> + <td class="paramname"><em>second</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">friend</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>Swap the <a class="el" href="structarmnn_1_1_views_descriptor.xhtml" title="A ViewsDescriptor for the SplitterLayer. ">ViewsDescriptor</a> values first and second. </p> + +<p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00350">350</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_descriptors_8cpp_source.xhtml#l00129">OriginsDescriptor::operator=()</a>, and <a class="el" href="_descriptors_8cpp_source.xhtml#l00114">OriginsDescriptor::OriginsDescriptor()</a>.</p> +<div class="fragment"><div class="line"><a name="l00351"></a><span class="lineno"> 351</span> {</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <span class="keyword">using</span> <a class="code" href="namespacearmnn.xhtml#a686b8288a04b3ffff67d560eea53f6be">std::swap</a>;</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(first.m_NumViews, second.m_NumViews);</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(first.m_NumDimensions, second.m_NumDimensions);</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(first.m_ViewOrigins, second.m_ViewOrigins);</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(first.m_ConcatAxis, second.m_ConcatAxis);</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span> }</div><div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_a0c0e7d9253dee85be237536cf1d7b0ac"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#a0c0e7d9253dee85be237536cf1d7b0ac">armnn::OriginsDescriptor::swap</a></div><div class="ttdeci">friend void swap(OriginsDescriptor &first, OriginsDescriptor &second)</div><div class="ttdoc">Swap the ViewsDescriptor values first and second. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.xhtml#l00350">Descriptors.cpp:350</a></div></div> +<div class="ttc" id="namespacearmnn_xhtml_a686b8288a04b3ffff67d560eea53f6be"><div class="ttname"><a href="namespacearmnn.xhtml#a686b8288a04b3ffff67d560eea53f6be">armnn::swap</a></div><div class="ttdeci">void swap(ViewsDescriptor &first, ViewsDescriptor &second)</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.xhtml#l00359">Descriptors.cpp:359</a></div></div> +</div><!-- fragment --> +</div> +</div> +<hr/>The documentation for this struct was generated from the following files:<ul> +<li>include/armnn/<a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a></li> +<li>src/armnn/<a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a></li> +</ul> +</div><!-- contents --> +</div><!-- doc-content --> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a></li> + <li class="footer">Generated on Thu Feb 25 2021 17:28:00 for ArmNN by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> + </ul> +</div> +</body> +</html> |