blob: 3659afbb383547a7516f8ab995de99408b4e1411 [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: GraphValidateExample&lt; LayerT, OptionsT, VerifyAccessorT &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @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_1utils_1_1_graph_validate_example.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="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">GraphValidateExample&lt; LayerT, OptionsT, VerifyAccessorT &gt; Class Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="graph__validate__utils_8h_source.xhtml">graph_validate_utils.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for GraphValidateExample&lt; LayerT, OptionsT, VerifyAccessorT &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1utils_1_1_graph_validate_example__coll__graph.svg" width="278" height="218"><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:a6317f8808712f431f21e4e1f5f97c27d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a6317f8808712f431f21e4e1f5f97c27d">GraphValidateExample</a> (std::string name)</td></tr>
<tr class="separator:a6317f8808712f431f21e4e1f5f97c27d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b395f46b21240793aa165220d0d1e1c"><td class="memItemLeft" align="right" valign="top">virtual LayerT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a7b395f46b21240793aa165220d0d1e1c">GraphFunctionLayer</a> (<a class="el" href="structarm__compute_1_1utils_1_1_example_params.xhtml">ExampleParams</a> &amp;params)=0</td></tr>
<tr class="separator:a7b395f46b21240793aa165220d0d1e1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca0c669baad0b2ff3c1bdb38fdd77185"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#aca0c669baad0b2ff3c1bdb38fdd77185">do_setup</a> (int argc, char **argv) override</td></tr>
<tr class="memdesc:aca0c669baad0b2ff3c1bdb38fdd77185"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup the example. <a href="#aca0c669baad0b2ff3c1bdb38fdd77185">More...</a><br /></td></tr>
<tr class="separator:aca0c669baad0b2ff3c1bdb38fdd77185"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab539da12e42174ad1a667f75b77a65c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#ab539da12e42174ad1a667f75b77a65c1">do_run</a> () override</td></tr>
<tr class="memdesc:ab539da12e42174ad1a667f75b77a65c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the example. <a href="#ab539da12e42174ad1a667f75b77a65c1">More...</a><br /></td></tr>
<tr class="separator:ab539da12e42174ad1a667f75b77a65c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad661ffd89241c1465c142b9d1f22f3d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#ad661ffd89241c1465c142b9d1f22f3d3">do_teardown</a> () override</td></tr>
<tr class="memdesc:ad661ffd89241c1465c142b9d1f22f3d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Teardown the example. <a href="#ad661ffd89241c1465c142b9d1f22f3d3">More...</a><br /></td></tr>
<tr class="separator:ad661ffd89241c1465c142b9d1f22f3d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classarm__compute_1_1utils_1_1_validate_example"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1utils_1_1_validate_example')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm__compute_1_1utils_1_1_validate_example.xhtml">ValidateExample</a></td></tr>
<tr class="memitem:a69a49661f6327627d02e346dbb844665 inherit pub_methods_classarm__compute_1_1utils_1_1_validate_example"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1utils_1_1_validate_example.xhtml#a69a49661f6327627d02e346dbb844665">do_validate</a> ()</td></tr>
<tr class="memdesc:a69a49661f6327627d02e346dbb844665 inherit pub_methods_classarm__compute_1_1utils_1_1_validate_example"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run reference implementation and validate against the target output. <a href="classarm__compute_1_1utils_1_1_validate_example.xhtml#a69a49661f6327627d02e346dbb844665">More...</a><br /></td></tr>
<tr class="separator:a69a49661f6327627d02e346dbb844665 inherit pub_methods_classarm__compute_1_1utils_1_1_validate_example"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca06e978832068201e20118b1eb56669 inherit pub_methods_classarm__compute_1_1utils_1_1_validate_example"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1utils_1_1_validate_example.xhtml#aca06e978832068201e20118b1eb56669">print_parameters</a> (<a class="el" href="classarm__compute_1_1test_1_1framework_1_1_printer.xhtml">test::framework::Printer</a> &amp;printer)</td></tr>
<tr class="memdesc:aca06e978832068201e20118b1eb56669 inherit pub_methods_classarm__compute_1_1utils_1_1_validate_example"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print the example parameters. <a href="classarm__compute_1_1utils_1_1_validate_example.xhtml#aca06e978832068201e20118b1eb56669">More...</a><br /></td></tr>
<tr class="separator:aca06e978832068201e20118b1eb56669 inherit pub_methods_classarm__compute_1_1utils_1_1_validate_example"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9682d6d5f3c5db900dcfee087fadb901 inherit pub_methods_classarm__compute_1_1utils_1_1_validate_example"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1utils_1_1_validate_example.xhtml#a9682d6d5f3c5db900dcfee087fadb901">~ValidateExample</a> ()=default</td></tr>
<tr class="memdesc:a9682d6d5f3c5db900dcfee087fadb901 inherit pub_methods_classarm__compute_1_1utils_1_1_validate_example"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor. <a href="classarm__compute_1_1utils_1_1_validate_example.xhtml#a9682d6d5f3c5db900dcfee087fadb901">More...</a><br /></td></tr>
<tr class="separator:a9682d6d5f3c5db900dcfee087fadb901 inherit pub_methods_classarm__compute_1_1utils_1_1_validate_example"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a07594d6d567cdd219788762307f60941"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml">arm_compute::graph::frontend::Stream</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a07594d6d567cdd219788762307f60941">graph</a></td></tr>
<tr class="separator:a07594d6d567cdd219788762307f60941"><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 LayerT, typename OptionsT, template&lt; typename D &gt; class VerifyAccessorT&gt;<br />
class arm_compute::utils::GraphValidateExample&lt; LayerT, OptionsT, VerifyAccessorT &gt;</h3>
<p class="definition">Definition at line <a class="el" href="graph__validate__utils_8h_source.xhtml#l00629">629</a> of file <a class="el" href="graph__validate__utils_8h_source.xhtml">graph_validate_utils.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a6317f8808712f431f21e4e1f5f97c27d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6317f8808712f431f21e4e1f5f97c27d">&#9670;&nbsp;</a></span>GraphValidateExample()</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_1utils_1_1_graph_validate_example.xhtml">GraphValidateExample</a> </td>
<td>(</td>
<td class="paramtype">std::string&#160;</td>
<td class="paramname"><em>name</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 class="definition">Definition at line <a class="el" href="graph__validate__utils_8h_source.xhtml#l00632">632</a> of file <a class="el" href="graph__validate__utils_8h_source.xhtml">graph_validate_utils.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160; : <a class="code" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a07594d6d567cdd219788762307f60941">graph</a>(0, name)</div><div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160; {</div><div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160; }</div><div class="ttc" id="classarm__compute_1_1utils_1_1_graph_validate_example_xhtml_a07594d6d567cdd219788762307f60941"><div class="ttname"><a href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a07594d6d567cdd219788762307f60941">arm_compute::utils::GraphValidateExample::graph</a></div><div class="ttdeci">arm_compute::graph::frontend::Stream graph</div><div class="ttdef"><b>Definition:</b> <a href="graph__validate__utils_8h_source.xhtml#l00691">graph_validate_utils.h:691</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab539da12e42174ad1a667f75b77a65c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab539da12e42174ad1a667f75b77a65c1">&#9670;&nbsp;</a></span>do_run()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void do_run </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Run the example. </p>
<p>Reimplemented from <a class="el" href="classarm__compute_1_1utils_1_1_validate_example.xhtml#a90b4bc2c4bae857bc3536f4a18e29772">ValidateExample</a>.</p>
<p class="definition">Definition at line <a class="el" href="graph__validate__utils_8h_source.xhtml#l00682">682</a> of file <a class="el" href="graph__validate__utils_8h_source.xhtml">graph_validate_utils.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; {</div><div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160; <a class="code" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a07594d6d567cdd219788762307f60941">graph</a>.<a class="code" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a13a43e6d814de94978c515cb084873b1">run</a>();</div><div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160; }</div><div class="ttc" id="classarm__compute_1_1graph_1_1frontend_1_1_stream_xhtml_a13a43e6d814de94978c515cb084873b1"><div class="ttname"><a href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a13a43e6d814de94978c515cb084873b1">arm_compute::graph::frontend::Stream::run</a></div><div class="ttdeci">void run()</div><div class="ttdoc">Executes the stream.</div><div class="ttdef"><b>Definition:</b> <a href="_stream_8cpp_source.xhtml#l00047">Stream.cpp:47</a></div></div>
<div class="ttc" id="classarm__compute_1_1utils_1_1_graph_validate_example_xhtml_a07594d6d567cdd219788762307f60941"><div class="ttname"><a href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a07594d6d567cdd219788762307f60941">arm_compute::utils::GraphValidateExample::graph</a></div><div class="ttdeci">arm_compute::graph::frontend::Stream graph</div><div class="ttdef"><b>Definition:</b> <a href="graph__validate__utils_8h_source.xhtml#l00691">graph_validate_utils.h:691</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="aca0c669baad0b2ff3c1bdb38fdd77185"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca0c669baad0b2ff3c1bdb38fdd77185">&#9670;&nbsp;</a></span>do_setup()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool do_setup </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>argc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char **&#160;</td>
<td class="paramname"><em>argv</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 class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Setup the example. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">argc</td><td>Argument count. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">argv</td><td>Argument values. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="classarm__compute_1_1utils_1_1_validate_example.xhtml#ae678db013a8393ad2799a7de8b2b9304">ValidateExample</a>.</p>
<p class="definition">Definition at line <a class="el" href="graph__validate__utils_8h_source.xhtml#l00639">639</a> of file <a class="el" href="graph__validate__utils_8h_source.xhtml">graph_validate_utils.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160; {</div><div class="line"><a name="l00641"></a><span class="lineno"> 641</span>&#160; CommandLineParser <a class="code" href="namespace_gemm_tuner.xhtml#a90eee7a4677ca8b1ed116364a24367f9">parser</a>;</div><div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160;</div><div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160; OptionsT Options(<a class="code" href="namespace_gemm_tuner.xhtml#a90eee7a4677ca8b1ed116364a24367f9">parser</a>);</div><div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160;</div><div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160; <a class="code" href="namespace_gemm_tuner.xhtml#a90eee7a4677ca8b1ed116364a24367f9">parser</a>.parse(argc, argv);</div><div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160;</div><div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160; ExampleParams params;</div><div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160;</div><div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160; Options.consume_common_parameters(params);</div><div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160; Options.consume_parameters(params);</div><div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160;</div><div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; <span class="keywordflow">if</span>(params.common_params.help)</div><div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160; {</div><div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160; <a class="code" href="namespace_gemm_tuner.xhtml#a90eee7a4677ca8b1ed116364a24367f9">parser</a>.print_help(argv[0]);</div><div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160; }</div><div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160;</div><div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; Options.print_parameters(std::cout, params);</div><div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160; <span class="comment">// Create input descriptor</span></div><div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160; <span class="keyword">const</span> TensorShape <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ae59e3cf27216b7361c71cbd2830ec4c2">input_shape</a> = <a class="code" href="namespacearm__compute_1_1graph__utils.xhtml#ab3a897163a7fe23208f1d9c618062ee2">arm_compute::graph_utils::permute_shape</a>(TensorShape(params.input.width, params.input.height, params.input.fm, params.input.batch),</div><div class="line"><a name="l00661"></a><span class="lineno"> 661</span>&#160; <a class="code" href="namespacearm__compute.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0a6b99f356fe3b30a2a850b5ea897c289f">DataLayout::NCHW</a>, params.data_layout);</div><div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160; <a class="code" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml">arm_compute::graph::TensorDescriptor</a> input_descriptor = <a class="code" href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml">arm_compute::graph::TensorDescriptor</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ae59e3cf27216b7361c71cbd2830ec4c2">input_shape</a>, params.data_type, params.input.quant_info, params.data_layout);</div><div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160;</div><div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; <span class="keyword">const</span> PixelValue lower = PixelValue(params.input.range_low, params.data_type, params.input.quant_info);</div><div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; <span class="keyword">const</span> PixelValue upper = PixelValue(params.input.range_high, params.data_type, params.input.quant_info);</div><div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160;</div><div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160; <a class="code" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a07594d6d567cdd219788762307f60941">graph</a> &lt;&lt; params.common_params.target</div><div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160; &lt;&lt; params.convolution_method</div><div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; &lt;&lt; params.depth_convolution_method</div><div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160; &lt;&lt; <a class="code" href="classarm__compute_1_1graph_1_1frontend_1_1_input_layer.xhtml">arm_compute::graph::frontend::InputLayer</a>(input_descriptor, <a class="code" href="namespacearm__compute_1_1utils.xhtml#ac71977d367133149be76363b0915c3af">get_accessor</a>(params.input, lower, upper, 0))</div><div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160; &lt;&lt; <a class="code" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a7b395f46b21240793aa165220d0d1e1c">GraphFunctionLayer</a>(params)</div><div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160; &lt;&lt; <a class="code" href="classarm__compute_1_1graph_1_1frontend_1_1_output_layer.xhtml">arm_compute::graph::frontend::OutputLayer</a>(get_verify_accessor&lt;VerifyAccessorT&gt;(params));</div><div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160;</div><div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160; <a class="code" href="structarm__compute_1_1graph_1_1_graph_config.xhtml">arm_compute::graph::GraphConfig</a> config;</div><div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160; config.<a class="code" href="structarm__compute_1_1graph_1_1_graph_config.xhtml#a08963f7335eef295237ab460863bc3d5">num_threads</a> = params.common_params.threads;</div><div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160;</div><div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160; <a class="code" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a07594d6d567cdd219788762307f60941">graph</a>.<a class="code" href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a4fe26fc31f2479b7c24c6e3640127246">finalize</a>(params.common_params.target, config);</div><div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160;</div><div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160; }</div><div class="ttc" id="structarm__compute_1_1graph_1_1_graph_config_xhtml"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_graph_config.xhtml">arm_compute::graph::GraphConfig</a></div><div class="ttdoc">Graph configuration structure Device target types.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00078">Types.h:78</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_tensor_descriptor_xhtml"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_tensor_descriptor.xhtml">arm_compute::graph::TensorDescriptor</a></div><div class="ttdoc">Tensor metadata class.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_descriptor_8h_source.xhtml#l00038">TensorDescriptor.h:38</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1utils_xhtml_ac71977d367133149be76363b0915c3af"><div class="ttname"><a href="namespacearm__compute_1_1utils.xhtml#ac71977d367133149be76363b0915c3af">arm_compute::utils::get_accessor</a></div><div class="ttdeci">std::unique_ptr&lt; graph::ITensorAccessor &gt; get_accessor(const TensorParams &amp;tensor, PixelValue lower, PixelValue upper, const std::random_device::result_type seed=0)</div><div class="ttdoc">Generates appropriate accessor according to the specified graph parameters.</div><div class="ttdef"><b>Definition:</b> <a href="graph__validate__utils_8h_source.xhtml#l00336">graph_validate_utils.h:336</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_ae59e3cf27216b7361c71cbd2830ec4c2"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#ae59e3cf27216b7361c71cbd2830ec4c2">arm_compute::test::validation::input_shape</a></div><div class="ttdeci">input_shape</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_convolution_layer_8cpp_source.xhtml#l00182">ConvolutionLayer.cpp:182</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1frontend_1_1_input_layer_xhtml"><div class="ttname"><a href="classarm__compute_1_1graph_1_1frontend_1_1_input_layer.xhtml">arm_compute::graph::frontend::InputLayer</a></div><div class="ttdoc">Input Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_layers_8h_source.xhtml#l00045">Layers.h:45</a></div></div>
<div class="ttc" id="namespacearm__compute_xhtml_ad1d5cce2d9e9a5d61c243e5c989112e0a6b99f356fe3b30a2a850b5ea897c289f"><div class="ttname"><a href="namespacearm__compute.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0a6b99f356fe3b30a2a850b5ea897c289f">arm_compute::DataLayout::NCHW</a></div><div class="ttdoc">Num samples, channels, height, width.</div></div>
<div class="ttc" id="namespacearm__compute_1_1graph__utils_xhtml_ab3a897163a7fe23208f1d9c618062ee2"><div class="ttname"><a href="namespacearm__compute_1_1graph__utils.xhtml#ab3a897163a7fe23208f1d9c618062ee2">arm_compute::graph_utils::permute_shape</a></div><div class="ttdeci">TensorShape permute_shape(TensorShape tensor_shape, DataLayout in_data_layout, DataLayout out_data_layout)</div><div class="ttdoc">Permutes a given tensor shape given the input and output data layout.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_utils_8h_source.xhtml#l00664">GraphUtils.h:664</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1frontend_1_1_stream_xhtml_a4fe26fc31f2479b7c24c6e3640127246"><div class="ttname"><a href="classarm__compute_1_1graph_1_1frontend_1_1_stream.xhtml#a4fe26fc31f2479b7c24c6e3640127246">arm_compute::graph::frontend::Stream::finalize</a></div><div class="ttdeci">void finalize(Target target, const GraphConfig &amp;config)</div><div class="ttdoc">Finalizes the stream for an execution target.</div><div class="ttdef"><b>Definition:</b> <a href="_stream_8cpp_source.xhtml#l00040">Stream.cpp:40</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1frontend_1_1_output_layer_xhtml"><div class="ttname"><a href="classarm__compute_1_1graph_1_1frontend_1_1_output_layer.xhtml">arm_compute::graph::frontend::OutputLayer</a></div><div class="ttdoc">Output Layer.</div><div class="ttdef"><b>Definition:</b> <a href="_layers_8h_source.xhtml#l00095">Layers.h:95</a></div></div>
<div class="ttc" id="classarm__compute_1_1utils_1_1_graph_validate_example_xhtml_a7b395f46b21240793aa165220d0d1e1c"><div class="ttname"><a href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a7b395f46b21240793aa165220d0d1e1c">arm_compute::utils::GraphValidateExample::GraphFunctionLayer</a></div><div class="ttdeci">virtual LayerT GraphFunctionLayer(ExampleParams &amp;params)=0</div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_graph_config_xhtml_a08963f7335eef295237ab460863bc3d5"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_graph_config.xhtml#a08963f7335eef295237ab460863bc3d5">arm_compute::graph::GraphConfig::num_threads</a></div><div class="ttdeci">int num_threads</div><div class="ttdoc">Number of threads to use (thread capable backends), if 0 the backend will auto-initialize,...</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00086">Types.h:86</a></div></div>
<div class="ttc" id="namespace_gemm_tuner_xhtml_a90eee7a4677ca8b1ed116364a24367f9"><div class="ttname"><a href="namespace_gemm_tuner.xhtml#a90eee7a4677ca8b1ed116364a24367f9">GemmTuner.parser</a></div><div class="ttdeci">parser</div><div class="ttdef"><b>Definition:</b> <a href="_gemm_tuner_8py_source.xhtml#l00520">GemmTuner.py:520</a></div></div>
<div class="ttc" id="classarm__compute_1_1utils_1_1_graph_validate_example_xhtml_a07594d6d567cdd219788762307f60941"><div class="ttname"><a href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml#a07594d6d567cdd219788762307f60941">arm_compute::utils::GraphValidateExample::graph</a></div><div class="ttdeci">arm_compute::graph::frontend::Stream graph</div><div class="ttdef"><b>Definition:</b> <a href="graph__validate__utils_8h_source.xhtml#l00691">graph_validate_utils.h:691</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ad661ffd89241c1465c142b9d1f22f3d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad661ffd89241c1465c142b9d1f22f3d3">&#9670;&nbsp;</a></span>do_teardown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void do_teardown </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Teardown the example. </p>
<p>Reimplemented from <a class="el" href="classarm__compute_1_1utils_1_1_validate_example.xhtml#a9b3acd6be09cf86066760caaa89f7be5">ValidateExample</a>.</p>
<p class="definition">Definition at line <a class="el" href="graph__validate__utils_8h_source.xhtml#l00687">687</a> of file <a class="el" href="graph__validate__utils_8h_source.xhtml">graph_validate_utils.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; {</div><div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; }</div></div><!-- fragment -->
</div>
</div>
<a id="a7b395f46b21240793aa165220d0d1e1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b395f46b21240793aa165220d0d1e1c">&#9670;&nbsp;</a></span>GraphFunctionLayer()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual LayerT GraphFunctionLayer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structarm__compute_1_1utils_1_1_example_params.xhtml">ExampleParams</a> &amp;&#160;</td>
<td class="paramname"><em>params</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<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>
<h2 class="groupheader">Field Documentation</h2>
<a id="a07594d6d567cdd219788762307f60941"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07594d6d567cdd219788762307f60941">&#9670;&nbsp;</a></span>graph</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">arm_compute::graph::frontend::Stream</a> graph</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="graph__validate__utils_8h_source.xhtml#l00691">691</a> of file <a class="el" href="graph__validate__utils_8h_source.xhtml">graph_validate_utils.h</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>, and <a class="el" href="graph__validate__utils_8h_source.xhtml#l00639">GraphValidateExample&lt; DepthwiseConvolutionLayer, DepthConvolutionOptions, DepthConvolutionVerifyAccessor &gt;::do_setup()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>tests/validate_examples/<a class="el" href="graph__validate__utils_8h_source.xhtml">graph_validate_utils.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_1utils.xhtml">utils</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1utils_1_1_graph_validate_example.xhtml">GraphValidateExample</a></li>
<li class="footer">Generated on Thu Mar 5 2020 16:07:20 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>