| <!-- 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: GCActivationLayer 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_1_g_c_activation_layer.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">GCActivationLayer Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>Basic function to run <a class="el" href="classarm__compute_1_1_g_c_activation_layer_kernel.xhtml">GCActivationLayerKernel</a>. |
| <a href="classarm__compute_1_1_g_c_activation_layer.xhtml#details">More...</a></p> |
| |
| <p><code>#include <<a class="el" href="_g_c_activation_layer_8h_source.xhtml">GCActivationLayer.h</a>></code></p> |
| <div class="dynheader"> |
| Collaboration diagram for GCActivationLayer:</div> |
| <div class="dyncontent"> |
| <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1_g_c_activation_layer__coll__graph.svg" width="152" height="187"><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:aff5ed9f0d5b42f6714595a4cb44b51b1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml#aff5ed9f0d5b42f6714595a4cb44b51b1">GCActivationLayer</a> (<a class="el" href="classarm__compute_1_1_g_c_runtime_context.xhtml">GCRuntimeContext</a> *ctx=nullptr)</td></tr> |
| <tr class="memdesc:aff5ed9f0d5b42f6714595a4cb44b51b1"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#aff5ed9f0d5b42f6714595a4cb44b51b1">More...</a><br /></td></tr> |
| <tr class="separator:aff5ed9f0d5b42f6714595a4cb44b51b1"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ad372cec73403322318e53a2717339166"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml#ad372cec73403322318e53a2717339166">GCActivationLayer</a> (const <a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml">GCActivationLayer</a> &)=delete</td></tr> |
| <tr class="memdesc:ad372cec73403322318e53a2717339166"><td class="mdescLeft"> </td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers) <a href="#ad372cec73403322318e53a2717339166">More...</a><br /></td></tr> |
| <tr class="separator:ad372cec73403322318e53a2717339166"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:af0f43785877bc4068acae141aa3351f7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml#af0f43785877bc4068acae141aa3351f7">GCActivationLayer</a> (<a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml">GCActivationLayer</a> &&)=default</td></tr> |
| <tr class="memdesc:af0f43785877bc4068acae141aa3351f7"><td class="mdescLeft"> </td><td class="mdescRight">Default move constructor. <a href="#af0f43785877bc4068acae141aa3351f7">More...</a><br /></td></tr> |
| <tr class="separator:af0f43785877bc4068acae141aa3351f7"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a757351ed6a3ba2b0325b73eb0c700ab7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml">GCActivationLayer</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml#a757351ed6a3ba2b0325b73eb0c700ab7">operator=</a> (const <a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml">GCActivationLayer</a> &)=delete</td></tr> |
| <tr class="memdesc:a757351ed6a3ba2b0325b73eb0c700ab7"><td class="mdescLeft"> </td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers) <a href="#a757351ed6a3ba2b0325b73eb0c700ab7">More...</a><br /></td></tr> |
| <tr class="separator:a757351ed6a3ba2b0325b73eb0c700ab7"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a51dd88dc09c2262c4e6d036725f2b577"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml">GCActivationLayer</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml#a51dd88dc09c2262c4e6d036725f2b577">operator=</a> (<a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml">GCActivationLayer</a> &&)=default</td></tr> |
| <tr class="memdesc:a51dd88dc09c2262c4e6d036725f2b577"><td class="mdescLeft"> </td><td class="mdescRight">Default move assignment operator. <a href="#a51dd88dc09c2262c4e6d036725f2b577">More...</a><br /></td></tr> |
| <tr class="separator:a51dd88dc09c2262c4e6d036725f2b577"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a0fdcd48f36eb1310d56f0f0d5ce9ab00"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml#a0fdcd48f36eb1310d56f0f0d5ce9ab00">configure</a> (<a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *input, <a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *output, <a class="el" href="classarm__compute_1_1_activation_layer_info.xhtml">ActivationLayerInfo</a> act_info)</td></tr> |
| <tr class="memdesc:a0fdcd48f36eb1310d56f0f0d5ce9ab00"><td class="mdescLeft"> </td><td class="mdescRight">Set the input and output tensor. <a href="#a0fdcd48f36eb1310d56f0f0d5ce9ab00">More...</a><br /></td></tr> |
| <tr class="separator:a0fdcd48f36eb1310d56f0f0d5ce9ab00"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="inherit_header pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_g_c_simple_function')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml">IGCSimpleFunction</a></td></tr> |
| <tr class="memitem:aaf56bfddde39fe3eba22f81721a58c37 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml#aaf56bfddde39fe3eba22f81721a58c37">IGCSimpleFunction</a> (<a class="el" href="classarm__compute_1_1_g_c_runtime_context.xhtml">GCRuntimeContext</a> *ctx=nullptr)</td></tr> |
| <tr class="memdesc:aaf56bfddde39fe3eba22f81721a58c37 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="mdescLeft"> </td><td class="mdescRight">Default Constructor. <a href="classarm__compute_1_1_i_g_c_simple_function.xhtml#aaf56bfddde39fe3eba22f81721a58c37">More...</a><br /></td></tr> |
| <tr class="separator:aaf56bfddde39fe3eba22f81721a58c37 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:af31b497ab702926833c35b339f5a68f6 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml#af31b497ab702926833c35b339f5a68f6">IGCSimpleFunction</a> (const <a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml">IGCSimpleFunction</a> &)=delete</td></tr> |
| <tr class="memdesc:af31b497ab702926833c35b339f5a68f6 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="mdescLeft"> </td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers) <a href="classarm__compute_1_1_i_g_c_simple_function.xhtml#af31b497ab702926833c35b339f5a68f6">More...</a><br /></td></tr> |
| <tr class="separator:af31b497ab702926833c35b339f5a68f6 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a1eadde84ac0c2e20a507b732f4d6ab0b inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml#a1eadde84ac0c2e20a507b732f4d6ab0b">IGCSimpleFunction</a> (<a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml">IGCSimpleFunction</a> &&)=default</td></tr> |
| <tr class="memdesc:a1eadde84ac0c2e20a507b732f4d6ab0b inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="mdescLeft"> </td><td class="mdescRight">Default move constructor. <a href="classarm__compute_1_1_i_g_c_simple_function.xhtml#a1eadde84ac0c2e20a507b732f4d6ab0b">More...</a><br /></td></tr> |
| <tr class="separator:a1eadde84ac0c2e20a507b732f4d6ab0b inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a62731be7d9ff9012fd76d6967a39d3f6 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml">IGCSimpleFunction</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml#a62731be7d9ff9012fd76d6967a39d3f6">operator=</a> (const <a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml">IGCSimpleFunction</a> &)=delete</td></tr> |
| <tr class="memdesc:a62731be7d9ff9012fd76d6967a39d3f6 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="mdescLeft"> </td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers) <a href="classarm__compute_1_1_i_g_c_simple_function.xhtml#a62731be7d9ff9012fd76d6967a39d3f6">More...</a><br /></td></tr> |
| <tr class="separator:a62731be7d9ff9012fd76d6967a39d3f6 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a526ac89e4c9f9d680540aad47ce954cc inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml">IGCSimpleFunction</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml#a526ac89e4c9f9d680540aad47ce954cc">operator=</a> (<a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml">IGCSimpleFunction</a> &&)=default</td></tr> |
| <tr class="memdesc:a526ac89e4c9f9d680540aad47ce954cc inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="mdescLeft"> </td><td class="mdescRight">Default move assignment operator. <a href="classarm__compute_1_1_i_g_c_simple_function.xhtml#a526ac89e4c9f9d680540aad47ce954cc">More...</a><br /></td></tr> |
| <tr class="separator:a526ac89e4c9f9d680540aad47ce954cc inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a92fe532c342ae2b07956a65520c05362 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_g_c_simple_function.xhtml#a92fe532c342ae2b07956a65520c05362">run</a> () override final</td></tr> |
| <tr class="memdesc:a92fe532c342ae2b07956a65520c05362 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="mdescLeft"> </td><td class="mdescRight">Run the kernels contained in the function. <a href="classarm__compute_1_1_i_g_c_simple_function.xhtml#a92fe532c342ae2b07956a65520c05362">More...</a><br /></td></tr> |
| <tr class="separator:a92fe532c342ae2b07956a65520c05362 inherit pub_methods_classarm__compute_1_1_i_g_c_simple_function"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="inherit_header pub_methods_classarm__compute_1_1_i_function"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_function')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_function.xhtml">IFunction</a></td></tr> |
| <tr class="memitem:ab921ecc3f3f6ae2b4bd61f3e1998d8c4 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_function.xhtml#ab921ecc3f3f6ae2b4bd61f3e1998d8c4">~IFunction</a> ()=default</td></tr> |
| <tr class="memdesc:ab921ecc3f3f6ae2b4bd61f3e1998d8c4 inherit pub_methods_classarm__compute_1_1_i_function"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classarm__compute_1_1_i_function.xhtml#ab921ecc3f3f6ae2b4bd61f3e1998d8c4">More...</a><br /></td></tr> |
| <tr class="separator:ab921ecc3f3f6ae2b4bd61f3e1998d8c4 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a820f7291c24155a2980512fae45aac26 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_function.xhtml#a820f7291c24155a2980512fae45aac26">prepare</a> ()</td></tr> |
| <tr class="memdesc:a820f7291c24155a2980512fae45aac26 inherit pub_methods_classarm__compute_1_1_i_function"><td class="mdescLeft"> </td><td class="mdescRight">Prepare the function for executing. <a href="classarm__compute_1_1_i_function.xhtml#a820f7291c24155a2980512fae45aac26">More...</a><br /></td></tr> |
| <tr class="separator:a820f7291c24155a2980512fae45aac26 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><p>Basic function to run <a class="el" href="classarm__compute_1_1_g_c_activation_layer_kernel.xhtml">GCActivationLayerKernel</a>. </p> |
| <dl class="section note"><dt>Note</dt><dd>The function simulates an activation layer with the specified activation function. </dd></dl> |
| |
| <p class="definition">Definition at line <a class="el" href="_g_c_activation_layer_8h_source.xhtml#l00039">39</a> of file <a class="el" href="_g_c_activation_layer_8h_source.xhtml">GCActivationLayer.h</a>.</p> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a id="aff5ed9f0d5b42f6714595a4cb44b51b1"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#aff5ed9f0d5b42f6714595a4cb44b51b1">◆ </a></span>GCActivationLayer() <span class="overload">[1/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_1_g_c_activation_layer.xhtml">GCActivationLayer</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1_g_c_runtime_context.xhtml">GCRuntimeContext</a> * </td> |
| <td class="paramname"><em>ctx</em> = <code>nullptr</code></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">explicit</span></span> </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,out]</td><td class="paramname">ctx</td><td>Runtime context to be used by the function </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p class="definition">Definition at line <a class="el" href="_g_c_activation_layer_8cpp_source.xhtml#l00032">32</a> of file <a class="el" href="_g_c_activation_layer_8cpp_source.xhtml">GCActivationLayer.cpp</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  : <a class="code" href="classarm__compute_1_1_i_g_c_simple_function.xhtml#aaf56bfddde39fe3eba22f81721a58c37">IGCSimpleFunction</a>(ctx)</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> }</div><div class="ttc" id="classarm__compute_1_1_i_g_c_simple_function_xhtml_aaf56bfddde39fe3eba22f81721a58c37"><div class="ttname"><a href="classarm__compute_1_1_i_g_c_simple_function.xhtml#aaf56bfddde39fe3eba22f81721a58c37">arm_compute::IGCSimpleFunction::IGCSimpleFunction</a></div><div class="ttdeci">IGCSimpleFunction(GCRuntimeContext *ctx=nullptr)</div><div class="ttdoc">Default Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="_i_g_c_simple_function_8cpp_source.xhtml#l00031">IGCSimpleFunction.cpp:31</a></div></div> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a id="ad372cec73403322318e53a2717339166"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ad372cec73403322318e53a2717339166">◆ </a></span>GCActivationLayer() <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_1_g_c_activation_layer.xhtml">GCActivationLayer</a> </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml">GCActivationLayer</a> & </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="af0f43785877bc4068acae141aa3351f7"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#af0f43785877bc4068acae141aa3351f7">◆ </a></span>GCActivationLayer() <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_1_g_c_activation_layer.xhtml">GCActivationLayer</a> </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml">GCActivationLayer</a> && </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="a0fdcd48f36eb1310d56f0f0d5ce9ab00"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a0fdcd48f36eb1310d56f0f0d5ce9ab00">◆ </a></span>configure()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void configure </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> * </td> |
| <td class="paramname"><em>input</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> * </td> |
| <td class="paramname"><em>output</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1_activation_layer_info.xhtml">ActivationLayerInfo</a> </td> |
| <td class="paramname"><em>act_info</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Set the input and output tensor. </p> |
| <dl class="section note"><dt>Note</dt><dd>If the output tensor is a nullptr, the activation function will be performed in-place</dd></dl> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramdir">[in,out]</td><td class="paramname">input</td><td>Source tensor. In case of <code>output</code> tensor = nullptr, this tensor will store the result of the activation function. Data types supported: F16/F32. </td></tr> |
| <tr><td class="paramdir">[out]</td><td class="paramname">output</td><td>Destination tensor. Data type supported: same as <code>input</code> </td></tr> |
| <tr><td class="paramdir">[in]</td><td class="paramname">act_info</td><td>Activation layer parameters. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p class="definition">Definition at line <a class="el" href="_g_c_activation_layer_8cpp_source.xhtml#l00037">37</a> of file <a class="el" href="_g_c_activation_layer_8cpp_source.xhtml">GCActivationLayer.cpp</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">auto</span> core_ctx = _ctx ? _ctx->core_runtime_context() : <span class="comment">/* Legacy */</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">auto</span> k = arm_compute::support::cpp14::make_unique<GCActivationLayerKernel>(core_ctx);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  k->configure(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a8fcf2ddd9a1d58b1b280f5c0aed71845">input</a>, output, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a1f8aca235c095df227e7444f6b237eb1">act_info</a>);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  _kernel = std::move(k);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div><div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a1f8aca235c095df227e7444f6b237eb1"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a1f8aca235c095df227e7444f6b237eb1">arm_compute::test::validation::act_info</a></div><div class="ttdeci">act_info</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_convolution_layer_8cpp_source.xhtml#l00183">ConvolutionLayer.cpp:183</a></div></div> |
| <div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a8fcf2ddd9a1d58b1b280f5c0aed71845"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a8fcf2ddd9a1d58b1b280f5c0aed71845">arm_compute::test::validation::input</a></div><div class="ttdeci">auto input</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_l_s_t_m_layer_quantized_8cpp_source.xhtml#l00487">LSTMLayerQuantized.cpp:487</a></div></div> |
| </div><!-- fragment --> |
| <p class="reference">References <a class="el" href="_c_l_2_convolution_layer_8cpp_source.xhtml#l00183">arm_compute::test::validation::act_info</a>, and <a class="el" href="_c_l_2_l_s_t_m_layer_quantized_8cpp_source.xhtml#l00487">arm_compute::test::validation::input</a>.</p> |
| |
| <p class="reference">Referenced by <a class="el" href="_g_c_depthwise_convolution_layer_8cpp_source.xhtml#l00038">GCDepthwiseConvolutionLayer3x3::configure()</a>, and <a class="el" href="_g_c_convolution_layer_8cpp_source.xhtml#l00090">GCConvolutionLayer::configure()</a>.</p> |
| |
| </div> |
| </div> |
| <a id="a757351ed6a3ba2b0325b73eb0c700ab7"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a757351ed6a3ba2b0325b73eb0c700ab7">◆ </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_1_g_c_activation_layer.xhtml">GCActivationLayer</a>& operator= </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml">GCActivationLayer</a> & </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="a51dd88dc09c2262c4e6d036725f2b577"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a51dd88dc09c2262c4e6d036725f2b577">◆ </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_1_g_c_activation_layer.xhtml">GCActivationLayer</a>& operator= </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="classarm__compute_1_1_g_c_activation_layer.xhtml">GCActivationLayer</a> && </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> |
| <hr/>The documentation for this class was generated from the following files:<ul> |
| <li>arm_compute/runtime/GLES_COMPUTE/functions/<a class="el" href="_g_c_activation_layer_8h_source.xhtml">GCActivationLayer.h</a></li> |
| <li>src/runtime/GLES_COMPUTE/functions/<a class="el" href="_g_c_activation_layer_8cpp_source.xhtml">GCActivationLayer.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="classarm__compute_1_1_g_c_activation_layer.xhtml">GCActivationLayer</a></li> |
| <li class="footer">Generated on Thu Mar 5 2020 16:07:13 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> |