blob: 71ea598dccd0c82b751b848be96207fa780d7978 [file] [log] [blame]
<!-- 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: ElementwiseBinaryFunction&lt; Functor &gt; Struct 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);
</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">
&#160;<span id="projectnumber">20.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_elementwise_binary_function.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-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="structarmnn_1_1_elementwise_binary_function-members.xhtml">List of all members</a> </div>
<div class="headertitle">
<div class="title">ElementwiseBinaryFunction&lt; Functor &gt; Struct Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a8052a16ed0d9f7009e6fd20b8abc1e83"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> = typename Functor::result_type</td></tr>
<tr class="separator:a8052a16ed0d9f7009e6fd20b8abc1e83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ec36b1d00042fa901f92924e2423500"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> = typename Functor::first_argument_type</td></tr>
<tr class="separator:a4ec36b1d00042fa901f92924e2423500"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a12cf00d4ad8e7a82d40b10878fd91507"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a12cf00d4ad8e7a82d40b10878fd91507">ElementwiseBinaryFunction</a> (const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;inShape0, const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;inShape1, const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;outShape, <a class="el" href="classarmnn_1_1_decoder.xhtml">Decoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> &gt; &amp;inData0, <a class="el" href="classarmnn_1_1_decoder.xhtml">Decoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> &gt; &amp;inData1, <a class="el" href="classarmnn_1_1_encoder.xhtml">Encoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> &gt; &amp;outData)</td></tr>
<tr class="separator:a12cf00d4ad8e7a82d40b10878fd91507"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Functor&gt;<br />
struct armnn::ElementwiseBinaryFunction&lt; Functor &gt;</h3>
<p class="definition">Definition at line <a class="el" href="_elementwise_function_8hpp_source.xhtml#l00015">15</a> of file <a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a4ec36b1d00042fa901f92924e2423500"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ec36b1d00042fa901f92924e2423500">&#9670;&nbsp;</a></span>InType</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> = typename Functor::first_argument_type</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_elementwise_function_8hpp_source.xhtml#l00018">18</a> of file <a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a>.</p>
</div>
</div>
<a id="a8052a16ed0d9f7009e6fd20b8abc1e83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8052a16ed0d9f7009e6fd20b8abc1e83">&#9670;&nbsp;</a></span>OutType</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> = typename Functor::result_type</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_elementwise_function_8hpp_source.xhtml#l00017">17</a> of file <a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a12cf00d4ad8e7a82d40b10878fd91507"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12cf00d4ad8e7a82d40b10878fd91507">&#9670;&nbsp;</a></span>ElementwiseBinaryFunction()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml">ElementwiseBinaryFunction</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;&#160;</td>
<td class="paramname"><em>inShape0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;&#160;</td>
<td class="paramname"><em>inShape1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;&#160;</td>
<td class="paramname"><em>outShape</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">Decoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>inData0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">Decoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>inData1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">Encoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>outData</em>&#160;</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="_elementwise_function_8cpp_source.xhtml#l00021">21</a> of file <a class="el" href="_elementwise_function_8cpp_source.xhtml">ElementwiseFunction.cpp</a>.</p>
<p class="reference">References <a class="el" href="_broadcast_8hpp_source.xhtml#l00026">BroadcastLoop::Unroll()</a>.</p>
<div class="fragment"><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;{</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; BroadcastLoop(inShape0, inShape1, outShape).Unroll(Functor(), 0, inData0, inData1, outData);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>src/backends/reference/workloads/<a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a></li>
<li>src/backends/reference/workloads/<a class="el" href="_elementwise_function_8cpp_source.xhtml">ElementwiseFunction.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_elementwise_binary_function.xhtml">ElementwiseBinaryFunction</a></li>
<li class="footer">Generated on Fri Mar 13 2020 16:09:17 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>