Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 5 | <!-- HTML header for doxygen 1.8.13--> |
| 6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 8 | <head> |
| 9 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 10 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 11 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 12 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> |
| 13 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 14 | <title>ArmNN: RsqrtLayer Class Reference</title> |
| 15 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 16 | <script type="text/javascript" src="jquery.js"></script> |
| 17 | <script type="text/javascript" src="dynsections.js"></script> |
| 18 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 19 | <script type="text/javascript" src="resize.js"></script> |
| 20 | <script type="text/javascript" src="navtreedata.js"></script> |
| 21 | <script type="text/javascript" src="navtree.js"></script> |
| 22 | <script type="text/javascript"> |
| 23 | $(document).ready(initResizable); |
| 24 | </script> |
| 25 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 26 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 27 | <script type="text/javascript" src="search/search.js"></script> |
| 28 | <script type="text/x-mathjax-config"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 33 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 34 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 35 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 42 | <tr style="height: 56px;"> |
| 43 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| 44 | <td style="padding-left: 0.5em;"> |
| 45 | <div id="projectname"> |
| 46 |  <span id="projectnumber">20.02</span> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 53 | <!-- end header part --> |
| 54 | <!-- Generated by Doxygen 1.8.13 --> |
| 55 | <script type="text/javascript"> |
| 56 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('classarmnn_1_1_rsqrt_layer.xhtml','');}); |
| 80 | </script> |
| 81 | <div id="doc-content"> |
| 82 | <!-- window showing the filter options --> |
| 83 | <div id="MSearchSelectWindow" |
| 84 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 85 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 86 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 87 | </div> |
| 88 | |
| 89 | <!-- iframe showing the search results (closed by default) --> |
| 90 | <div id="MSearchResultsWindow"> |
| 91 | <iframe src="javascript:void(0)" frameborder="0" |
| 92 | name="MSearchResults" id="MSearchResults"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#pub-methods">Public Member Functions</a> | |
| 99 | <a href="#pro-methods">Protected Member Functions</a> | |
| 100 | <a href="classarmnn_1_1_rsqrt_layer-members.xhtml">List of all members</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">RsqrtLayer Class Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | |
| 106 | <p><code>#include <<a class="el" href="_rsqrt_layer_8hpp_source.xhtml">RsqrtLayer.hpp</a>></code></p> |
| 107 | <div class="dynheader"> |
| 108 | Inheritance diagram for RsqrtLayer:</div> |
| 109 | <div class="dyncontent"> |
| 110 | <div class="center"> |
| 111 | <img src="classarmnn_1_1_rsqrt_layer.png" usemap="#RsqrtLayer_map" alt=""/> |
| 112 | <map id="RsqrtLayer_map" name="RsqrtLayer_map"> |
| 113 | <area href="classarmnn_1_1_layer.xhtml" alt="Layer" shape="rect" coords="0,56,119,80"/> |
| 114 | <area href="classarmnn_1_1_i_connectable_layer.xhtml" title="Interface for a layer that is connectable to other layers via InputSlots and OutputSlots. " alt="IConnectableLayer" shape="rect" coords="0,0,119,24"/> |
| 115 | </map> |
| 116 | </div></div> |
| 117 | <table class="memberdecls"> |
| 118 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 119 | Public Member Functions</h2></td></tr> |
| 120 | <tr class="memitem:adfa912d0c4c6c00f1af2cbfa799572b7"><td class="memItemLeft" align="right" valign="top">virtual std::unique_ptr< <a class="el" href="classarmnn_1_1_i_workload.xhtml">IWorkload</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml#adfa912d0c4c6c00f1af2cbfa799572b7">CreateWorkload</a> (const <a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">IWorkloadFactory</a> &factory) const override</td></tr> |
| 121 | <tr class="memdesc:adfa912d0c4c6c00f1af2cbfa799572b7"><td class="mdescLeft"> </td><td class="mdescRight">Makes a workload for the Rsqrt type. <a href="#adfa912d0c4c6c00f1af2cbfa799572b7">More...</a><br /></td></tr> |
| 122 | <tr class="separator:adfa912d0c4c6c00f1af2cbfa799572b7"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a71a3d84b5820d9777ed92a570e4fb75b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml">RsqrtLayer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml#a71a3d84b5820d9777ed92a570e4fb75b">Clone</a> (<a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a> &graph) const override</td></tr> |
| 124 | <tr class="memdesc:a71a3d84b5820d9777ed92a570e4fb75b"><td class="mdescLeft"> </td><td class="mdescRight">Creates a dynamically-allocated copy of this layer. <a href="#a71a3d84b5820d9777ed92a570e4fb75b">More...</a><br /></td></tr> |
| 125 | <tr class="separator:a71a3d84b5820d9777ed92a570e4fb75b"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:a8c8f543d7e9729362c266d12ec169966"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml#a8c8f543d7e9729362c266d12ec169966">ValidateTensorShapesFromInputs</a> () override</td></tr> |
| 127 | <tr class="memdesc:a8c8f543d7e9729362c266d12ec169966"><td class="mdescLeft"> </td><td class="mdescRight">Check if the input tensor shape(s) will lead to a valid configuration of <a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml">RsqrtLayer</a>. <a href="#a8c8f543d7e9729362c266d12ec169966">More...</a><br /></td></tr> |
| 128 | <tr class="separator:a8c8f543d7e9729362c266d12ec169966"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:a75a50f464326fefa605ea84ae2c9be85"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml#a75a50f464326fefa605ea84ae2c9be85">Accept</a> (<a class="el" href="classarmnn_1_1_i_layer_visitor.xhtml">ILayerVisitor</a> &visitor) const override</td></tr> |
| 130 | <tr class="memdesc:a75a50f464326fefa605ea84ae2c9be85"><td class="mdescLeft"> </td><td class="mdescRight">Apply a visitor to this layer. <a href="#a75a50f464326fefa605ea84ae2c9be85">More...</a><br /></td></tr> |
| 131 | <tr class="separator:a75a50f464326fefa605ea84ae2c9be85"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="inherit_header pub_methods_classarmnn_1_1_layer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_layer')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a></td></tr> |
| 133 | <tr class="memitem:a5e5ae420d199a0bccae5139d38c30205 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a5e5ae420d199a0bccae5139d38c30205">Layer</a> (unsigned int numInputSlots, unsigned int numOutputSlots, <a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> type, const char *name)</td></tr> |
| 134 | <tr class="separator:a5e5ae420d199a0bccae5139d38c30205 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:a395d070748c18d903705799360088e80 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a395d070748c18d903705799360088e80">Layer</a> (unsigned int numInputSlots, unsigned int numOutputSlots, <a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> type, <a class="el" href="namespacearmnn.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0">DataLayout</a> layout, const char *name)</td></tr> |
| 136 | <tr class="separator:a395d070748c18d903705799360088e80 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:a9a97cb6d32661a57fc33bd29b8e41ff4 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a9a97cb6d32661a57fc33bd29b8e41ff4">GetNameStr</a> () const</td></tr> |
| 138 | <tr class="separator:a9a97cb6d32661a57fc33bd29b8e41ff4 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <tr class="memitem:af2c0edc7ea62a8baaec4d3d9b2b09256 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_output_handler.xhtml">OutputHandler</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#af2c0edc7ea62a8baaec4d3d9b2b09256">GetOutputHandler</a> (unsigned int i=0) const</td></tr> |
| 140 | <tr class="separator:af2c0edc7ea62a8baaec4d3d9b2b09256 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | <tr class="memitem:a1d4e05c17647232c514cfe58ca80744a inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_output_handler.xhtml">OutputHandler</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a1d4e05c17647232c514cfe58ca80744a">GetOutputHandler</a> (unsigned int i=0)</td></tr> |
| 142 | <tr class="separator:a1d4e05c17647232c514cfe58ca80744a inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | <tr class="memitem:af5f530544d09a44d726f24702b67b35b inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::vector< <a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#af5f530544d09a44d726f24702b67b35b">GetInputSlots</a> () const</td></tr> |
| 144 | <tr class="separator:af5f530544d09a44d726f24702b67b35b inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 145 | <tr class="memitem:a98cdff4e0b45f4c80bfcedaf926e16e0 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::vector< <a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a98cdff4e0b45f4c80bfcedaf926e16e0">GetOutputSlots</a> () const</td></tr> |
| 146 | <tr class="separator:a98cdff4e0b45f4c80bfcedaf926e16e0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 147 | <tr class="memitem:af6cb8de21ef0da269ec9b67755ae92a0 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#af6cb8de21ef0da269ec9b67755ae92a0">BeginInputSlots</a> ()</td></tr> |
| 148 | <tr class="separator:af6cb8de21ef0da269ec9b67755ae92a0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 149 | <tr class="memitem:a9752e12d6b79e18da1a25f76159d2a72 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a9752e12d6b79e18da1a25f76159d2a72">EndInputSlots</a> ()</td></tr> |
| 150 | <tr class="separator:a9752e12d6b79e18da1a25f76159d2a72 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 151 | <tr class="memitem:a817d4be6dd88f532d36f51748ec14185 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a817d4be6dd88f532d36f51748ec14185">BeginOutputSlots</a> ()</td></tr> |
| 152 | <tr class="separator:a817d4be6dd88f532d36f51748ec14185 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 153 | <tr class="memitem:a55f76d98fcd2f5cdac3e2b14536cb7ab inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a55f76d98fcd2f5cdac3e2b14536cb7ab">EndOutputSlots</a> ()</td></tr> |
| 154 | <tr class="separator:a55f76d98fcd2f5cdac3e2b14536cb7ab inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 155 | <tr class="memitem:a22485f444124128940e798a42f0b76d9 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a22485f444124128940e798a42f0b76d9">IsOutputUnconnected</a> ()</td></tr> |
| 156 | <tr class="separator:a22485f444124128940e798a42f0b76d9 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | <tr class="memitem:aac329cade047e952621b59a51a5d5f49 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aac329cade047e952621b59a51a5d5f49">ResetPriority</a> () const</td></tr> |
| 158 | <tr class="separator:aac329cade047e952621b59a51a5d5f49 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 159 | <tr class="memitem:af97a07195a67a638605b3c325763c2dd inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#a419086ecb4dc9d0f9e5d8933c87e2ea2">LayerPriority</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#af97a07195a67a638605b3c325763c2dd">GetPriority</a> () const</td></tr> |
| 160 | <tr class="separator:af97a07195a67a638605b3c325763c2dd inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 161 | <tr class="memitem:aaef29472862381822654ab6cbf7cba2a inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aaef29472862381822654ab6cbf7cba2a">GetType</a> () const</td></tr> |
| 162 | <tr class="separator:aaef29472862381822654ab6cbf7cba2a inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 163 | <tr class="memitem:aea909c7327109228ef618d459015def3 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aea909c7327109228ef618d459015def3">GetDataType</a> () const</td></tr> |
| 164 | <tr class="separator:aea909c7327109228ef618d459015def3 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 165 | <tr class="memitem:afdb1d37740e7a083b625d669588b6a0e inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#afdb1d37740e7a083b625d669588b6a0e">GetBackendId</a> () const</td></tr> |
| 166 | <tr class="separator:afdb1d37740e7a083b625d669588b6a0e inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 167 | <tr class="memitem:a3f6ad59212fa8a47c9265162fff8a274 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a3f6ad59212fa8a47c9265162fff8a274">SetBackendId</a> (const <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> &id)</td></tr> |
| 168 | <tr class="separator:a3f6ad59212fa8a47c9265162fff8a274 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 169 | <tr class="memitem:a3ff62126ec713a2708e5fbaa6146a7de inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a3ff62126ec713a2708e5fbaa6146a7de">CreateTensorHandles</a> (const <a class="el" href="classarmnn_1_1_tensor_handle_factory_registry.xhtml">TensorHandleFactoryRegistry</a> &registry, const <a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">IWorkloadFactory</a> &factory, const bool IsMemoryManaged=<a class="el" href="_ref_layer_tests_8cpp.xhtml#a37f1c3ccc9fc906be85185350dd83d48">true</a>)</td></tr> |
| 170 | <tr class="separator:a3ff62126ec713a2708e5fbaa6146a7de inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 171 | <tr class="memitem:a0607e36e88f38c34c71c663164b76776 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a0607e36e88f38c34c71c663164b76776">VerifyLayerConnections</a> (unsigned int expectedConnections, const <a class="el" href="structarmnn_1_1_check_location.xhtml">CheckLocation</a> &location) const</td></tr> |
| 172 | <tr class="separator:a0607e36e88f38c34c71c663164b76776 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 173 | <tr class="memitem:a65ca562c882ad619684445a1402f415a inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a> (const std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> > &inputShapes) const override</td></tr> |
| 174 | <tr class="memdesc:a65ca562c882ad619684445a1402f415a inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Infer the shape of the output(s) based on the provided input shape(s) <a href="classarmnn_1_1_layer.xhtml#a65ca562c882ad619684445a1402f415a">More...</a><br /></td></tr> |
| 175 | <tr class="separator:a65ca562c882ad619684445a1402f415a inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 176 | <tr class="memitem:ac04cd8de9b9185756eb02463ffd432b1 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#ac04cd8de9b9185756eb02463ffd432b1">SerializeLayerParameters</a> (<a class="el" href="namespacearmnn.xhtml#a8c42c6647e31ebe525aeba878d133e45">ParameterStringifyFunction</a> &fn) const</td></tr> |
| 177 | <tr class="memdesc:ac04cd8de9b9185756eb02463ffd432b1 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Helper to serialize the layer parameters to string. <a href="classarmnn_1_1_layer.xhtml#ac04cd8de9b9185756eb02463ffd432b1">More...</a><br /></td></tr> |
| 178 | <tr class="separator:ac04cd8de9b9185756eb02463ffd432b1 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 179 | <tr class="memitem:a339bef86bc340c3d1393ed83950fe8af inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a339bef86bc340c3d1393ed83950fe8af">ReleaseConstantData</a> ()</td></tr> |
| 180 | <tr class="separator:a339bef86bc340c3d1393ed83950fe8af inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 181 | <tr class="memitem:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename Op > </td></tr> |
| 182 | <tr class="memitem:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a386acff5f8430245239ce58d00ba7576">OperateOnConstantTensors</a> (Op op)</td></tr> |
| 183 | <tr class="separator:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 184 | <tr class="memitem:a7ddf0cf6f620d59c10e63495ace795d0 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a> () const override</td></tr> |
| 185 | <tr class="memdesc:a7ddf0cf6f620d59c10e63495ace795d0 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of the layer. <a href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">More...</a><br /></td></tr> |
| 186 | <tr class="separator:a7ddf0cf6f620d59c10e63495ace795d0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 187 | <tr class="memitem:abc0660dc440c8a285b456c9ef6383c26 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#abc0660dc440c8a285b456c9ef6383c26">GetNumInputSlots</a> () const override</td></tr> |
| 188 | <tr class="memdesc:abc0660dc440c8a285b456c9ef6383c26 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of connectable input slots. <a href="classarmnn_1_1_layer.xhtml#abc0660dc440c8a285b456c9ef6383c26">More...</a><br /></td></tr> |
| 189 | <tr class="separator:abc0660dc440c8a285b456c9ef6383c26 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 190 | <tr class="memitem:a1594bddc87d6477df300317658f566bb inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a1594bddc87d6477df300317658f566bb">GetNumOutputSlots</a> () const override</td></tr> |
| 191 | <tr class="memdesc:a1594bddc87d6477df300317658f566bb inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of connectable output slots. <a href="classarmnn_1_1_layer.xhtml#a1594bddc87d6477df300317658f566bb">More...</a><br /></td></tr> |
| 192 | <tr class="separator:a1594bddc87d6477df300317658f566bb inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 193 | <tr class="memitem:acf8b8e23bf647836592982f97088d375 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">GetInputSlot</a> (unsigned int index) const override</td></tr> |
| 194 | <tr class="memdesc:acf8b8e23bf647836592982f97088d375 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Get a const input slot handle by slot index. <a href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">More...</a><br /></td></tr> |
| 195 | <tr class="separator:acf8b8e23bf647836592982f97088d375 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 196 | <tr class="memitem:a1b50eb1358cdf382f4bc3fc8849f8e8e inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a1b50eb1358cdf382f4bc3fc8849f8e8e">GetInputSlot</a> (unsigned int index) override</td></tr> |
| 197 | <tr class="memdesc:a1b50eb1358cdf382f4bc3fc8849f8e8e inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Get the input slot handle by slot index. <a href="classarmnn_1_1_layer.xhtml#a1b50eb1358cdf382f4bc3fc8849f8e8e">More...</a><br /></td></tr> |
| 198 | <tr class="separator:a1b50eb1358cdf382f4bc3fc8849f8e8e inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 199 | <tr class="memitem:a0e36688a43c35668d8db5257274c68fe inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a> (unsigned int index=0) const override</td></tr> |
| 200 | <tr class="memdesc:a0e36688a43c35668d8db5257274c68fe inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Get the const output slot handle by slot index. <a href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">More...</a><br /></td></tr> |
| 201 | <tr class="separator:a0e36688a43c35668d8db5257274c68fe inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 202 | <tr class="memitem:abbd71844785bb2f00a81baca30ea5ff0 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#abbd71844785bb2f00a81baca30ea5ff0">GetOutputSlot</a> (unsigned int index=0) override</td></tr> |
| 203 | <tr class="memdesc:abbd71844785bb2f00a81baca30ea5ff0 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Get the output slot handle by slot index. <a href="classarmnn_1_1_layer.xhtml#abbd71844785bb2f00a81baca30ea5ff0">More...</a><br /></td></tr> |
| 204 | <tr class="separator:abbd71844785bb2f00a81baca30ea5ff0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 205 | <tr class="memitem:a6d1024208b672a87ef2c1bfaf93d2b9f inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a6d1024208b672a87ef2c1bfaf93d2b9f">SetGuid</a> (<a class="el" href="namespacearmnn.xhtml#afad4088a9a058114ee5f87246f87bf49">LayerGuid</a> guid)</td></tr> |
| 206 | <tr class="separator:a6d1024208b672a87ef2c1bfaf93d2b9f inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 207 | <tr class="memitem:a8dc12f0ee5b232d397bd18ced1a72a64 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#afad4088a9a058114ee5f87246f87bf49">LayerGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a> () const final</td></tr> |
| 208 | <tr class="memdesc:a8dc12f0ee5b232d397bd18ced1a72a64 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Returns the unique id of the layer. <a href="classarmnn_1_1_layer.xhtml#a8dc12f0ee5b232d397bd18ced1a72a64">More...</a><br /></td></tr> |
| 209 | <tr class="separator:a8dc12f0ee5b232d397bd18ced1a72a64 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 210 | <tr class="memitem:a339248d89d5e21534ecf74b4393ed4d2 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a339248d89d5e21534ecf74b4393ed4d2">AddRelatedLayerName</a> (const std::string layerName)</td></tr> |
| 211 | <tr class="separator:a339248d89d5e21534ecf74b4393ed4d2 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 212 | <tr class="memitem:a5e5520194ea4042fe07b0bf53c28f634 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::list< std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a5e5520194ea4042fe07b0bf53c28f634">GetRelatedLayerNames</a> ()</td></tr> |
| 213 | <tr class="separator:a5e5520194ea4042fe07b0bf53c28f634 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 214 | <tr class="memitem:a72b18e4c5a403bc3fe2fecf20135c8d6 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a72b18e4c5a403bc3fe2fecf20135c8d6">Reparent</a> (<a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a> &dest, std::list< <a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a> *>::const_iterator iterator)=0</td></tr> |
| 215 | <tr class="separator:a72b18e4c5a403bc3fe2fecf20135c8d6 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 216 | <tr class="memitem:a43a46eafee5c08787ab17b4342730c20 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a43a46eafee5c08787ab17b4342730c20">BackendSelectionHint</a> (<a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>< <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> > backend) final</td></tr> |
| 217 | <tr class="memdesc:a43a46eafee5c08787ab17b4342730c20 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Provide a hint for the optimizer as to which backend to prefer for this layer. <a href="classarmnn_1_1_layer.xhtml#a43a46eafee5c08787ab17b4342730c20">More...</a><br /></td></tr> |
| 218 | <tr class="separator:a43a46eafee5c08787ab17b4342730c20 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 219 | <tr class="memitem:a6ff80e440308295056b57e2adaa42888 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>< <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a6ff80e440308295056b57e2adaa42888">GetBackendHint</a> () const</td></tr> |
| 220 | <tr class="separator:a6ff80e440308295056b57e2adaa42888 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 221 | </table><table class="memberdecls"> |
| 222 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> |
| 223 | Protected Member Functions</h2></td></tr> |
| 224 | <tr class="memitem:ac5b73f4f272e414f485c256efa38f88e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml#ac5b73f4f272e414f485c256efa38f88e">RsqrtLayer</a> (const char *name)</td></tr> |
| 225 | <tr class="memdesc:ac5b73f4f272e414f485c256efa38f88e"><td class="mdescLeft"> </td><td class="mdescRight">Constructor to create an <a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml">RsqrtLayer</a>. <a href="#ac5b73f4f272e414f485c256efa38f88e">More...</a><br /></td></tr> |
| 226 | <tr class="separator:ac5b73f4f272e414f485c256efa38f88e"><td class="memSeparator" colspan="2"> </td></tr> |
| 227 | <tr class="memitem:a0e561300c93e2eaf69a85fe751c63b6e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml#a0e561300c93e2eaf69a85fe751c63b6e">~RsqrtLayer</a> ()=default</td></tr> |
| 228 | <tr class="memdesc:a0e561300c93e2eaf69a85fe751c63b6e"><td class="mdescLeft"> </td><td class="mdescRight">Default destructor. <a href="#a0e561300c93e2eaf69a85fe751c63b6e">More...</a><br /></td></tr> |
| 229 | <tr class="separator:a0e561300c93e2eaf69a85fe751c63b6e"><td class="memSeparator" colspan="2"> </td></tr> |
| 230 | <tr class="inherit_header pro_methods_classarmnn_1_1_layer"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_layer')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a></td></tr> |
| 231 | <tr class="memitem:aacfb208d750bdfce1bbd423e5cac76e2 inherit pro_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aacfb208d750bdfce1bbd423e5cac76e2">~Layer</a> ()=default</td></tr> |
| 232 | <tr class="separator:aacfb208d750bdfce1bbd423e5cac76e2 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 233 | <tr class="memitem:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 234 | <tr class="memitem:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#afc3239f5fc116259bf5451964e803646">CollectQueueDescriptorInputs</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.xhtml">QueueDescriptor</a> &descriptor, <a class="el" href="structarmnn_1_1_workload_info.xhtml">WorkloadInfo</a> &<a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>) const</td></tr> |
| 235 | <tr class="separator:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 236 | <tr class="memitem:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 237 | <tr class="memitem:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a499ca5a94d0174ed21786b6994b2cd8c">CollectQueueDescriptorOutputs</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.xhtml">QueueDescriptor</a> &descriptor, <a class="el" href="structarmnn_1_1_workload_info.xhtml">WorkloadInfo</a> &<a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>) const</td></tr> |
| 238 | <tr class="separator:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 239 | <tr class="memitem:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 240 | <tr class="memitem:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_workload_info.xhtml">WorkloadInfo</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.xhtml">QueueDescriptor</a> &descriptor) const</td></tr> |
| 241 | <tr class="memdesc:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to reduce duplication in *Layer<a class="el" href="_elementwise_unary_test_impl_8hpp.xhtml#aa50938ed8f91e09acd4af904dcf5543a">CreateWorkload</a>. <a href="classarmnn_1_1_layer.xhtml#a30a858b2b26d651a066537e499fbf40d">More...</a><br /></td></tr> |
| 242 | <tr class="separator:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 243 | <tr class="memitem:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename LayerType , typename ... Params> </td></tr> |
| 244 | <tr class="memitem:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aa10fd205c3f5469a9ecb2aa2a3ffd101">CloneBase</a> (<a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a> &graph, Params &&... params) const</td></tr> |
| 245 | <tr class="separator:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 246 | <tr class="memitem:afbeac2d77ecaadc3e303a163b4146961 inherit pro_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classarmnn_1_1_layer.xhtml#a585d59ec610af46a76487fd6c1c55ac1">ConstantTensors</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#afbeac2d77ecaadc3e303a163b4146961">GetConstantTensorsByRef</a> ()</td></tr> |
| 247 | <tr class="separator:afbeac2d77ecaadc3e303a163b4146961 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 248 | <tr class="inherit_header pro_methods_classarmnn_1_1_i_connectable_layer"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_i_connectable_layer')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_i_connectable_layer.xhtml">IConnectableLayer</a></td></tr> |
| 249 | <tr class="memitem:a8c7faf37c1d965431aaa02ae934d67ee inherit pro_methods_classarmnn_1_1_i_connectable_layer"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_connectable_layer.xhtml#a8c7faf37c1d965431aaa02ae934d67ee">~IConnectableLayer</a> ()</td></tr> |
| 250 | <tr class="memdesc:a8c7faf37c1d965431aaa02ae934d67ee inherit pro_methods_classarmnn_1_1_i_connectable_layer"><td class="mdescLeft"> </td><td class="mdescRight">Objects are not deletable via the handle. <a href="classarmnn_1_1_i_connectable_layer.xhtml#a8c7faf37c1d965431aaa02ae934d67ee">More...</a><br /></td></tr> |
| 251 | <tr class="separator:a8c7faf37c1d965431aaa02ae934d67ee inherit pro_methods_classarmnn_1_1_i_connectable_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 252 | </table><table class="memberdecls"> |
| 253 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| 254 | Additional Inherited Members</h2></td></tr> |
| 255 | <tr class="inherit_header pro_types_classarmnn_1_1_layer"><td colspan="2" onclick="javascript:toggleInherit('pro_types_classarmnn_1_1_layer')"><img src="closed.png" alt="-"/> Protected Types inherited from <a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a></td></tr> |
| 256 | <tr class="memitem:a585d59ec610af46a76487fd6c1c55ac1 inherit pro_types_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a585d59ec610af46a76487fd6c1c55ac1">ConstantTensors</a> = std::vector< std::reference_wrapper< std::unique_ptr< <a class="el" href="classarmnn_1_1_scoped_cpu_tensor_handle.xhtml">ScopedCpuTensorHandle</a> > >></td></tr> |
| 257 | <tr class="separator:a585d59ec610af46a76487fd6c1c55ac1 inherit pro_types_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 258 | <tr class="inherit_header pro_attribs_classarmnn_1_1_layer"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classarmnn_1_1_layer')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a></td></tr> |
| 259 | <tr class="memitem:aa44d91037bba52ba0dec6577509ade3b inherit pro_attribs_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_output_handler.xhtml">OutputHandler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aa44d91037bba52ba0dec6577509ade3b">m_OutputHandlers</a></td></tr> |
| 260 | <tr class="separator:aa44d91037bba52ba0dec6577509ade3b inherit pro_attribs_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 261 | </table> |
| 262 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 263 | <div class="textblock"> |
| 264 | <p class="definition">Definition at line <a class="el" href="_rsqrt_layer_8hpp_source.xhtml#l00013">13</a> of file <a class="el" href="_rsqrt_layer_8hpp_source.xhtml">RsqrtLayer.hpp</a>.</p> |
| 265 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 266 | <a id="ac5b73f4f272e414f485c256efa38f88e"></a> |
| 267 | <h2 class="memtitle"><span class="permalink"><a href="#ac5b73f4f272e414f485c256efa38f88e">◆ </a></span>RsqrtLayer()</h2> |
| 268 | |
| 269 | <div class="memitem"> |
| 270 | <div class="memproto"> |
| 271 | <table class="mlabels"> |
| 272 | <tr> |
| 273 | <td class="mlabels-left"> |
| 274 | <table class="memname"> |
| 275 | <tr> |
| 276 | <td class="memname"><a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml">RsqrtLayer</a> </td> |
| 277 | <td>(</td> |
| 278 | <td class="paramtype">const char * </td> |
| 279 | <td class="paramname"><em>name</em></td><td>)</td> |
| 280 | <td></td> |
| 281 | </tr> |
| 282 | </table> |
| 283 | </td> |
| 284 | <td class="mlabels-right"> |
| 285 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 286 | </tr> |
| 287 | </table> |
| 288 | </div><div class="memdoc"> |
| 289 | |
| 290 | <p>Constructor to create an <a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml">RsqrtLayer</a>. </p> |
| 291 | <dl class="params"><dt>Parameters</dt><dd> |
| 292 | <table class="params"> |
| 293 | <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td><a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a> name for the layer. </td></tr> |
| 294 | </table> |
| 295 | </dd> |
| 296 | </dl> |
| 297 | |
| 298 | <p class="definition">Definition at line <a class="el" href="_rsqrt_layer_8cpp_source.xhtml#l00017">17</a> of file <a class="el" href="_rsqrt_layer_8cpp_source.xhtml">RsqrtLayer.cpp</a>.</p> |
| 299 | |
| 300 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">armnn::Rsqrt</a>.</p> |
| 301 | <div class="fragment"><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  : <a class="code" href="classarmnn_1_1_layer.xhtml#a5e5ae420d199a0bccae5139d38c30205">Layer</a>(1, 1, <a class="code" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">LayerType::Rsqrt</a>, name)</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> }</div><div class="ttc" id="classarmnn_1_1_layer_xhtml_a5e5ae420d199a0bccae5139d38c30205"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a5e5ae420d199a0bccae5139d38c30205">armnn::Layer::Layer</a></div><div class="ttdeci">Layer(unsigned int numInputSlots, unsigned int numOutputSlots, LayerType type, const char *name)</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.xhtml#l00213">Layer.cpp:213</a></div></div> |
| 302 | <div class="ttc" id="namespacearmnn_xhtml_a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4"><div class="ttname"><a href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8a09bb7f6e2118c85a6a55bd4bf2beeca4">armnn::UnaryOperation::Rsqrt</a></div></div> |
| 303 | </div><!-- fragment --> |
| 304 | </div> |
| 305 | </div> |
| 306 | <a id="a0e561300c93e2eaf69a85fe751c63b6e"></a> |
| 307 | <h2 class="memtitle"><span class="permalink"><a href="#a0e561300c93e2eaf69a85fe751c63b6e">◆ </a></span>~RsqrtLayer()</h2> |
| 308 | |
| 309 | <div class="memitem"> |
| 310 | <div class="memproto"> |
| 311 | <table class="mlabels"> |
| 312 | <tr> |
| 313 | <td class="mlabels-left"> |
| 314 | <table class="memname"> |
| 315 | <tr> |
| 316 | <td class="memname">~<a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml">RsqrtLayer</a> </td> |
| 317 | <td>(</td> |
| 318 | <td class="paramname"></td><td>)</td> |
| 319 | <td></td> |
| 320 | </tr> |
| 321 | </table> |
| 322 | </td> |
| 323 | <td class="mlabels-right"> |
| 324 | <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td> |
| 325 | </tr> |
| 326 | </table> |
| 327 | </div><div class="memdoc"> |
| 328 | |
| 329 | <p>Default destructor. </p> |
| 330 | |
| 331 | </div> |
| 332 | </div> |
| 333 | <h2 class="groupheader">Member Function Documentation</h2> |
| 334 | <a id="a75a50f464326fefa605ea84ae2c9be85"></a> |
| 335 | <h2 class="memtitle"><span class="permalink"><a href="#a75a50f464326fefa605ea84ae2c9be85">◆ </a></span>Accept()</h2> |
| 336 | |
| 337 | <div class="memitem"> |
| 338 | <div class="memproto"> |
| 339 | <table class="mlabels"> |
| 340 | <tr> |
| 341 | <td class="mlabels-left"> |
| 342 | <table class="memname"> |
| 343 | <tr> |
| 344 | <td class="memname">void Accept </td> |
| 345 | <td>(</td> |
| 346 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_layer_visitor.xhtml">ILayerVisitor</a> & </td> |
| 347 | <td class="paramname"><em>visitor</em></td><td>)</td> |
| 348 | <td> const</td> |
| 349 | </tr> |
| 350 | </table> |
| 351 | </td> |
| 352 | <td class="mlabels-right"> |
| 353 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 354 | </tr> |
| 355 | </table> |
| 356 | </div><div class="memdoc"> |
| 357 | |
| 358 | <p>Apply a visitor to this layer. </p> |
| 359 | |
| 360 | <p>Implements <a class="el" href="classarmnn_1_1_i_connectable_layer.xhtml#a8c9198a992b02e61a6777329d487dde3">IConnectableLayer</a>.</p> |
| 361 | |
| 362 | <p class="definition">Definition at line <a class="el" href="_rsqrt_layer_8cpp_source.xhtml#l00047">47</a> of file <a class="el" href="_rsqrt_layer_8cpp_source.xhtml">RsqrtLayer.cpp</a>.</p> |
| 363 | |
| 364 | <p class="reference">References <a class="el" href="_layer_8hpp_source.xhtml#l00305">Layer::GetName()</a>, and <a class="el" href="classarmnn_1_1_i_layer_visitor.xhtml#a413253dbf325ea0b44559b55242170d1">ILayerVisitor::VisitRsqrtLayer()</a>.</p> |
| 365 | <div class="fragment"><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  visitor.VisitRsqrtLayer(<span class="keyword">this</span>, <a class="code" href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div><div class="ttc" id="classarmnn_1_1_layer_xhtml_a7ddf0cf6f620d59c10e63495ace795d0"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">armnn::Layer::GetName</a></div><div class="ttdeci">const char * GetName() const override</div><div class="ttdoc">Returns the name of the layer. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00305">Layer.hpp:305</a></div></div> |
| 366 | </div><!-- fragment --> |
| 367 | </div> |
| 368 | </div> |
| 369 | <a id="a71a3d84b5820d9777ed92a570e4fb75b"></a> |
| 370 | <h2 class="memtitle"><span class="permalink"><a href="#a71a3d84b5820d9777ed92a570e4fb75b">◆ </a></span>Clone()</h2> |
| 371 | |
| 372 | <div class="memitem"> |
| 373 | <div class="memproto"> |
| 374 | <table class="mlabels"> |
| 375 | <tr> |
| 376 | <td class="mlabels-left"> |
| 377 | <table class="memname"> |
| 378 | <tr> |
| 379 | <td class="memname"><a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml">RsqrtLayer</a> * Clone </td> |
| 380 | <td>(</td> |
| 381 | <td class="paramtype"><a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a> & </td> |
| 382 | <td class="paramname"><em>graph</em></td><td>)</td> |
| 383 | <td> const</td> |
| 384 | </tr> |
| 385 | </table> |
| 386 | </td> |
| 387 | <td class="mlabels-right"> |
| 388 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 389 | </tr> |
| 390 | </table> |
| 391 | </div><div class="memdoc"> |
| 392 | |
| 393 | <p>Creates a dynamically-allocated copy of this layer. </p> |
| 394 | <dl class="params"><dt>Parameters</dt><dd> |
| 395 | <table class="params"> |
| 396 | <tr><td class="paramdir">[in]</td><td class="paramname">graph</td><td>The graph into which this layer is being cloned. </td></tr> |
| 397 | </table> |
| 398 | </dd> |
| 399 | </dl> |
| 400 | |
| 401 | <p>Implements <a class="el" href="classarmnn_1_1_layer.xhtml#ae89ff455503aa106d00bf34103d2f2e0">Layer</a>.</p> |
| 402 | |
| 403 | <p class="definition">Definition at line <a class="el" href="_rsqrt_layer_8cpp_source.xhtml#l00028">28</a> of file <a class="el" href="_rsqrt_layer_8cpp_source.xhtml">RsqrtLayer.cpp</a>.</p> |
| 404 | |
| 405 | <p class="reference">References <a class="el" href="_layer_8hpp_source.xhtml#l00305">Layer::GetName()</a>.</p> |
| 406 | <div class="fragment"><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordflow">return</span> CloneBase<RsqrtLayer>(graph, <a class="code" href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> }</div><div class="ttc" id="classarmnn_1_1_layer_xhtml_a7ddf0cf6f620d59c10e63495ace795d0"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">armnn::Layer::GetName</a></div><div class="ttdeci">const char * GetName() const override</div><div class="ttdoc">Returns the name of the layer. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00305">Layer.hpp:305</a></div></div> |
| 407 | </div><!-- fragment --> |
| 408 | </div> |
| 409 | </div> |
| 410 | <a id="adfa912d0c4c6c00f1af2cbfa799572b7"></a> |
| 411 | <h2 class="memtitle"><span class="permalink"><a href="#adfa912d0c4c6c00f1af2cbfa799572b7">◆ </a></span>CreateWorkload()</h2> |
| 412 | |
| 413 | <div class="memitem"> |
| 414 | <div class="memproto"> |
| 415 | <table class="mlabels"> |
| 416 | <tr> |
| 417 | <td class="mlabels-left"> |
| 418 | <table class="memname"> |
| 419 | <tr> |
| 420 | <td class="memname">std::unique_ptr< <a class="el" href="classarmnn_1_1_i_workload.xhtml">IWorkload</a> > CreateWorkload </td> |
| 421 | <td>(</td> |
| 422 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">IWorkloadFactory</a> & </td> |
| 423 | <td class="paramname"><em>factory</em></td><td>)</td> |
| 424 | <td> const</td> |
| 425 | </tr> |
| 426 | </table> |
| 427 | </td> |
| 428 | <td class="mlabels-right"> |
| 429 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 430 | </tr> |
| 431 | </table> |
| 432 | </div><div class="memdoc"> |
| 433 | |
| 434 | <p>Makes a workload for the Rsqrt type. </p> |
| 435 | <dl class="params"><dt>Parameters</dt><dd> |
| 436 | <table class="params"> |
| 437 | <tr><td class="paramdir">[in]</td><td class="paramname">graph</td><td>The graph where this layer can be found. </td></tr> |
| 438 | <tr><td class="paramdir">[in]</td><td class="paramname">factory</td><td>The workload factory which will create the workload. </td></tr> |
| 439 | </table> |
| 440 | </dd> |
| 441 | </dl> |
| 442 | <dl class="section return"><dt>Returns</dt><dd>A pointer to the created workload, or nullptr if not created. </dd></dl> |
| 443 | |
| 444 | <p>Implements <a class="el" href="classarmnn_1_1_layer.xhtml#a08d1e10a45f15cd0bd02557be35a3864">Layer</a>.</p> |
| 445 | |
| 446 | <p class="definition">Definition at line <a class="el" href="_rsqrt_layer_8cpp_source.xhtml#l00022">22</a> of file <a class="el" href="_rsqrt_layer_8cpp_source.xhtml">RsqrtLayer.cpp</a>.</p> |
| 447 | |
| 448 | <p class="reference">References <a class="el" href="_workload_factory_8cpp_source.xhtml#l01388">IWorkloadFactory::CreateRsqrt()</a>, and <a class="el" href="_layer_8hpp_source.xhtml#l00351">Layer::PrepInfoAndDesc()</a>.</p> |
| 449 | <div class="fragment"><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  RsqrtQueueDescriptor descriptor;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordflow">return</span> factory.CreateRsqrt(descriptor, <a class="code" href="classarmnn_1_1_layer.xhtml#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a>(descriptor));</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> }</div><div class="ttc" id="classarmnn_1_1_layer_xhtml_a30a858b2b26d651a066537e499fbf40d"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a30a858b2b26d651a066537e499fbf40d">armnn::Layer::PrepInfoAndDesc</a></div><div class="ttdeci">WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const</div><div class="ttdoc">Helper function to reduce duplication in *LayerCreateWorkload. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00351">Layer.hpp:351</a></div></div> |
| 450 | </div><!-- fragment --> |
| 451 | </div> |
| 452 | </div> |
| 453 | <a id="a8c8f543d7e9729362c266d12ec169966"></a> |
| 454 | <h2 class="memtitle"><span class="permalink"><a href="#a8c8f543d7e9729362c266d12ec169966">◆ </a></span>ValidateTensorShapesFromInputs()</h2> |
| 455 | |
| 456 | <div class="memitem"> |
| 457 | <div class="memproto"> |
| 458 | <table class="mlabels"> |
| 459 | <tr> |
| 460 | <td class="mlabels-left"> |
| 461 | <table class="memname"> |
| 462 | <tr> |
| 463 | <td class="memname">void ValidateTensorShapesFromInputs </td> |
| 464 | <td>(</td> |
| 465 | <td class="paramname"></td><td>)</td> |
| 466 | <td></td> |
| 467 | </tr> |
| 468 | </table> |
| 469 | </td> |
| 470 | <td class="mlabels-right"> |
| 471 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 472 | </tr> |
| 473 | </table> |
| 474 | </div><div class="memdoc"> |
| 475 | |
| 476 | <p>Check if the input tensor shape(s) will lead to a valid configuration of <a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml">RsqrtLayer</a>. </p> |
| 477 | |
| 478 | <p>Implements <a class="el" href="classarmnn_1_1_layer.xhtml#a84ff600212ba26e665de9b978ec896a4">Layer</a>.</p> |
| 479 | |
| 480 | <p class="definition">Definition at line <a class="el" href="_rsqrt_layer_8cpp_source.xhtml#l00033">33</a> of file <a class="el" href="_rsqrt_layer_8cpp_source.xhtml">RsqrtLayer.cpp</a>.</p> |
| 481 | |
| 482 | <p class="reference">References <a class="el" href="_exceptions_8hpp_source.xhtml#l00192">CHECK_LOCATION</a>, <a class="el" href="_layer_8hpp_source.xhtml#l00199">InputSlot::GetConnection()</a>, <a class="el" href="_layer_8hpp_source.xhtml#l00310">Layer::GetInputSlot()</a>, <a class="el" href="_layer_8hpp_source.xhtml#l00312">Layer::GetOutputSlot()</a>, <a class="el" href="_tensor_8hpp_source.xhtml#l00088">TensorInfo::GetShape()</a>, <a class="el" href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">IOutputSlot::GetTensorInfo()</a>, <a class="el" href="_layer_8cpp_source.xhtml#l00063">OutputSlot::GetTensorInfo()</a>, <a class="el" href="_layer_8cpp_source.xhtml#l00371">Layer::InferOutputShapes()</a>, and <a class="el" href="_layer_8cpp_source.xhtml#l00338">Layer::VerifyLayerConnections()</a>.</p> |
| 483 | <div class="fragment"><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>  <a class="code" href="classarmnn_1_1_layer.xhtml#a0607e36e88f38c34c71c663164b76776">VerifyLayerConnections</a>(1, <a class="code" href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">auto</span> inferredShapes = <a class="code" href="classarmnn_1_1_layer.xhtml#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a>({ <a class="code" href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.xhtml#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-><a class="code" href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>() });</div><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>  BOOST_ASSERT(inferredShapes.size() == 1);</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>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="stringliteral">"RsqrtLayer: TensorShape set on OutputSlot[0] does not match the inferred shape."</span>,</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_output_slot.xhtml#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  inferredShapes[0]);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a8b5d0f8a24e9d9238f412260a552acf8"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">armnn::TensorInfo::GetShape</a></div><div class="ttdeci">const TensorShape & GetShape() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00088">Tensor.hpp:88</a></div></div> |
| 484 | <div class="ttc" id="classarmnn_1_1_layer_xhtml_a65ca562c882ad619684445a1402f415a"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a65ca562c882ad619684445a1402f415a">armnn::Layer::InferOutputShapes</a></div><div class="ttdeci">std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override</div><div class="ttdoc">Infer the shape of the output(s) based on the provided input shape(s) </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.xhtml#l00371">Layer.cpp:371</a></div></div> |
| 485 | <div class="ttc" id="classarmnn_1_1_input_slot_xhtml_a3153abb7c0c0a84629079b2fac7db54f"><div class="ttname"><a href="classarmnn_1_1_input_slot.xhtml#a3153abb7c0c0a84629079b2fac7db54f">armnn::InputSlot::GetConnection</a></div><div class="ttdeci">const IOutputSlot * GetConnection() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00199">Layer.hpp:199</a></div></div> |
| 486 | <div class="ttc" id="classarmnn_1_1_layer_xhtml_a0607e36e88f38c34c71c663164b76776"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a0607e36e88f38c34c71c663164b76776">armnn::Layer::VerifyLayerConnections</a></div><div class="ttdeci">void VerifyLayerConnections(unsigned int expectedConnections, const CheckLocation &location) const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.xhtml#l00338">Layer.cpp:338</a></div></div> |
| 487 | <div class="ttc" id="classarmnn_1_1_layer_xhtml_acf8b8e23bf647836592982f97088d375"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">armnn::Layer::GetInputSlot</a></div><div class="ttdeci">const InputSlot & GetInputSlot(unsigned int index) const override</div><div class="ttdoc">Get a const input slot handle by slot index. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00310">Layer.hpp:310</a></div></div> |
| 488 | <div class="ttc" id="_exceptions_8hpp_xhtml_aa3be76aec4ce713822a5ea1ecbb7bc61"><div class="ttname"><a href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a></div><div class="ttdeci">#define CHECK_LOCATION()</div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.xhtml#l00192">Exceptions.hpp:192</a></div></div> |
| 489 | <div class="ttc" id="classarmnn_1_1_layer_xhtml_a0e36688a43c35668d8db5257274c68fe"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">armnn::Layer::GetOutputSlot</a></div><div class="ttdeci">const OutputSlot & GetOutputSlot(unsigned int index=0) const override</div><div class="ttdoc">Get the const output slot handle by slot index. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00312">Layer.hpp:312</a></div></div> |
| 490 | <div class="ttc" id="classarmnn_1_1_i_output_slot_xhtml_a9943775a364fc4ab53b85ac88f311886"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">armnn::IOutputSlot::GetTensorInfo</a></div><div class="ttdeci">virtual const TensorInfo & GetTensorInfo() const =0</div></div> |
| 491 | <div class="ttc" id="classarmnn_1_1_output_slot_xhtml_ada2ad7d1caeeb4ef6195c8925fad6a65"><div class="ttname"><a href="classarmnn_1_1_output_slot.xhtml#ada2ad7d1caeeb4ef6195c8925fad6a65">armnn::OutputSlot::GetTensorInfo</a></div><div class="ttdeci">const TensorInfo & GetTensorInfo() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.xhtml#l00063">Layer.cpp:63</a></div></div> |
| 492 | </div><!-- fragment --> |
| 493 | </div> |
| 494 | </div> |
| 495 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 496 | <li>src/armnn/layers/<a class="el" href="_rsqrt_layer_8hpp_source.xhtml">RsqrtLayer.hpp</a></li> |
| 497 | <li>src/armnn/layers/<a class="el" href="_rsqrt_layer_8cpp_source.xhtml">RsqrtLayer.cpp</a></li> |
| 498 | </ul> |
| 499 | </div><!-- contents --> |
| 500 | </div><!-- doc-content --> |
| 501 | <!-- start footer part --> |
| 502 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 503 | <ul> |
| 504 | <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_rsqrt_layer.xhtml">RsqrtLayer</a></li> |
| 505 | <li class="footer">Generated on Fri Mar 13 2020 16:09:20 for ArmNN by |
| 506 | <a href="http://www.doxygen.org/index.html"> |
| 507 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 508 | </ul> |
| 509 | </div> |
| 510 | </body> |
| 511 | </html> |