blob: 244f591a3afeb84a3b2e0c726ddfb7bb0967024d [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: Stream 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">20.02.1</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_1frontend_1_1_stream.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> </div>
<div class="headertitle">
<div class="title">Stream 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_1frontend_1_1_stream.xhtml" title="Stream frontend class to construct simple graphs in a stream fashion.">Stream</a> frontend class to construct simple graphs in a stream fashion.
<a href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_stream_8h_source.xhtml">Stream.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for Stream:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1graph_1_1frontend_1_1_stream__coll__graph.svg" width="84" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.xhtml">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ace44f45b8083003a71ecd0a5615ddc9e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#ace44f45b8083003a71ecd0a5615ddc9e">Stream</a> (size_t id, std::string name)</td></tr>
<tr class="memdesc:ace44f45b8083003a71ecd0a5615ddc9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="#ace44f45b8083003a71ecd0a5615ddc9e">More...</a><br /></td></tr>
<tr class="separator:ace44f45b8083003a71ecd0a5615ddc9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a441dcaebaaec86f15c520874e77b7c42"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a441dcaebaaec86f15c520874e77b7c42">Stream</a> (const <a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a> &amp;)=delete</td></tr>
<tr class="memdesc:a441dcaebaaec86f15c520874e77b7c42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers) <a href="#a441dcaebaaec86f15c520874e77b7c42">More...</a><br /></td></tr>
<tr class="separator:a441dcaebaaec86f15c520874e77b7c42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d63178268f86cacfbc82d521213e485"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a8d63178268f86cacfbc82d521213e485">Stream</a> (<a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a> &amp;&amp;)=default</td></tr>
<tr class="memdesc:a8d63178268f86cacfbc82d521213e485"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default move constructor. <a href="#a8d63178268f86cacfbc82d521213e485">More...</a><br /></td></tr>
<tr class="separator:a8d63178268f86cacfbc82d521213e485"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4be4b83054829b12ec645bb454e6b9cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a4be4b83054829b12ec645bb454e6b9cc">operator=</a> (const <a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a> &amp;)=delete</td></tr>
<tr class="memdesc:a4be4b83054829b12ec645bb454e6b9cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers) <a href="#a4be4b83054829b12ec645bb454e6b9cc">More...</a><br /></td></tr>
<tr class="separator:a4be4b83054829b12ec645bb454e6b9cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47609f455f49a8f991eff13b250d2077"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a47609f455f49a8f991eff13b250d2077">operator=</a> (<a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a> &amp;&amp;)=default</td></tr>
<tr class="memdesc:a47609f455f49a8f991eff13b250d2077"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default move assignment operator. <a href="#a47609f455f49a8f991eff13b250d2077">More...</a><br /></td></tr>
<tr class="separator:a47609f455f49a8f991eff13b250d2077"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fe26fc31f2479b7c24c6e3640127246"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a4fe26fc31f2479b7c24c6e3640127246">finalize</a> (<a class="el" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35d">Target</a> target, const <a class="el" href="structarm__compute_1_1graph_1_1_graph_config.xhtml">GraphConfig</a> &amp;config)</td></tr>
<tr class="memdesc:a4fe26fc31f2479b7c24c6e3640127246"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finalizes the stream for an execution target. <a href="#a4fe26fc31f2479b7c24c6e3640127246">More...</a><br /></td></tr>
<tr class="separator:a4fe26fc31f2479b7c24c6e3640127246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13a43e6d814de94978c515cb084873b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a13a43e6d814de94978c515cb084873b1">run</a> ()</td></tr>
<tr class="memdesc:a13a43e6d814de94978c515cb084873b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes the stream. <a href="#a13a43e6d814de94978c515cb084873b1">More...</a><br /></td></tr>
<tr class="separator:a13a43e6d814de94978c515cb084873b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a962a6d769f57dd2f1a0b8beb714fc6bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a962a6d769f57dd2f1a0b8beb714fc6bb">add_layer</a> (<a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_i_layer.xhtml">ILayer</a> &amp;layer) override</td></tr>
<tr class="memdesc:a962a6d769f57dd2f1a0b8beb714fc6bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a layer to the stream. <a href="#a962a6d769f57dd2f1a0b8beb714fc6bb">More...</a><br /></td></tr>
<tr class="separator:a962a6d769f57dd2f1a0b8beb714fc6bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e4fdf6dbe73cb6da5cc36976cff9fa7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a7e4fdf6dbe73cb6da5cc36976cff9fa7">graph</a> () override</td></tr>
<tr class="memdesc:a7e4fdf6dbe73cb6da5cc36976cff9fa7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the underlying graph. <a href="#a7e4fdf6dbe73cb6da5cc36976cff9fa7">More...</a><br /></td></tr>
<tr class="separator:a7e4fdf6dbe73cb6da5cc36976cff9fa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab79f893c9414bcaa96a66b614a400b05"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#ab79f893c9414bcaa96a66b614a400b05">graph</a> () const override</td></tr>
<tr class="memdesc:ab79f893c9414bcaa96a66b614a400b05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the underlying graph. <a href="#ab79f893c9414bcaa96a66b614a400b05">More...</a><br /></td></tr>
<tr class="separator:ab79f893c9414bcaa96a66b614a400b05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_i_stream.xhtml">IStream</a></td></tr>
<tr class="memitem:a79a466f03b984179d44fe640cc2a98ef inherit pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_i_stream.xhtml#a79a466f03b984179d44fe640cc2a98ef">~IStream</a> ()=default</td></tr>
<tr class="separator:a79a466f03b984179d44fe640cc2a98ef inherit pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a110fbabe5b6b600f0f5b1fec06ab1484 inherit pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><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_1frontend_1_1_i_stream.xhtml#a110fbabe5b6b600f0f5b1fec06ab1484">tail_node</a> ()</td></tr>
<tr class="memdesc:a110fbabe5b6b600f0f5b1fec06ab1484 inherit pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tail node of the <a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml" title="Stream frontend class to construct simple graphs in a stream fashion.">Stream</a>. <a href="classarm__compute_1_1graph_1_1frontend_1_1_i_stream.xhtml#a110fbabe5b6b600f0f5b1fec06ab1484">More...</a><br /></td></tr>
<tr class="separator:a110fbabe5b6b600f0f5b1fec06ab1484 inherit pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75ce23fbe59cc58db22e1b6d072b10c6 inherit pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarm__compute_1_1graph_1_1frontend_1_1_stream_hints.xhtml">StreamHints</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_i_stream.xhtml#a75ce23fbe59cc58db22e1b6d072b10c6">hints</a> ()</td></tr>
<tr class="memdesc:a75ce23fbe59cc58db22e1b6d072b10c6 inherit pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stream hints that are currently used. <a href="classarm__compute_1_1graph_1_1frontend_1_1_i_stream.xhtml#a75ce23fbe59cc58db22e1b6d072b10c6">More...</a><br /></td></tr>
<tr class="separator:a75ce23fbe59cc58db22e1b6d072b10c6 inherit pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d1067259b70c7d8753be5062a4b9f6d inherit pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_i_stream.xhtml#a3d1067259b70c7d8753be5062a4b9f6d">forward_tail</a> (<a class="el" href="namespacearm__compute_1_1graph.xhtml#a56952a8591a9d8481450ae707ae355e7">NodeID</a> nid)</td></tr>
<tr class="memdesc:a3d1067259b70c7d8753be5062a4b9f6d inherit pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><td class="mdescLeft">&#160;</td><td class="mdescRight">Forwards tail of stream to a given nid. <a href="classarm__compute_1_1graph_1_1frontend_1_1_i_stream.xhtml#a3d1067259b70c7d8753be5062a4b9f6d">More...</a><br /></td></tr>
<tr class="separator:a3d1067259b70c7d8753be5062a4b9f6d inherit pub_methods_classarm__compute_1_1graph_1_1frontend_1_1_i_stream"><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_1frontend_1_1_stream.xhtml" title="Stream frontend class to construct simple graphs in a stream fashion.">Stream</a> frontend class to construct simple graphs in a stream fashion. </p>
<p class="definition">Definition at line <a class="el" href="_stream_8h_source.xhtml#l00045">45</a> of file <a class="el" href="_stream_8h_source.xhtml">Stream.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ace44f45b8083003a71ecd0a5615ddc9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace44f45b8083003a71ecd0a5615ddc9e">&#9670;&nbsp;</a></span>Stream() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a> </td>
<td>(</td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string&#160;</td>
<td class="paramname"><em>name</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>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_1frontend_1_1_stream.xhtml" title="Stream frontend class to construct simple graphs in a stream fashion.">Stream</a> id </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">name</td><td><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml" title="Stream frontend class to construct simple graphs in a stream fashion.">Stream</a> name </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_stream_8cpp_source.xhtml#l00035">35</a> of file <a class="el" href="_stream_8cpp_source.xhtml">Stream.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; : _ctx(), _manager(), _g(<span class="keywordtype">id</span>, std::move(name))</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;{</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="a441dcaebaaec86f15c520874e77b7c42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a441dcaebaaec86f15c520874e77b7c42">&#9670;&nbsp;</a></span>Stream() <span class="overload">[2/3]</span></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_1frontend_1_1_stream.xhtml">Stream</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a> &amp;&#160;</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>Prevent instances of this class from being copied (As this class contains pointers) </p>
</div>
</div>
<a id="a8d63178268f86cacfbc82d521213e485"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d63178268f86cacfbc82d521213e485">&#9670;&nbsp;</a></span>Stream() <span class="overload">[3/3]</span></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_1frontend_1_1_stream.xhtml">Stream</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a> &amp;&amp;&#160;</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>Default move constructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a962a6d769f57dd2f1a0b8beb714fc6bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a962a6d769f57dd2f1a0b8beb714fc6bb">&#9670;&nbsp;</a></span>add_layer()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void add_layer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_i_layer.xhtml">ILayer</a> &amp;&#160;</td>
<td class="paramname"><em>layer</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a layer to the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">layer</td><td>Layer to add </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_i_stream.xhtml#a1279b8b362e78d55d4951512f410b14e">IStream</a>.</p>
<p class="definition">Definition at line <a class="el" href="_stream_8cpp_source.xhtml#l00052">52</a> of file <a class="el" href="_stream_8cpp_source.xhtml">Stream.cpp</a>.</p>
<div class="fragment"><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; <span class="keyword">auto</span> nid = layer.create_layer(*<span class="keyword">this</span>);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; _tail_node = nid;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;}</div></div><!-- fragment -->
<p class="reference">References <a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_i_layer.xhtml#afd0f42ef97e62ef3b6849bcbb8a7533a">ILayer::create_layer()</a>.</p>
</div>
</div>
<a id="a4fe26fc31f2479b7c24c6e3640127246"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fe26fc31f2479b7c24c6e3640127246">&#9670;&nbsp;</a></span>finalize()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void finalize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35d">Target</a>&#160;</td>
<td class="paramname"><em>target</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structarm__compute_1_1graph_1_1_graph_config.xhtml">GraphConfig</a> &amp;&#160;</td>
<td class="paramname"><em>config</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Finalizes the stream for an execution target. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>Execution target </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">config</td><td>(Optional) <a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class.">Graph</a> configuration to use </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_stream_8cpp_source.xhtml#l00040">40</a> of file <a class="el" href="_stream_8cpp_source.xhtml">Stream.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;{</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; PassManager pm = <a class="code" href="namespacearm__compute_1_1graph.xhtml#a0a2d08174e24bcb1dfdf9d8893cd9363">create_default_pass_manager</a>(target, config);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; _ctx.<a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a22acc02bd87a26f9a08eb821bb35e75f">set_config</a>(config);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; _manager.<a class="code" href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#afb8c302dc3cdebfe987751793a9aa4b5">finalize_graph</a>(_g, _ctx, pm, target);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;}</div><div class="ttc" id="classarm__compute_1_1graph_1_1_graph_manager_xhtml_afb8c302dc3cdebfe987751793a9aa4b5"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#afb8c302dc3cdebfe987751793a9aa4b5">arm_compute::graph::GraphManager::finalize_graph</a></div><div class="ttdeci">void finalize_graph(Graph &amp;graph, GraphContext &amp;ctx, PassManager &amp;pm, Target target)</div><div class="ttdoc">Finalizes a given graph.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_manager_8cpp_source.xhtml#l00046">GraphManager.cpp:46</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_context_xhtml_a22acc02bd87a26f9a08eb821bb35e75f"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a22acc02bd87a26f9a08eb821bb35e75f">arm_compute::graph::GraphContext::set_config</a></div><div class="ttdeci">void set_config(const GraphConfig &amp;config)</div><div class="ttdoc">Sets graph configuration.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8cpp_source.xhtml#l00051">GraphContext.cpp:51</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_a0a2d08174e24bcb1dfdf9d8893cd9363"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#a0a2d08174e24bcb1dfdf9d8893cd9363">arm_compute::graph::create_default_pass_manager</a></div><div class="ttdeci">PassManager create_default_pass_manager(Target target, const GraphConfig &amp;cfg)</div><div class="ttdoc">Creates a default PassManager.</div><div class="ttdef"><b>Definition:</b> <a href="src_2graph_2_utils_8cpp_source.xhtml#l00077">Utils.cpp:77</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="src_2graph_2_utils_8cpp_source.xhtml#l00077">arm_compute::graph::create_default_pass_manager()</a>, <a class="el" href="_graph_manager_8cpp_source.xhtml#l00046">GraphManager::finalize_graph()</a>, and <a class="el" href="_graph_context_8cpp_source.xhtml#l00051">GraphContext::set_config()</a>.</p>
<p class="reference">Referenced by <a class="el" href="graph__validate__utils_8h_source.xhtml#l00639">GraphValidateExample&lt; DepthwiseConvolutionLayer, DepthConvolutionOptions, DepthConvolutionVerifyAccessor &gt;::do_setup()</a>.</p>
</div>
</div>
<a id="a7e4fdf6dbe73cb6da5cc36976cff9fa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e4fdf6dbe73cb6da5cc36976cff9fa7">&#9670;&nbsp;</a></span>graph() <span class="overload">[1/2]</span></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_graph.xhtml">Graph</a> &amp; graph </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the underlying graph. </p>
<dl class="section return"><dt>Returns</dt><dd>Underlying graph </dd></dl>
<p>Implements <a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_i_stream.xhtml#a2f9edb3a23ff98069aaa52590d53bf5f">IStream</a>.</p>
<p class="definition">Definition at line <a class="el" href="_stream_8cpp_source.xhtml#l00063">63</a> of file <a class="el" href="_stream_8cpp_source.xhtml">Stream.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;{</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordflow">return</span> _g;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="ab79f893c9414bcaa96a66b614a400b05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab79f893c9414bcaa96a66b614a400b05">&#9670;&nbsp;</a></span>graph() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &amp; graph </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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the underlying graph. </p>
<dl class="section return"><dt>Returns</dt><dd>Underlying graph </dd></dl>
<p>Implements <a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_i_stream.xhtml#ab9d564f9d6113ecafc98200face036b8">IStream</a>.</p>
<p class="definition">Definition at line <a class="el" href="_stream_8cpp_source.xhtml#l00058">58</a> of file <a class="el" href="_stream_8cpp_source.xhtml">Stream.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;{</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordflow">return</span> _g;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="a4be4b83054829b12ec645bb454e6b9cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4be4b83054829b12ec645bb454e6b9cc">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></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_1frontend_1_1_stream.xhtml">Stream</a>&amp; operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a> &amp;&#160;</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>Prevent instances of this class from being copied (As this class contains pointers) </p>
</div>
</div>
<a id="a47609f455f49a8f991eff13b250d2077"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47609f455f49a8f991eff13b250d2077">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></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_1frontend_1_1_stream.xhtml">Stream</a>&amp; operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a> &amp;&amp;&#160;</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>Default move assignment operator. </p>
</div>
</div>
<a id="a13a43e6d814de94978c515cb084873b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13a43e6d814de94978c515cb084873b1">&#9670;&nbsp;</a></span>run()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void run </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Executes the stream. </p>
<p class="definition">Definition at line <a class="el" href="_stream_8cpp_source.xhtml#l00047">47</a> of file <a class="el" href="_stream_8cpp_source.xhtml">Stream.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;{</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; _manager.<a class="code" href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#a4e179588488fda9085167dd70c29ff70">execute_graph</a>(_g);</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;}</div><div class="ttc" id="classarm__compute_1_1graph_1_1_graph_manager_xhtml_a4e179588488fda9085167dd70c29ff70"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#a4e179588488fda9085167dd70c29ff70">arm_compute::graph::GraphManager::execute_graph</a></div><div class="ttdeci">void execute_graph(Graph &amp;graph)</div><div class="ttdoc">Executes a graph.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_manager_8cpp_source.xhtml#l00112">GraphManager.cpp:112</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="_graph_manager_8cpp_source.xhtml#l00112">GraphManager::execute_graph()</a>.</p>
<p class="reference">Referenced by <a class="el" href="graph__validate__utils_8h_source.xhtml#l00682">GraphValidateExample&lt; DepthwiseConvolutionLayer, DepthConvolutionOptions, DepthConvolutionVerifyAccessor &gt;::do_run()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>arm_compute/graph/frontend/<a class="el" href="_stream_8h_source.xhtml">Stream.h</a></li>
<li>src/graph/frontend/<a class="el" href="_stream_8cpp_source.xhtml">Stream.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="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="namespacearm__compute_1_1graph_1_1frontend.xhtml">frontend</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">Stream</a></li>
<li class="footer">Generated on Thu Mar 5 2020 16:07:18 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>