| <!-- 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: NodeFusionMutator 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&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"> |
|  <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&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&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&dn=gpl-2.0.txt GPL-v2 */ |
| $(document).ready(function(){initNavTree('classarm__compute_1_1graph_1_1_node_fusion_mutator.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">NodeFusionMutator Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>Mutation pass to fuss nodes. |
| <a href="classarm__compute_1_1graph_1_1_node_fusion_mutator.xhtml#details">More...</a></p> |
| |
| <p><code>#include <<a class="el" href="_node_fusion_mutator_8h_source.xhtml">NodeFusionMutator.h</a>></code></p> |
| <div class="dynheader"> |
| Collaboration diagram for NodeFusionMutator:</div> |
| <div class="dyncontent"> |
| <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1graph_1_1_node_fusion_mutator__coll__graph.svg" width="158" 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:af6705a49326de235df4e9b6028bdcdce"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_node_fusion_mutator.xhtml#af6705a49326de235df4e9b6028bdcdce">mutate</a> (<a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &g) override</td></tr> |
| <tr class="memdesc:af6705a49326de235df4e9b6028bdcdce"><td class="mdescLeft"> </td><td class="mdescRight">Walk the graph and perform a specific mutation. <a href="#af6705a49326de235df4e9b6028bdcdce">More...</a><br /></td></tr> |
| <tr class="separator:af6705a49326de235df4e9b6028bdcdce"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae8dc84fc3eb9c937069826830b13b06d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a15c294efeadfdffb6b0735dd93aedfd9">MutationType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_node_fusion_mutator.xhtml#ae8dc84fc3eb9c937069826830b13b06d">type</a> () const override</td></tr> |
| <tr class="memdesc:ae8dc84fc3eb9c937069826830b13b06d"><td class="mdescLeft"> </td><td class="mdescRight">Returns mutation type. <a href="#ae8dc84fc3eb9c937069826830b13b06d">More...</a><br /></td></tr> |
| <tr class="separator:ae8dc84fc3eb9c937069826830b13b06d"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a0ee2c922a45715b33e30f83f8c005b68"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_node_fusion_mutator.xhtml#a0ee2c922a45715b33e30f83f8c005b68">name</a> () override</td></tr> |
| <tr class="memdesc:a0ee2c922a45715b33e30f83f8c005b68"><td class="mdescLeft"> </td><td class="mdescRight">Returns mutator name. <a href="#a0ee2c922a45715b33e30f83f8c005b68">More...</a><br /></td></tr> |
| <tr class="separator:a0ee2c922a45715b33e30f83f8c005b68"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="inherit_header pub_methods_classarm__compute_1_1graph_1_1_i_graph_mutator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1graph_1_1_i_graph_mutator')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml">IGraphMutator</a></td></tr> |
| <tr class="memitem:a1054c29b61d56a4f33633230b844c4d8 inherit pub_methods_classarm__compute_1_1graph_1_1_i_graph_mutator"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a1054c29b61d56a4f33633230b844c4d8">~IGraphMutator</a> ()=default</td></tr> |
| <tr class="memdesc:a1054c29b61d56a4f33633230b844c4d8 inherit pub_methods_classarm__compute_1_1graph_1_1_i_graph_mutator"><td class="mdescLeft"> </td><td class="mdescRight">Virtual Destructor. <a href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a1054c29b61d56a4f33633230b844c4d8">More...</a><br /></td></tr> |
| <tr class="separator:a1054c29b61d56a4f33633230b844c4d8 inherit pub_methods_classarm__compute_1_1graph_1_1_i_graph_mutator"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| Additional Inherited Members</h2></td></tr> |
| <tr class="inherit_header pub_types_classarm__compute_1_1graph_1_1_i_graph_mutator"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classarm__compute_1_1graph_1_1_i_graph_mutator')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml">IGraphMutator</a></td></tr> |
| <tr class="memitem:a15c294efeadfdffb6b0735dd93aedfd9 inherit pub_types_classarm__compute_1_1graph_1_1_i_graph_mutator"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a15c294efeadfdffb6b0735dd93aedfd9">MutationType</a> { <a class="el" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a15c294efeadfdffb6b0735dd93aedfd9a4f74d343f26bbd58a8cbbad2cab6a704">IR</a>, |
| <a class="el" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a15c294efeadfdffb6b0735dd93aedfd9a2e427c268ac1768b9add94b65e2d6c14">Backend</a> |
| }</td></tr> |
| <tr class="memdesc:a15c294efeadfdffb6b0735dd93aedfd9"><td class="mdescLeft"> </td><td class="mdescRight">Mutation type. <a href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a15c294efeadfdffb6b0735dd93aedfd9">More...</a><br /></td></tr> |
| <tr class="separator:a15c294efeadfdffb6b0735dd93aedfd9 inherit pub_types_classarm__compute_1_1graph_1_1_i_graph_mutator"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><p>Mutation pass to fuss nodes. </p> |
| |
| <p class="definition">Definition at line <a class="el" href="_node_fusion_mutator_8h_source.xhtml#l00035">35</a> of file <a class="el" href="_node_fusion_mutator_8h_source.xhtml">NodeFusionMutator.h</a>.</p> |
| </div><h2 class="groupheader">Member Function Documentation</h2> |
| <a id="af6705a49326de235df4e9b6028bdcdce"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#af6705a49326de235df4e9b6028bdcdce">◆ </a></span>mutate()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void mutate </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> & </td> |
| <td class="paramname"><em>g</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>Walk the graph and perform a specific mutation. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramdir">[in,out]</td><td class="paramname">g</td><td><a class="el" href="classarm__compute_1_1graph_1_1_graph.xhtml" title="Graph class.">Graph</a> to walk and mutate </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Implements <a class="el" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a5cbaa2df97059f21e84c1d4f3fef4694">IGraphMutator</a>.</p> |
| |
| <p class="definition">Definition at line <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00294">294</a> of file <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml">NodeFusionMutator.cpp</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> {</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="comment">// Supported activations when fusing</span></div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keyword">const</span> std::set<Activation> supported_fused_activations = { <a class="code" href="classarm__compute_1_1_activation_layer_info.xhtml#a56297e0f7b215eea46c818cb7528d9eaad346bb4679d29be241279f15d7795c1c">Activation::RELU</a>, <a class="code" href="classarm__compute_1_1_activation_layer_info.xhtml#a56297e0f7b215eea46c818cb7528d9eaacc516ab03b98f1c908ddf6ed4a7c45e9">Activation::BOUNDED_RELU</a>, <a class="code" href="classarm__compute_1_1_activation_layer_info.xhtml#a56297e0f7b215eea46c818cb7528d9eaaab1d4411a9e7f5e82002512cddfdc33a">Activation::LU_BOUNDED_RELU</a> };</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span> </div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="comment">// Preconditions</span></div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keyword">auto</span> empty_prec = [](INode &)</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  {</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  };</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keyword">auto</span> qs8_prec = [&g](INode & n)</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  {</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(n.output(0) == <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="keyword">const</span> <span class="keyword">auto</span> output_edge_id = *n.output_edges().begin();</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keyword">const</span> <span class="keyword">auto</span> output_edge = g.edge(output_edge_id);</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="comment">// To perform fusion the two nodes must have same output quantization information</span></div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keyword">const</span> <span class="keywordtype">bool</span> same_qinfo = n.output(0)->desc().quant_info == output_edge->producer()->output(0)->desc().quant_info;</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keyword">const</span> <span class="keywordtype">bool</span> output_qasymm8 = n.output(0)->desc().data_type == <a class="code" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6af14462d71aa842202c3e4b272c7ec924">DataType::QASYMM8</a>;</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span> </div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keywordflow">return</span> (output_qasymm8 && same_qinfo) || !output_qasymm8;</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  };</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span> </div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="comment">// Fusion mutations</span></div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  detail::fuse_layer<BatchNormalizationLayerNode, ActivationLayerNode>(g, empty_prec, detail::fuse_node_with_activation<BatchNormalizationLayerNode>, supported_fused_activations);</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  detail::fuse_layer<ConvolutionLayerNode, ActivationLayerNode>(g, empty_prec, detail::fuse_node_with_activation<ConvolutionLayerNode>, supported_fused_activations);</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  detail::fuse_layer<DepthwiseConvolutionLayerNode, ActivationLayerNode>(g, qs8_prec, detail::fuse_node_with_activation<DepthwiseConvolutionLayerNode>, supported_fused_activations);</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  detail::fuse_layer<ConvolutionLayerNode, BatchNormalizationLayerNode>(g, empty_prec, <a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#a501484d2b5f0213bbede4f44471c148b">detail::fuse_convolution_with_batch_normalization</a>);</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  detail::fuse_layer<DepthwiseConvolutionLayerNode, BatchNormalizationLayerNode>(g, empty_prec, <a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#a07811ee0f5c19da2658a647e6d7dc2fa">detail::fuse_depthwise_convolution_with_batch_normalization</a>);</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span> }</div><div class="ttc" id="classarm__compute_1_1_activation_layer_info_xhtml_a56297e0f7b215eea46c818cb7528d9eaad346bb4679d29be241279f15d7795c1c"><div class="ttname"><a href="classarm__compute_1_1_activation_layer_info.xhtml#a56297e0f7b215eea46c818cb7528d9eaad346bb4679d29be241279f15d7795c1c">arm_compute::ActivationLayerInfo::ActivationFunction::RELU</a></div><div class="ttdoc">Rectifier ( )</div></div> |
| <div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_a501484d2b5f0213bbede4f44471c148b"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#a501484d2b5f0213bbede4f44471c148b">arm_compute::graph::detail::fuse_convolution_with_batch_normalization</a></div><div class="ttdeci">void fuse_convolution_with_batch_normalization(Graph &g, const Edge *output_edge)</div><div class="ttdef"><b>Definition:</b> <a href="_node_fusion_mutator_8cpp_source.xhtml#l00043">NodeFusionMutator.cpp:43</a></div></div> |
| <div class="ttc" id="_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown.</div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00466">Error.h:466</a></div></div> |
| <div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_a07811ee0f5c19da2658a647e6d7dc2fa"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#a07811ee0f5c19da2658a647e6d7dc2fa">arm_compute::graph::detail::fuse_depthwise_convolution_with_batch_normalization</a></div><div class="ttdeci">void fuse_depthwise_convolution_with_batch_normalization(Graph &g, const Edge *output_edge)</div><div class="ttdef"><b>Definition:</b> <a href="_node_fusion_mutator_8cpp_source.xhtml#l00136">NodeFusionMutator.cpp:136</a></div></div> |
| <div class="ttc" id="namespacearm__compute_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6af14462d71aa842202c3e4b272c7ec924"><div class="ttname"><a href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6af14462d71aa842202c3e4b272c7ec924">arm_compute::DataType::QASYMM8</a></div><div class="ttdoc">quantized, asymmetric fixed-point 8-bit number unsigned</div></div> |
| <div class="ttc" id="classarm__compute_1_1_activation_layer_info_xhtml_a56297e0f7b215eea46c818cb7528d9eaaab1d4411a9e7f5e82002512cddfdc33a"><div class="ttname"><a href="classarm__compute_1_1_activation_layer_info.xhtml#a56297e0f7b215eea46c818cb7528d9eaaab1d4411a9e7f5e82002512cddfdc33a">arm_compute::ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU</a></div><div class="ttdoc">Lower and Upper Bounded Rectifier ( )</div></div> |
| <div class="ttc" id="classarm__compute_1_1_activation_layer_info_xhtml_a56297e0f7b215eea46c818cb7528d9eaacc516ab03b98f1c908ddf6ed4a7c45e9"><div class="ttname"><a href="classarm__compute_1_1_activation_layer_info.xhtml#a56297e0f7b215eea46c818cb7528d9eaacc516ab03b98f1c908ddf6ed4a7c45e9">arm_compute::ActivationLayerInfo::ActivationFunction::BOUNDED_RELU</a></div><div class="ttdoc">Upper Bounded Rectifier ( )</div></div> |
| </div><!-- fragment --> |
| <p class="reference">References <a class="el" href="_error_8h_source.xhtml#l00466">ARM_COMPUTE_ERROR_ON</a>, <a class="el" href="classarm__compute_1_1_activation_layer_info.xhtml#a56297e0f7b215eea46c818cb7528d9eaacc516ab03b98f1c908ddf6ed4a7c45e9">ActivationLayerInfo::BOUNDED_RELU</a>, <a class="el" href="graph_2_tensor_8cpp_source.xhtml#l00040">Tensor::desc()</a>, <a class="el" href="_graph_8cpp_source.xhtml#l00214">Graph::edge()</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#l00136">arm_compute::graph::detail::fuse_depthwise_convolution_with_batch_normalization()</a>, <a class="el" href="classarm__compute_1_1_activation_layer_info.xhtml#a56297e0f7b215eea46c818cb7528d9eaaab1d4411a9e7f5e82002512cddfdc33a">ActivationLayerInfo::LU_BOUNDED_RELU</a>, <a class="el" href="_i_node_8cpp_source.xhtml#l00158">INode::output()</a>, <a class="el" href="_edge_8h_source.xhtml#l00084">Edge::producer()</a>, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6af14462d71aa842202c3e4b272c7ec924">arm_compute::QASYMM8</a>, <a class="el" href="_tensor_descriptor_8h_source.xhtml#l00112">TensorDescriptor::quant_info</a>, and <a class="el" href="classarm__compute_1_1_activation_layer_info.xhtml#a56297e0f7b215eea46c818cb7528d9eaad346bb4679d29be241279f15d7795c1c">ActivationLayerInfo::RELU</a>.</p> |
| |
| </div> |
| </div> |
| <a id="a0ee2c922a45715b33e30f83f8c005b68"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a0ee2c922a45715b33e30f83f8c005b68">◆ </a></span>name()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">const char * name </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 mutator name. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Mutator name </dd></dl> |
| |
| <p>Implements <a class="el" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a3690f13206df6f6103bae8ae3ceee528">IGraphMutator</a>.</p> |
| |
| <p class="definition">Definition at line <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00284">284</a> of file <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml">NodeFusionMutator.cpp</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00285"></a><span class="lineno"> 285</span> {</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keywordflow">return</span> <span class="stringliteral">"NodeFusionMutator"</span>;</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> }</div></div><!-- fragment --> |
| </div> |
| </div> |
| <a id="ae8dc84fc3eb9c937069826830b13b06d"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ae8dc84fc3eb9c937069826830b13b06d">◆ </a></span>type()</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_graph_mutator.xhtml#a15c294efeadfdffb6b0735dd93aedfd9">IGraphMutator::MutationType</a> type </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Returns mutation type. </p> |
| <dl class="section return"><dt>Returns</dt><dd>Mutation type enumeration </dd></dl> |
| |
| <p>Implements <a class="el" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a827f1f617c0eab4347324fa3b7256131">IGraphMutator</a>.</p> |
| |
| <p class="definition">Definition at line <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml#l00289">289</a> of file <a class="el" href="_node_fusion_mutator_8cpp_source.xhtml">NodeFusionMutator.cpp</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> {</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordflow">return</span> <a class="code" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a15c294efeadfdffb6b0735dd93aedfd9a2e427c268ac1768b9add94b65e2d6c14">IGraphMutator::MutationType::Backend</a>;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> }</div><div class="ttc" id="classarm__compute_1_1graph_1_1_i_graph_mutator_xhtml_a15c294efeadfdffb6b0735dd93aedfd9a2e427c268ac1768b9add94b65e2d6c14"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a15c294efeadfdffb6b0735dd93aedfd9a2e427c268ac1768b9add94b65e2d6c14">arm_compute::graph::IGraphMutator::MutationType::Backend</a></div><div class="ttdoc">IR specific mutation.</div></div> |
| </div><!-- fragment --> |
| <p class="reference">References <a class="el" href="classarm__compute_1_1graph_1_1_i_graph_mutator.xhtml#a15c294efeadfdffb6b0735dd93aedfd9a2e427c268ac1768b9add94b65e2d6c14">IGraphMutator::Backend</a>.</p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following files:<ul> |
| <li>arm_compute/graph/mutators/<a class="el" href="_node_fusion_mutator_8h_source.xhtml">NodeFusionMutator.h</a></li> |
| <li>src/graph/mutators/<a class="el" href="_node_fusion_mutator_8cpp_source.xhtml">NodeFusionMutator.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="classarm__compute_1_1graph_1_1_node_fusion_mutator.xhtml">NodeFusionMutator</a></li> |
| <li class="footer">Generated on Thu Mar 5 2020 16:07:17 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> |