| <!-- HTML header for doxygen 1.8.9.1--> |
| <!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.11"/> |
| <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines --> |
| <title>Compute Library: Tensor< T > Class Template 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); |
| $(window).load(resizeHeight); |
| </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/javascript"> |
| $(document).ready(function() { init_search(); }); |
| </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" /> |
| </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;"> |
| <td style="padding-left: 0.5em;"> |
| <div id="projectname">Compute Library |
|  <span id="projectnumber">v17.06</span> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.11 --> |
| <script type="text/javascript"> |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| </script> |
| <div id="navrow1" class="tabs"> |
| <ul class="tablist"> |
| <li><a href="index.xhtml"><span>Main Page</span></a></li> |
| <li><a href="pages.xhtml"><span>Related Pages</span></a></li> |
| <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li> |
| <li class="current"><a href="annotated.xhtml"><span>Data Structures</span></a></li> |
| <li><a href="files.xhtml"><span>Files</span></a></li> |
| <li> |
| <div id="MSearchBox" class="MSearchBoxInactive"> |
| <span class="left"> |
| <img id="MSearchSelect" src="search/mag_sel.png" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| alt=""/> |
| <input type="text" id="MSearchField" value="Search" accesskey="S" |
| onfocus="searchBox.OnSearchFieldFocus(true)" |
| onblur="searchBox.OnSearchFieldFocus(false)" |
| onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| </span><span class="right"> |
| <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| </span> |
| </div> |
| </li> |
| </ul> |
| </div> |
| <div id="navrow2" class="tabs2"> |
| <ul class="tablist"> |
| <li><a href="annotated.xhtml"><span>Data Structures</span></a></li> |
| <li><a href="classes.xhtml"><span>Data Structure Index</span></a></li> |
| <li><a href="inherits.xhtml"><span>Class Hierarchy</span></a></li> |
| <li><a href="functions.xhtml"><span>Data Fields</span></a></li> |
| </ul> |
| </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('classarm__compute_1_1test_1_1validation_1_1_tensor.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> </div> |
| <div class="headertitle"> |
| <div class="title">Tensor< T > Class Template Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p><code>#include <<a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>></code></p> |
| <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:a09dacbd79d16b74ba8698e27ae3dc42b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a09dacbd79d16b74ba8698e27ae3dc42b">Tensor</a> ()</td></tr> |
| <tr class="separator:a09dacbd79d16b74ba8698e27ae3dc42b"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a4308f16dd7be32c53f3752c99dae8246"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a4308f16dd7be32c53f3752c99dae8246">Tensor</a> (<a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a13761831550669f43f4edee978181c46">shape</a>, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> dt, int <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a16bb8940c9d6aff998db9bd0ba011ffe">fixed_point_position</a>, T *ptr)</td></tr> |
| <tr class="separator:a4308f16dd7be32c53f3752c99dae8246"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a8f28d7a2b39402cf150c8f758076b581"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a8f28d7a2b39402cf150c8f758076b581">Tensor</a> (<a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a13761831550669f43f4edee978181c46">shape</a>, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> dt, int <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a16bb8940c9d6aff998db9bd0ba011ffe">fixed_point_position</a>, const T *ptr)</td></tr> |
| <tr class="separator:a8f28d7a2b39402cf150c8f758076b581"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a9b224d70435ebcd918da5e54ce4fa8b3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a9b224d70435ebcd918da5e54ce4fa8b3">Tensor</a> (const <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> &tensor)=delete</td></tr> |
| <tr class="separator:a9b224d70435ebcd918da5e54ce4fa8b3"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aef4d5440d00bdcf7ee83f4bc1899f9f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#aef4d5440d00bdcf7ee83f4bc1899f9f3">operator=</a> (const <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> &)=delete</td></tr> |
| <tr class="separator:aef4d5440d00bdcf7ee83f4bc1899f9f3"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a05a9201bf0316d34ffc32a013ecc2e91"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a05a9201bf0316d34ffc32a013ecc2e91">Tensor</a> (<a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> &&)=default</td></tr> |
| <tr class="separator:a05a9201bf0316d34ffc32a013ecc2e91"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a008f5e2a1c019e9b401753210a99ddfe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a008f5e2a1c019e9b401753210a99ddfe">operator=</a> (<a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> &&)=default</td></tr> |
| <tr class="separator:a008f5e2a1c019e9b401753210a99ddfe"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae55ef806b29ad70cd952e2c1508715ae"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#ae55ef806b29ad70cd952e2c1508715ae">~Tensor</a> ()=default</td></tr> |
| <tr class="separator:ae55ef806b29ad70cd952e2c1508715ae"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a93ec653fbddd7ba6b56c6df4b5998c61"><td class="memItemLeft" align="right" valign="top">T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a93ec653fbddd7ba6b56c6df4b5998c61">operator[]</a> (size_t <a class="el" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>)</td></tr> |
| <tr class="separator:a93ec653fbddd7ba6b56c6df4b5998c61"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae077aca20e6366326fa6e953bc714864"><td class="memItemLeft" align="right" valign="top">const T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#ae077aca20e6366326fa6e953bc714864">operator[]</a> (size_t <a class="el" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>) const </td></tr> |
| <tr class="separator:ae077aca20e6366326fa6e953bc714864"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ab5fe769d05a0f7dfee63972bdbd54261"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#ab5fe769d05a0f7dfee63972bdbd54261">num_elements</a> () const </td></tr> |
| <tr class="separator:ab5fe769d05a0f7dfee63972bdbd54261"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a13761831550669f43f4edee978181c46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a13761831550669f43f4edee978181c46">shape</a> () const </td></tr> |
| <tr class="separator:a13761831550669f43f4edee978181c46"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a45cc7b9a37aa9f0e7d479248a27e1f58"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a45cc7b9a37aa9f0e7d479248a27e1f58">data_type</a> () const </td></tr> |
| <tr class="separator:a45cc7b9a37aa9f0e7d479248a27e1f58"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a16bb8940c9d6aff998db9bd0ba011ffe"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a16bb8940c9d6aff998db9bd0ba011ffe">fixed_point_position</a> () const </td></tr> |
| <tr class="separator:a16bb8940c9d6aff998db9bd0ba011ffe"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a92597b6ad54c8cebd6a987b7762eecfc"><td class="memItemLeft" align="right" valign="top">const T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a92597b6ad54c8cebd6a987b7762eecfc">data</a> () const </td></tr> |
| <tr class="separator:a92597b6ad54c8cebd6a987b7762eecfc"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a1699472936b80a88d3fc8096975d21b2"><td class="memItemLeft" align="right" valign="top">T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a1699472936b80a88d3fc8096975d21b2">data</a> ()</td></tr> |
| <tr class="separator:a1699472936b80a88d3fc8096975d21b2"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aac8d0e086d950004bc0ff9cdce31e762"><td class="memItemLeft" align="right" valign="top">const T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#aac8d0e086d950004bc0ff9cdce31e762">data_const</a> ()</td></tr> |
| <tr class="separator:aac8d0e086d950004bc0ff9cdce31e762"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><h3>template<typename T><br /> |
| class arm_compute::test::validation::Tensor< T ></h3> |
| |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00037">37</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="a09dacbd79d16b74ba8698e27ae3dc42b"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00040">40</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| |
| <p>References <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a696b031073e74bf2cb98e5ef201d4aa3">arm_compute::UNKNOWN</a>.</p> |
| |
| <p>Referenced by <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00046">Tensor< T >::Tensor()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  : _shape(), _dt(<a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a696b031073e74bf2cb98e5ef201d4aa3">DataType::UNKNOWN</a>), _fixed_point_position(0), _ptr(<span class="keyword">nullptr</span>), _ptr_const(<span class="keyword">nullptr</span>) {};</div><div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a696b031073e74bf2cb98e5ef201d4aa3"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a696b031073e74bf2cb98e5ef201d4aa3">arm_compute::Format::UNKNOWN</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a class="anchor" id="a4308f16dd7be32c53f3752c99dae8246"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> </td> |
| <td class="paramname"><em>shape</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td> |
| <td class="paramname"><em>dt</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int </td> |
| <td class="paramname"><em>fixed_point_position</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">T * </td> |
| <td class="paramname"><em>ptr</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00043">43</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  : _shape(<a class="code" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a13761831550669f43f4edee978181c46">shape</a>), _dt(dt), _fixed_point_position(<a class="code" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a16bb8940c9d6aff998db9bd0ba011ffe">fixed_point_position</a>), _ptr(ptr), _ptr_const(<span class="keyword">nullptr</span>) {};</div><div class="ttc" id="classarm__compute_1_1test_1_1validation_1_1_tensor_xhtml_a13761831550669f43f4edee978181c46"><div class="ttname"><a href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a13761831550669f43f4edee978181c46">arm_compute::test::validation::Tensor::shape</a></div><div class="ttdeci">TensorShape shape() const </div><div class="ttdef"><b>Definition:</b> <a href="tests_2validation_2_tensor_8h_source.xhtml#l00071">Tensor.h:71</a></div></div> |
| <div class="ttc" id="classarm__compute_1_1test_1_1validation_1_1_tensor_xhtml_a16bb8940c9d6aff998db9bd0ba011ffe"><div class="ttname"><a href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a16bb8940c9d6aff998db9bd0ba011ffe">arm_compute::test::validation::Tensor::fixed_point_position</a></div><div class="ttdeci">int fixed_point_position() const </div><div class="ttdef"><b>Definition:</b> <a href="tests_2validation_2_tensor_8h_source.xhtml#l00081">Tensor.h:81</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a class="anchor" id="a8f28d7a2b39402cf150c8f758076b581"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> </td> |
| <td class="paramname"><em>shape</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td> |
| <td class="paramname"><em>dt</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int </td> |
| <td class="paramname"><em>fixed_point_position</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const T * </td> |
| <td class="paramname"><em>ptr</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00046">46</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| |
| <p>References <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#aef4d5440d00bdcf7ee83f4bc1899f9f3">Tensor< T >::operator=()</a>, <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00040">Tensor< T >::Tensor()</a>, and <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#ae55ef806b29ad70cd952e2c1508715ae">Tensor< T >::~Tensor()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  : _shape(<a class="code" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a13761831550669f43f4edee978181c46">shape</a>), _dt(dt), _fixed_point_position(<a class="code" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a16bb8940c9d6aff998db9bd0ba011ffe">fixed_point_position</a>), _ptr(<span class="keyword">nullptr</span>), _ptr_const(ptr) {};</div><div class="ttc" id="classarm__compute_1_1test_1_1validation_1_1_tensor_xhtml_a13761831550669f43f4edee978181c46"><div class="ttname"><a href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a13761831550669f43f4edee978181c46">arm_compute::test::validation::Tensor::shape</a></div><div class="ttdeci">TensorShape shape() const </div><div class="ttdef"><b>Definition:</b> <a href="tests_2validation_2_tensor_8h_source.xhtml#l00071">Tensor.h:71</a></div></div> |
| <div class="ttc" id="classarm__compute_1_1test_1_1validation_1_1_tensor_xhtml_a16bb8940c9d6aff998db9bd0ba011ffe"><div class="ttname"><a href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml#a16bb8940c9d6aff998db9bd0ba011ffe">arm_compute::test::validation::Tensor::fixed_point_position</a></div><div class="ttdeci">int fixed_point_position() const </div><div class="ttdef"><b>Definition:</b> <a href="tests_2validation_2_tensor_8h_source.xhtml#l00081">Tensor.h:81</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a class="anchor" id="a9b224d70435ebcd918da5e54ce4fa8b3"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a>< T > & </td> |
| <td class="paramname"><em>tensor</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">delete</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a05a9201bf0316d34ffc32a013ecc2e91"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a>< T > && </td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ae55ef806b29ad70cd952e2c1508715ae"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">~<a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a> </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Referenced by <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00046">Tensor< T >::Tensor()</a>.</p> |
| |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a class="anchor" id="a92597b6ad54c8cebd6a987b7762eecfc"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const T* data </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00086">86</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| |
| <p>Referenced by <a class="el" href="_tensor_operations_8h_source.xhtml#l00847">arm_compute::test::validation::tensor_operations::convolution_layer()</a>, and <a class="el" href="_tensor_operations_8h_source.xhtml#l00899">arm_compute::test::validation::tensor_operations::fully_connected_layer()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  {</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">return</span> (_ptr != <span class="keyword">nullptr</span>) ? _ptr : _ptr_const;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a class="anchor" id="a1699472936b80a88d3fc8096975d21b2"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">T* data </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00090">90</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  {</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> _ptr;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a class="anchor" id="aac8d0e086d950004bc0ff9cdce31e762"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const T* data_const </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00095">95</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| <div class="fragment"><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>  <span class="keywordflow">return</span> _ptr_const;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a class="anchor" id="a45cc7b9a37aa9f0e7d479248a27e1f58"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> data_type </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00076">76</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| |
| <p>Referenced by <a class="el" href="_tensor_operations_8h_source.xhtml#l00617">arm_compute::test::validation::tensor_operations::fixed_point_pixel_wise_multiplication()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  {</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">return</span> _dt;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a class="anchor" id="a16bb8940c9d6aff998db9bd0ba011ffe"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">int fixed_point_position </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00081">81</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| |
| <p>Referenced by <a class="el" href="_tensor_operations_8h_source.xhtml#l00686">arm_compute::test::validation::tensor_operations::activation_layer()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00847">arm_compute::test::validation::tensor_operations::convolution_layer()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l01319">arm_compute::test::validation::tensor_operations::fixed_point_operation()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00617">arm_compute::test::validation::tensor_operations::fixed_point_pixel_wise_multiplication()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00899">arm_compute::test::validation::tensor_operations::fully_connected_layer()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00506">arm_compute::test::validation::tensor_operations::gemm()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00921">arm_compute::test::validation::tensor_operations::normalization_layer()</a>, and <a class="el" href="_tensor_operations_8h_source.xhtml#l01240">arm_compute::test::validation::tensor_operations::softmax_layer()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">return</span> _fixed_point_position;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a class="anchor" id="ab5fe769d05a0f7dfee63972bdbd54261"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">int num_elements </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00066">66</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| |
| <p>References <a class="el" href="accumulate_8cl_source.xhtml#l00041">accumulate()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00150">Dimensions< T >::cbegin()</a>, and <a class="el" href="_dimensions_8h_source.xhtml#l00165">Dimensions< T >::cend()</a>.</p> |
| |
| <p>Referenced by <a class="el" href="_tensor_operations_8h_source.xhtml#l00270">arm_compute::test::validation::tensor_operations::absolute_difference()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00283">arm_compute::test::validation::tensor_operations::accumulate()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00296">arm_compute::test::validation::tensor_operations::accumulate_squared()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00314">arm_compute::test::validation::tensor_operations::accumulate_weighted()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00686">arm_compute::test::validation::tensor_operations::activation_layer()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00331">arm_compute::test::validation::tensor_operations::arithmetic_addition()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00344">arm_compute::test::validation::tensor_operations::arithmetic_subtraction()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00357">arm_compute::test::validation::tensor_operations::bitwise_and()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00387">arm_compute::test::validation::tensor_operations::bitwise_not()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00367">arm_compute::test::validation::tensor_operations::bitwise_or()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00377">arm_compute::test::validation::tensor_operations::bitwise_xor()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00397">arm_compute::test::validation::tensor_operations::box3x3()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l01319">arm_compute::test::validation::tensor_operations::fixed_point_operation()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00617">arm_compute::test::validation::tensor_operations::fixed_point_pixel_wise_multiplication()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00921">arm_compute::test::validation::tensor_operations::normalization_layer()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00579">arm_compute::test::validation::tensor_operations::pixel_wise_multiplication()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l01356">arm_compute::test::validation::tensor_operations::print()</a>, and <a class="el" href="_tensor_operations_8h_source.xhtml#l00651">arm_compute::test::validation::tensor_operations::threshold()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> <a class="code" href="accumulate_8cl.xhtml#a00e540076dd545ad59ac7482f8cdf514">std::accumulate</a>(_shape.<a class="code" href="classarm__compute_1_1_dimensions.xhtml#a4498730adaf901d945c12841df994bba">cbegin</a>(), _shape.<a class="code" href="classarm__compute_1_1_dimensions.xhtml#adf9b6d55d708c285d58511a780e937fc">cend</a>(), 1, std::multiplies<int>());</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  }</div><div class="ttc" id="classarm__compute_1_1_dimensions_xhtml_a4498730adaf901d945c12841df994bba"><div class="ttname"><a href="classarm__compute_1_1_dimensions.xhtml#a4498730adaf901d945c12841df994bba">arm_compute::Dimensions::cbegin</a></div><div class="ttdeci">std::array< T, num_max_dimensions >::const_iterator cbegin() const </div><div class="ttdoc">Returns a read-only (constant) iterator that points to the first element in the dimension array...</div><div class="ttdef"><b>Definition:</b> <a href="_dimensions_8h_source.xhtml#l00150">Dimensions.h:150</a></div></div> |
| <div class="ttc" id="classarm__compute_1_1_dimensions_xhtml_adf9b6d55d708c285d58511a780e937fc"><div class="ttname"><a href="classarm__compute_1_1_dimensions.xhtml#adf9b6d55d708c285d58511a780e937fc">arm_compute::Dimensions::cend</a></div><div class="ttdeci">std::array< T, num_max_dimensions >::const_iterator cend() const </div><div class="ttdoc">Returns a read-only (constant) iterator that points one past the last element in the dimension array...</div><div class="ttdef"><b>Definition:</b> <a href="_dimensions_8h_source.xhtml#l00165">Dimensions.h:165</a></div></div> |
| <div class="ttc" id="accumulate_8cl_xhtml_a00e540076dd545ad59ac7482f8cdf514"><div class="ttname"><a href="accumulate_8cl.xhtml#a00e540076dd545ad59ac7482f8cdf514">accumulate</a></div><div class="ttdeci">__kernel void accumulate(__global uchar *input_ptr, uint input_stride_x, uint input_step_x, uint input_stride_y, uint input_step_y, uint input_offset_first_element_in_bytes, __global uchar *accu_ptr, uint accu_stride_x, uint accu_step_x, uint accu_stride_y, uint accu_step_y, uint accu_offset_first_element_in_bytes)</div><div class="ttdoc">This function accumulates an input image into output image. </div><div class="ttdef"><b>Definition:</b> <a href="accumulate_8cl_source.xhtml#l00041">accumulate.cl:41</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a class="anchor" id="aef4d5440d00bdcf7ee83f4bc1899f9f3"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a>& operator= </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a>< T > & </td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">delete</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Referenced by <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00046">Tensor< T >::Tensor()</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a008f5e2a1c019e9b401753210a99ddfe"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a>& operator= </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a>< T > && </td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">default</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a93ec653fbddd7ba6b56c6df4b5998c61"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">T& operator[] </td> |
| <td>(</td> |
| <td class="paramtype">size_t </td> |
| <td class="paramname"><em>offset</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00056">56</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| |
| <p>References <a class="el" href="helpers_8h_source.xhtml#l00201">offset()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">return</span> _ptr[<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>];</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  }</div><div class="ttc" id="helpers_8h_xhtml_a009469e4d9b8fce3b6d5e97d2077827d"><div class="ttname"><a href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a></div><div class="ttdeci">__global uchar * offset(const Image *img, int x, int y)</div><div class="ttdoc">Get the pointer position of a Image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00201">helpers.h:201</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a class="anchor" id="ae077aca20e6366326fa6e953bc714864"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const T& operator[] </td> |
| <td>(</td> |
| <td class="paramtype">size_t </td> |
| <td class="paramname"><em>offset</em></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00061">61</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| |
| <p>References <a class="el" href="helpers_8h_source.xhtml#l00201">offset()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> _ptr_const[<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>];</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div><div class="ttc" id="helpers_8h_xhtml_a009469e4d9b8fce3b6d5e97d2077827d"><div class="ttname"><a href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a></div><div class="ttdeci">__global uchar * offset(const Image *img, int x, int y)</div><div class="ttdoc">Get the pointer position of a Image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00201">helpers.h:201</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a class="anchor" id="a13761831550669f43f4edee978181c46"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> shape </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml#l00071">71</a> of file <a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</a>.</p> |
| |
| <p>Referenced by <a class="el" href="_tensor_operations_8h_source.xhtml#l00783">arm_compute::test::validation::tensor_operations::batch_normalization_layer()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00397">arm_compute::test::validation::tensor_operations::box3x3()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00847">arm_compute::test::validation::tensor_operations::convolution_layer()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00899">arm_compute::test::validation::tensor_operations::fully_connected_layer()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00506">arm_compute::test::validation::tensor_operations::gemm()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00225">arm_compute::test::validation::tensor_operations::integral_image()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00921">arm_compute::test::validation::tensor_operations::normalization_layer()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l01123">arm_compute::test::validation::tensor_operations::pooling_layer()</a>, and <a class="el" href="_tensor_operations_8h_source.xhtml#l01240">arm_compute::test::validation::tensor_operations::softmax_layer()</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">return</span> _shape;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li>tests/validation/<a class="el" href="tests_2validation_2_tensor_8h_source.xhtml">Tensor.h</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="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test.xhtml">test</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml">validation</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_tensor.xhtml">Tensor</a></li> |
| <li class="footer">Generated on Fri Jun 23 2017 15:44:36 for Compute Library by |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> |
| </ul> |
| </div> |
| </body> |
| </html> |