blob: 68ed1e495f0017d4e22691a9305f3f3cea66459b [file] [log] [blame]
<!-- HTML header for doxygen 1.8.15-->
<!-- Remember to use version doxygen 1.8.15 +-->
<!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.15"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: Edge Class 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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</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" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<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="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">19.08</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classarm__compute_1_1graph_1_1_edge.xhtml','');});
/* @license-end */
</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> &#124;
<a href="#friends">Friends</a> </div>
<div class="headertitle">
<div class="title">Edge Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class.">Graph</a> <a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml" title="Graph Edge.">Edge</a>.
<a href="classarm__compute_1_1graph_1_1_edge.xhtml#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_edge_8h_source.xhtml">Edge.h</a>&gt;</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:ad509007a40c162c72383ed29620e25ca"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#ad509007a40c162c72383ed29620e25ca">Edge</a> (<a class="el" href="namespacearm__compute_1_1graph.xhtml#abba17a56bbf16c7cbc7acd4aa54abcea">EdgeID</a> <a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#aefc98f9ead7dd39790ad7eac89843ef7">id</a>, <a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *<a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#acef46a426a99b126a412e361125f2ce9">producer</a>, unsigned int <a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#acacab4f2a903f45180eb30f5ef1ae678">producer_idx</a>, <a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *<a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#a592a2c76b00960964a3f6f2ef792a7f0">consumer</a>, unsigned int <a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#a494ac7ad19390258426e1e0577c71c91">consumer_idx</a>, <a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a> *<a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#aff6b38772acc09675f4f64e510e31055">tensor</a>)</td></tr>
<tr class="memdesc:ad509007a40c162c72383ed29620e25ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor. <a href="#ad509007a40c162c72383ed29620e25ca">More...</a><br /></td></tr>
<tr class="separator:ad509007a40c162c72383ed29620e25ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefc98f9ead7dd39790ad7eac89843ef7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute_1_1graph.xhtml#abba17a56bbf16c7cbc7acd4aa54abcea">EdgeID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#aefc98f9ead7dd39790ad7eac89843ef7">id</a> () const</td></tr>
<tr class="memdesc:aefc98f9ead7dd39790ad7eac89843ef7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns edge id. <a href="#aefc98f9ead7dd39790ad7eac89843ef7">More...</a><br /></td></tr>
<tr class="separator:aefc98f9ead7dd39790ad7eac89843ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73b54dbd7dc72560e805067f2e68207c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#a73b54dbd7dc72560e805067f2e68207c">producer_id</a> () const</td></tr>
<tr class="memdesc:a73b54dbd7dc72560e805067f2e68207c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns producer node id. <a href="#a73b54dbd7dc72560e805067f2e68207c">More...</a><br /></td></tr>
<tr class="separator:a73b54dbd7dc72560e805067f2e68207c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad00e584f78c622e5ee9ec9613f6d6633"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#ad00e584f78c622e5ee9ec9613f6d6633">consumer_id</a> () const</td></tr>
<tr class="memdesc:ad00e584f78c622e5ee9ec9613f6d6633"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns sink node id. <a href="#ad00e584f78c622e5ee9ec9613f6d6633">More...</a><br /></td></tr>
<tr class="separator:ad00e584f78c622e5ee9ec9613f6d6633"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acef46a426a99b126a412e361125f2ce9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#acef46a426a99b126a412e361125f2ce9">producer</a> () const</td></tr>
<tr class="memdesc:acef46a426a99b126a412e361125f2ce9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns producer node. <a href="#acef46a426a99b126a412e361125f2ce9">More...</a><br /></td></tr>
<tr class="separator:acef46a426a99b126a412e361125f2ce9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a592a2c76b00960964a3f6f2ef792a7f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#a592a2c76b00960964a3f6f2ef792a7f0">consumer</a> () const</td></tr>
<tr class="memdesc:a592a2c76b00960964a3f6f2ef792a7f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns consumer node. <a href="#a592a2c76b00960964a3f6f2ef792a7f0">More...</a><br /></td></tr>
<tr class="separator:a592a2c76b00960964a3f6f2ef792a7f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acacab4f2a903f45180eb30f5ef1ae678"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#acacab4f2a903f45180eb30f5ef1ae678">producer_idx</a> () const</td></tr>
<tr class="memdesc:acacab4f2a903f45180eb30f5ef1ae678"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of the output that produces the result in the producer node. <a href="#acacab4f2a903f45180eb30f5ef1ae678">More...</a><br /></td></tr>
<tr class="separator:acacab4f2a903f45180eb30f5ef1ae678"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a494ac7ad19390258426e1e0577c71c91"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#a494ac7ad19390258426e1e0577c71c91">consumer_idx</a> () const</td></tr>
<tr class="memdesc:a494ac7ad19390258426e1e0577c71c91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the index of the input that consumes the result in the consumer node. <a href="#a494ac7ad19390258426e1e0577c71c91">More...</a><br /></td></tr>
<tr class="separator:a494ac7ad19390258426e1e0577c71c91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff6b38772acc09675f4f64e510e31055"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#aff6b38772acc09675f4f64e510e31055">tensor</a> () const</td></tr>
<tr class="memdesc:aff6b38772acc09675f4f64e510e31055"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tensor associated with this edge. <a href="#aff6b38772acc09675f4f64e510e31055">More...</a><br /></td></tr>
<tr class="separator:aff6b38772acc09675f4f64e510e31055"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af20a11225e8c9ae2029e12f2ff05d95b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a615af95e19b5d9f74d2760183566a9a3">TensorID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#af20a11225e8c9ae2029e12f2ff05d95b">tensor_id</a> () const</td></tr>
<tr class="memdesc:af20a11225e8c9ae2029e12f2ff05d95b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tensor id associated with this edge. <a href="#af20a11225e8c9ae2029e12f2ff05d95b">More...</a><br /></td></tr>
<tr class="separator:af20a11225e8c9ae2029e12f2ff05d95b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4dfdb91786eda8e0c3b532809a2c5d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#aa4dfdb91786eda8e0c3b532809a2c5d9">update_bound_tensor</a> (<a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a> *<a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#aff6b38772acc09675f4f64e510e31055">tensor</a>)</td></tr>
<tr class="memdesc:aa4dfdb91786eda8e0c3b532809a2c5d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bind the edge to another tensor. <a href="#aa4dfdb91786eda8e0c3b532809a2c5d9">More...</a><br /></td></tr>
<tr class="separator:aa4dfdb91786eda8e0c3b532809a2c5d9"><td class="memSeparator" colspan="2">&#160;</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:afab89afd724f1b07b1aaad6bdc61c47a"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml#afab89afd724f1b07b1aaad6bdc61c47a">Graph</a></td></tr>
<tr class="separator:afab89afd724f1b07b1aaad6bdc61c47a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class.">Graph</a> <a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml" title="Graph Edge.">Edge</a>. </p>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00039">39</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad509007a40c162c72383ed29620e25ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad509007a40c162c72383ed29620e25ca">&#9670;&nbsp;</a></span>Edge()</h2>
<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_1graph_1_1_edge.xhtml">Edge</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#abba17a56bbf16c7cbc7acd4aa54abcea">EdgeID</a>&#160;</td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *&#160;</td>
<td class="paramname"><em>producer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>producer_idx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_i_node.xhtml">INode</a> *&#160;</td>
<td class="paramname"><em>consumer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int&#160;</td>
<td class="paramname"><em>consumer_idx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a> *&#160;</td>
<td class="paramname"><em>tensor</em>&#160;</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>Default Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">id</td><td><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml" title="Graph Edge.">Edge</a> id </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">producer</td><td>Producer node id </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">producer_idx</td><td>Producer node output index </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">consumer</td><td>Consumer node id </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">consumer_idx</td><td>Consumer node input index </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor object.">Tensor</a> associated with the edge </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00051">51</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; : _id(<span class="keywordtype">id</span>), _producer(<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#acef46a426a99b126a412e361125f2ce9">producer</a>), _consumer(<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#a592a2c76b00960964a3f6f2ef792a7f0">consumer</a>), _producer_idx(<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#acacab4f2a903f45180eb30f5ef1ae678">producer_idx</a>), _consumer_idx(<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#a494ac7ad19390258426e1e0577c71c91">consumer_idx</a>), _tensor(<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#aff6b38772acc09675f4f64e510e31055">tensor</a>)</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; }</div><div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_a494ac7ad19390258426e1e0577c71c91"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#a494ac7ad19390258426e1e0577c71c91">arm_compute::graph::Edge::consumer_idx</a></div><div class="ttdeci">unsigned int consumer_idx() const</div><div class="ttdoc">Returns the index of the input that consumes the result in the consumer node.</div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00108">Edge.h:108</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_a592a2c76b00960964a3f6f2ef792a7f0"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#a592a2c76b00960964a3f6f2ef792a7f0">arm_compute::graph::Edge::consumer</a></div><div class="ttdeci">INode * consumer() const</div><div class="ttdoc">Returns consumer node.</div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00092">Edge.h:92</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_aff6b38772acc09675f4f64e510e31055"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#aff6b38772acc09675f4f64e510e31055">arm_compute::graph::Edge::tensor</a></div><div class="ttdeci">Tensor * tensor() const</div><div class="ttdoc">Returns the tensor associated with this edge.</div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00116">Edge.h:116</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_acacab4f2a903f45180eb30f5ef1ae678"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#acacab4f2a903f45180eb30f5ef1ae678">arm_compute::graph::Edge::producer_idx</a></div><div class="ttdeci">unsigned int producer_idx() const</div><div class="ttdoc">Returns the index of the output that produces the result in the producer node.</div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00100">Edge.h:100</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_acef46a426a99b126a412e361125f2ce9"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#acef46a426a99b126a412e361125f2ce9">arm_compute::graph::Edge::producer</a></div><div class="ttdeci">INode * producer() const</div><div class="ttdoc">Returns producer node.</div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00084">Edge.h:84</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a592a2c76b00960964a3f6f2ef792a7f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a592a2c76b00960964a3f6f2ef792a7f0">&#9670;&nbsp;</a></span>consumer()</h2>
<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_1graph_1_1_i_node.xhtml">INode</a>* consumer </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>Returns consumer node. </p>
<dl class="section return"><dt>Returns</dt><dd>Consumer node </dd></dl>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00092">92</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; {</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keywordflow">return</span> _consumer;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; }</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="_topological_sort_8cpp_source.xhtml#l00072">arm_compute::graph::bfs()</a>, <a class="el" href="_topological_sort_8cpp_source.xhtml#l00127">arm_compute::graph::dfs()</a>, <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00043">arm_compute::graph::detail::fuse_convolution_with_batch_normalization()</a>, <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00127">arm_compute::graph::detail::fuse_depthwise_convolution_with_batch_normalization()</a>, <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00205">arm_compute::graph::detail::fuse_node_with_activation()</a>, and <a class="el" href="_graph_8cpp_source.xhtml#l00118">Graph::remove_connection()</a>.</p>
</div>
</div>
<a id="ad00e584f78c622e5ee9ec9613f6d6633"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad00e584f78c622e5ee9ec9613f6d6633">&#9670;&nbsp;</a></span>consumer_id()</h2>
<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_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> consumer_id </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>Returns sink node id. </p>
<dl class="section return"><dt>Returns</dt><dd>Sink node id </dd></dl>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00076">76</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; {</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keywordflow">return</span> (_consumer == <span class="keyword">nullptr</span>) ? <a class="code" href="namespacearm__compute_1_1graph.xhtml#aad3f5296ec88b9d552c109b04b89ad9f">EmptyNodeID</a> : _consumer-&gt;<a class="code" href="classarm__compute_1_1graph_1_1_i_node.xhtml#a5ea90a25ef8059df2d2e51b82991ebf3">id</a>();</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; }</div><div class="ttc" id="classarm__compute_1_1graph_1_1_i_node_xhtml_a5ea90a25ef8059df2d2e51b82991ebf3"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_i_node.xhtml#a5ea90a25ef8059df2d2e51b82991ebf3">arm_compute::graph::INode::id</a></div><div class="ttdeci">NodeID id() const</div><div class="ttdoc">Returns node's ID.</div><div class="ttdef"><b>Definition:</b> <a href="_i_node_8cpp_source.xhtml#l00102">INode.cpp:102</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_aad3f5296ec88b9d552c109b04b89ad9f"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#aad3f5296ec88b9d552c109b04b89ad9f">arm_compute::graph::EmptyNodeID</a></div><div class="ttdeci">constexpr NodeID EmptyNodeID</div><div class="ttdoc">Constant EdgeID specifying an equivalent of null edge.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00071">Types.h:71</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="arm__compute_2graph_2_types_8h_source.xhtml#l00071">arm_compute::graph::EmptyNodeID</a>, and <a class="el" href="_i_node_8cpp_source.xhtml#l00102">INode::id()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_graph_8cpp_source.xhtml#l00069">Graph::add_connection()</a>, <a class="el" href="_topological_sort_8cpp_source.xhtml#l00072">arm_compute::graph::bfs()</a>, <a class="el" href="_topological_sort_8cpp_source.xhtml#l00127">arm_compute::graph::dfs()</a>, <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00043">arm_compute::graph::detail::fuse_convolution_with_batch_normalization()</a>, <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00127">arm_compute::graph::detail::fuse_depthwise_convolution_with_batch_normalization()</a>, and <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00205">arm_compute::graph::detail::fuse_node_with_activation()</a>.</p>
</div>
</div>
<a id="a494ac7ad19390258426e1e0577c71c91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a494ac7ad19390258426e1e0577c71c91">&#9670;&nbsp;</a></span>consumer_idx()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">unsigned int consumer_idx </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>Returns the index of the input that consumes the result in the consumer node. </p>
<dl class="section return"><dt>Returns</dt><dd>Consumer node input index </dd></dl>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00108">108</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; {</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordflow">return</span> _consumer_idx;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; }</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="_graph_8cpp_source.xhtml#l00069">Graph::add_connection()</a>, and <a class="el" href="_graph_8cpp_source.xhtml#l00118">Graph::remove_connection()</a>.</p>
</div>
</div>
<a id="aefc98f9ead7dd39790ad7eac89843ef7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefc98f9ead7dd39790ad7eac89843ef7">&#9670;&nbsp;</a></span>id()</h2>
<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_1_1graph.xhtml#abba17a56bbf16c7cbc7acd4aa54abcea">EdgeID</a> id </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>Returns edge id. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml" title="Graph Edge.">Edge</a> id </dd></dl>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00060">60</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keywordflow">return</span> _id;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; }</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="_graph_8cpp_source.xhtml#l00069">Graph::add_connection()</a>.</p>
</div>
</div>
<a id="acef46a426a99b126a412e361125f2ce9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acef46a426a99b126a412e361125f2ce9">&#9670;&nbsp;</a></span>producer()</h2>
<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_1graph_1_1_i_node.xhtml">INode</a>* producer </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>Returns producer node. </p>
<dl class="section return"><dt>Returns</dt><dd>Producer node </dd></dl>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00084">84</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; {</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordflow">return</span> _producer;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; }</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="_topological_sort_8cpp_source.xhtml#l00046">arm_compute::graph::detail::all_inputs_are_visited()</a>, <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00043">arm_compute::graph::detail::fuse_convolution_with_batch_normalization()</a>, <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00127">arm_compute::graph::detail::fuse_depthwise_convolution_with_batch_normalization()</a>, <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00205">arm_compute::graph::detail::fuse_node_with_activation()</a>, <a class="el" href="_in_place_operation_mutator_8cpp_source.xhtml#l00038">InPlaceOperationMutator::mutate()</a>, <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00280">NodeFusionMutator::mutate()</a>, and <a class="el" href="_graph_8cpp_source.xhtml#l00118">Graph::remove_connection()</a>.</p>
</div>
</div>
<a id="a73b54dbd7dc72560e805067f2e68207c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73b54dbd7dc72560e805067f2e68207c">&#9670;&nbsp;</a></span>producer_id()</h2>
<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_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> producer_id </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>Returns producer node id. </p>
<dl class="section return"><dt>Returns</dt><dd>Producer node id </dd></dl>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00068">68</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; {</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordflow">return</span> (_producer == <span class="keyword">nullptr</span>) ? <a class="code" href="namespacearm__compute_1_1graph.xhtml#aad3f5296ec88b9d552c109b04b89ad9f">EmptyNodeID</a> : _producer-&gt;<a class="code" href="classarm__compute_1_1graph_1_1_i_node.xhtml#a5ea90a25ef8059df2d2e51b82991ebf3">id</a>();</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; }</div><div class="ttc" id="classarm__compute_1_1graph_1_1_i_node_xhtml_a5ea90a25ef8059df2d2e51b82991ebf3"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_i_node.xhtml#a5ea90a25ef8059df2d2e51b82991ebf3">arm_compute::graph::INode::id</a></div><div class="ttdeci">NodeID id() const</div><div class="ttdoc">Returns node's ID.</div><div class="ttdef"><b>Definition:</b> <a href="_i_node_8cpp_source.xhtml#l00102">INode.cpp:102</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_aad3f5296ec88b9d552c109b04b89ad9f"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#aad3f5296ec88b9d552c109b04b89ad9f">arm_compute::graph::EmptyNodeID</a></div><div class="ttdeci">constexpr NodeID EmptyNodeID</div><div class="ttdoc">Constant EdgeID specifying an equivalent of null edge.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00071">Types.h:71</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="arm__compute_2graph_2_types_8h_source.xhtml#l00071">arm_compute::graph::EmptyNodeID</a>, and <a class="el" href="_i_node_8cpp_source.xhtml#l00102">INode::id()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_graph_8cpp_source.xhtml#l00069">Graph::add_connection()</a>, <a class="el" href="_topological_sort_8cpp_source.xhtml#l00046">arm_compute::graph::detail::all_inputs_are_visited()</a>, <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00043">arm_compute::graph::detail::fuse_convolution_with_batch_normalization()</a>, <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00127">arm_compute::graph::detail::fuse_depthwise_convolution_with_batch_normalization()</a>, and <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00205">arm_compute::graph::detail::fuse_node_with_activation()</a>.</p>
</div>
</div>
<a id="acacab4f2a903f45180eb30f5ef1ae678"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acacab4f2a903f45180eb30f5ef1ae678">&#9670;&nbsp;</a></span>producer_idx()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">unsigned int producer_idx </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>Returns the index of the output that produces the result in the producer node. </p>
<dl class="section return"><dt>Returns</dt><dd>Producer node output index </dd></dl>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00100">100</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; {</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordflow">return</span> _producer_idx;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; }</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="_graph_8cpp_source.xhtml#l00069">Graph::add_connection()</a>.</p>
</div>
</div>
<a id="aff6b38772acc09675f4f64e510e31055"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff6b38772acc09675f4f64e510e31055">&#9670;&nbsp;</a></span>tensor()</h2>
<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_1graph_1_1_tensor.xhtml">Tensor</a>* tensor </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>Returns the tensor associated with this edge. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor object.">Tensor</a> id </dd></dl>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00116">116</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; {</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordflow">return</span> _tensor;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; }</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="_i_node_8cpp_source.xhtml#l00150">INode::input()</a>, <a class="el" href="_in_place_operation_mutator_8cpp_source.xhtml#l00038">InPlaceOperationMutator::mutate()</a>, <a class="el" href="_depth_concat_sub_tensor_mutator_8cpp_source.xhtml#l00045">DepthConcatSubTensorMutator::mutate()</a>, <a class="el" href="_graph_8cpp_source.xhtml#l00118">Graph::remove_connection()</a>, <a class="el" href="_i_node_8cpp_source.xhtml#l00076">INode::set_output_tensor()</a>, and <a class="el" href="_edge_8h_source.xhtml#l00134">Edge::update_bound_tensor()</a>.</p>
</div>
</div>
<a id="af20a11225e8c9ae2029e12f2ff05d95b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af20a11225e8c9ae2029e12f2ff05d95b">&#9670;&nbsp;</a></span>tensor_id()</h2>
<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_1_1graph.xhtml#a615af95e19b5d9f74d2760183566a9a3">TensorID</a> tensor_id </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>Returns the tensor id associated with this edge. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor object.">Tensor</a> id </dd></dl>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00124">124</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; {</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <span class="keywordflow">return</span> (_tensor == <span class="keyword">nullptr</span>) ? <a class="code" href="namespacearm__compute_1_1graph.xhtml#aa94938a3eb11fda4724c362c53c28f24">NullTensorID</a> : _tensor-&gt;<a class="code" href="classarm__compute_1_1graph_1_1_tensor.xhtml#a738f5e449958bed64c970006375540fd">id</a>();</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; }</div><div class="ttc" id="classarm__compute_1_1graph_1_1_tensor_xhtml_a738f5e449958bed64c970006375540fd"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_tensor.xhtml#a738f5e449958bed64c970006375540fd">arm_compute::graph::Tensor::id</a></div><div class="ttdeci">TensorID id() const</div><div class="ttdoc">Tensor ID accessor.</div><div class="ttdef"><b>Definition:</b> <a href="graph_2_tensor_8cpp_source.xhtml#l00035">Tensor.cpp:35</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_aa94938a3eb11fda4724c362c53c28f24"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#aa94938a3eb11fda4724c362c53c28f24">arm_compute::graph::NullTensorID</a></div><div class="ttdeci">constexpr TensorID NullTensorID</div><div class="ttdoc">Constant NodeID specifying an equivalent of null node.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00069">Types.h:69</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="graph_2_tensor_8cpp_source.xhtml#l00035">Tensor::id()</a>, and <a class="el" href="arm__compute_2graph_2_types_8h_source.xhtml#l00069">arm_compute::graph::NullTensorID</a>.</p>
<p class="reference">Referenced by <a class="el" href="_i_node_8cpp_source.xhtml#l00137">INode::input_id()</a>.</p>
</div>
</div>
<a id="aa4dfdb91786eda8e0c3b532809a2c5d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4dfdb91786eda8e0c3b532809a2c5d9">&#9670;&nbsp;</a></span>update_bound_tensor()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void update_bound_tensor </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml">Tensor</a> *&#160;</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">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Bind the edge to another tensor. </p>
<dl class="section note"><dt>Note</dt><dd>If tensor is nullptr then nothing happens</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1graph_1_1_tensor.xhtml" title="Tensor object.">Tensor</a> to bind the edge to </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00134">134</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; {</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; _tensor = (<a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#aff6b38772acc09675f4f64e510e31055">tensor</a> != <span class="keyword">nullptr</span>) ? <a class="code" href="classarm__compute_1_1graph_1_1_edge.xhtml#aff6b38772acc09675f4f64e510e31055">tensor</a> : _tensor;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; }</div><div class="ttc" id="classarm__compute_1_1graph_1_1_edge_xhtml_aff6b38772acc09675f4f64e510e31055"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_edge.xhtml#aff6b38772acc09675f4f64e510e31055">arm_compute::graph::Edge::tensor</a></div><div class="ttdeci">Tensor * tensor() const</div><div class="ttdoc">Returns the tensor associated with this edge.</div><div class="ttdef"><b>Definition:</b> <a href="_edge_8h_source.xhtml#l00116">Edge.h:116</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="_edge_8h_source.xhtml#l00116">Edge::tensor()</a>.</p>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="afab89afd724f1b07b1aaad6bdc61c47a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afab89afd724f1b07b1aaad6bdc61c47a">&#9670;&nbsp;</a></span>Graph</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a></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 class="definition">Definition at line <a class="el" href="_edge_8h_source.xhtml#l00140">140</a> of file <a class="el" href="_edge_8h_source.xhtml">Edge.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>arm_compute/graph/<a class="el" href="_edge_8h_source.xhtml">Edge.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_1graph.xhtml">graph</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1graph_1_1_edge.xhtml">Edge</a></li>
<li class="footer">Generated on Mon Sep 2 2019 11:47:39 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
</div>
</body>
</html>