Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: SplitterLayer Class Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('classarmnn_1_1_splitter_layer.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#pub-methods">Public Member Functions</a> | |
| 85 | <a href="#pro-methods">Protected Member Functions</a> | |
| 86 | <a href="classarmnn_1_1_splitter_layer-members.html">List of all members</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">SplitterLayer Class Reference</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | |
| 92 | <p>This layer represents a split operation. |
| 93 | <a href="classarmnn_1_1_splitter_layer.html#details">More...</a></p> |
| 94 | |
| 95 | <p><code>#include <<a class="el" href="_splitter_layer_8hpp_source.html">SplitterLayer.hpp</a>></code></p> |
| 96 | <div class="dynheader"> |
| 97 | Inheritance diagram for SplitterLayer:</div> |
| 98 | <div class="dyncontent"> |
| 99 | <div class="center"> |
| 100 | <img src="classarmnn_1_1_splitter_layer.png" usemap="#SplitterLayer_map" alt=""/> |
| 101 | <map id="SplitterLayer_map" name="SplitterLayer_map"> |
| 102 | <area href="classarmnn_1_1_layer_with_parameters.html" alt="LayerWithParameters< ViewsDescriptor >" shape="rect" coords="0,112,250,136"/> |
| 103 | <area href="classarmnn_1_1_layer.html" alt="Layer" shape="rect" coords="0,56,250,80"/> |
| 104 | <area href="classarmnn_1_1_i_connectable_layer.html" title="Interface for a layer that is connectable to other layers via InputSlots and OutputSlots. " alt="IConnectableLayer" shape="rect" coords="0,0,250,24"/> |
| 105 | </map> |
| 106 | </div></div> |
| 107 | <table class="memberdecls"> |
| 108 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 109 | Public Member Functions</h2></td></tr> |
| 110 | <tr class="memitem:adfa912d0c4c6c00f1af2cbfa799572b7"><td class="memItemLeft" align="right" valign="top">virtual std::unique_ptr< <a class="el" href="classarmnn_1_1_i_workload.html">IWorkload</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_splitter_layer.html#adfa912d0c4c6c00f1af2cbfa799572b7">CreateWorkload</a> (const <a class="el" href="classarmnn_1_1_i_workload_factory.html">IWorkloadFactory</a> &factory) const override</td></tr> |
| 111 | <tr class="separator:adfa912d0c4c6c00f1af2cbfa799572b7"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:a7763728321afb4eb0d1d00323c3e9121"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_splitter_layer.html#a7763728321afb4eb0d1d00323c3e9121">CreateTensorHandles</a> (const <a class="el" href="classarmnn_1_1_tensor_handle_factory_registry.html">TensorHandleFactoryRegistry</a> &registry, const <a class="el" href="classarmnn_1_1_i_workload_factory.html">IWorkloadFactory</a> &factory, const bool IsMemoryManaged=<a class="el" href="_ref_layer_tests_8cpp.html#a37f1c3ccc9fc906be85185350dd83d48">true</a>) override</td></tr> |
| 113 | <tr class="separator:a7763728321afb4eb0d1d00323c3e9121"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | <tr class="memitem:a9e2089cbab017e13409f94da71d75770"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_splitter_layer.html">SplitterLayer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_splitter_layer.html#a9e2089cbab017e13409f94da71d75770">Clone</a> (<a class="el" href="classarmnn_1_1_graph.html">Graph</a> &graph) const override</td></tr> |
| 115 | <tr class="separator:a9e2089cbab017e13409f94da71d75770"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | <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_splitter_layer.html#a8c8f543d7e9729362c266d12ec169966">ValidateTensorShapesFromInputs</a> () override</td></tr> |
| 117 | <tr class="separator:a8c8f543d7e9729362c266d12ec169966"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | <tr class="memitem:a65ca562c882ad619684445a1402f415a"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_splitter_layer.html#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a> (const std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> > &inputShapes) const override</td></tr> |
| 119 | <tr class="separator:a65ca562c882ad619684445a1402f415a"><td class="memSeparator" colspan="2"> </td></tr> |
| 120 | <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_splitter_layer.html#a75a50f464326fefa605ea84ae2c9be85">Accept</a> (<a class="el" href="classarmnn_1_1_i_layer_visitor.html">ILayerVisitor</a> &visitor) const override</td></tr> |
| 121 | <tr class="separator:a75a50f464326fefa605ea84ae2c9be85"><td class="memSeparator" colspan="2"> </td></tr> |
| 122 | <tr class="inherit_header pub_methods_classarmnn_1_1_layer_with_parameters"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_layer_with_parameters')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_layer_with_parameters.html">LayerWithParameters< ViewsDescriptor ></a></td></tr> |
| 123 | <tr class="memitem:a502c06a1b13e6d90a6cbf47c081f1444 inherit pub_methods_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#a502c06a1b13e6d90a6cbf47c081f1444">GetParameters</a> () const</td></tr> |
| 124 | <tr class="separator:a502c06a1b13e6d90a6cbf47c081f1444 inherit pub_methods_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:a2ca654770a1890f15e3c7aab98e434a5 inherit pub_methods_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#a2ca654770a1890f15e3c7aab98e434a5">SerializeLayerParameters</a> (<a class="el" href="namespacearmnn.html#a8c42c6647e31ebe525aeba878d133e45">ParameterStringifyFunction</a> &fn) const override</td></tr> |
| 126 | <tr class="separator:a2ca654770a1890f15e3c7aab98e434a5 inherit pub_methods_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <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.html">Layer</a></td></tr> |
| 128 | <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.html#a5e5ae420d199a0bccae5139d38c30205">Layer</a> (unsigned int numInputSlots, unsigned int numOutputSlots, <a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> type, const char *name)</td></tr> |
| 129 | <tr class="separator:a5e5ae420d199a0bccae5139d38c30205 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <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.html#a395d070748c18d903705799360088e80">Layer</a> (unsigned int numInputSlots, unsigned int numOutputSlots, <a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> type, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">DataLayout</a> layout, const char *name)</td></tr> |
| 131 | <tr class="separator:a395d070748c18d903705799360088e80 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <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.html#a9a97cb6d32661a57fc33bd29b8e41ff4">GetNameStr</a> () const</td></tr> |
| 133 | <tr class="separator:a9a97cb6d32661a57fc33bd29b8e41ff4 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 134 | <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.html">OutputHandler</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#af2c0edc7ea62a8baaec4d3d9b2b09256">GetOutputHandler</a> (unsigned int i=0) const</td></tr> |
| 135 | <tr class="separator:af2c0edc7ea62a8baaec4d3d9b2b09256 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 136 | <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.html">OutputHandler</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a1d4e05c17647232c514cfe58ca80744a">GetOutputHandler</a> (unsigned int i=0)</td></tr> |
| 137 | <tr class="separator:a1d4e05c17647232c514cfe58ca80744a inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <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.html">InputSlot</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#af5f530544d09a44d726f24702b67b35b">GetInputSlots</a> () const</td></tr> |
| 139 | <tr class="separator:af5f530544d09a44d726f24702b67b35b inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | <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.html">OutputSlot</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a98cdff4e0b45f4c80bfcedaf926e16e0">GetOutputSlots</a> () const</td></tr> |
| 141 | <tr class="separator:a98cdff4e0b45f4c80bfcedaf926e16e0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | <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.html">InputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#af6cb8de21ef0da269ec9b67755ae92a0">BeginInputSlots</a> ()</td></tr> |
| 143 | <tr class="separator:af6cb8de21ef0da269ec9b67755ae92a0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 144 | <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.html">InputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a9752e12d6b79e18da1a25f76159d2a72">EndInputSlots</a> ()</td></tr> |
| 145 | <tr class="separator:a9752e12d6b79e18da1a25f76159d2a72 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 146 | <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.html">OutputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a817d4be6dd88f532d36f51748ec14185">BeginOutputSlots</a> ()</td></tr> |
| 147 | <tr class="separator:a817d4be6dd88f532d36f51748ec14185 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 148 | <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.html">OutputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a55f76d98fcd2f5cdac3e2b14536cb7ab">EndOutputSlots</a> ()</td></tr> |
| 149 | <tr class="separator:a55f76d98fcd2f5cdac3e2b14536cb7ab inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 150 | <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.html#a22485f444124128940e798a42f0b76d9">IsOutputUnconnected</a> ()</td></tr> |
| 151 | <tr class="separator:a22485f444124128940e798a42f0b76d9 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 152 | <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.html#aac329cade047e952621b59a51a5d5f49">ResetPriority</a> () const</td></tr> |
| 153 | <tr class="separator:aac329cade047e952621b59a51a5d5f49 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 154 | <tr class="memitem:af97a07195a67a638605b3c325763c2dd inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a419086ecb4dc9d0f9e5d8933c87e2ea2">LayerPriority</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#af97a07195a67a638605b3c325763c2dd">GetPriority</a> () const</td></tr> |
| 155 | <tr class="separator:af97a07195a67a638605b3c325763c2dd inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 156 | <tr class="memitem:aaef29472862381822654ab6cbf7cba2a inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#aaef29472862381822654ab6cbf7cba2a">GetType</a> () const</td></tr> |
| 157 | <tr class="separator:aaef29472862381822654ab6cbf7cba2a inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 158 | <tr class="memitem:aea909c7327109228ef618d459015def3 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#aea909c7327109228ef618d459015def3">GetDataType</a> () const</td></tr> |
| 159 | <tr class="separator:aea909c7327109228ef618d459015def3 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 160 | <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.html">BackendId</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#afdb1d37740e7a083b625d669588b6a0e">GetBackendId</a> () const</td></tr> |
| 161 | <tr class="separator:afdb1d37740e7a083b625d669588b6a0e inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 162 | <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.html#a3f6ad59212fa8a47c9265162fff8a274">SetBackendId</a> (const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> &id)</td></tr> |
| 163 | <tr class="separator:a3f6ad59212fa8a47c9265162fff8a274 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 164 | <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.html#a0607e36e88f38c34c71c663164b76776">VerifyLayerConnections</a> (unsigned int expectedConnections, const <a class="el" href="structarmnn_1_1_check_location.html">CheckLocation</a> &location) const</td></tr> |
| 165 | <tr class="separator:a0607e36e88f38c34c71c663164b76776 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 166 | <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.html#a339bef86bc340c3d1393ed83950fe8af">ReleaseConstantData</a> ()</td></tr> |
| 167 | <tr class="separator:a339bef86bc340c3d1393ed83950fe8af inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 168 | <tr class="memitem:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename Op > </td></tr> |
| 169 | <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.html#a386acff5f8430245239ce58d00ba7576">OperateOnConstantTensors</a> (Op op)</td></tr> |
| 170 | <tr class="separator:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 171 | <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.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a> () const override</td></tr> |
| 172 | <tr class="separator:a7ddf0cf6f620d59c10e63495ace795d0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 173 | <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.html#abc0660dc440c8a285b456c9ef6383c26">GetNumInputSlots</a> () const override</td></tr> |
| 174 | <tr class="separator:abc0660dc440c8a285b456c9ef6383c26 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 175 | <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.html#a1594bddc87d6477df300317658f566bb">GetNumOutputSlots</a> () const override</td></tr> |
| 176 | <tr class="separator:a1594bddc87d6477df300317658f566bb inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 177 | <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.html">InputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a> (unsigned int index) const override</td></tr> |
| 178 | <tr class="separator:acf8b8e23bf647836592982f97088d375 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 179 | <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.html">InputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a1b50eb1358cdf382f4bc3fc8849f8e8e">GetInputSlot</a> (unsigned int index) override</td></tr> |
| 180 | <tr class="separator:a1b50eb1358cdf382f4bc3fc8849f8e8e inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 181 | <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.html">OutputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a> (unsigned int index=0) const override</td></tr> |
| 182 | <tr class="separator:a0e36688a43c35668d8db5257274c68fe inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 183 | <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.html">OutputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#abbd71844785bb2f00a81baca30ea5ff0">GetOutputSlot</a> (unsigned int index=0) override</td></tr> |
| 184 | <tr class="separator:abbd71844785bb2f00a81baca30ea5ff0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 185 | <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.html#a6d1024208b672a87ef2c1bfaf93d2b9f">SetGuid</a> (<a class="el" href="namespacearmnn.html#afad4088a9a058114ee5f87246f87bf49">LayerGuid</a> guid)</td></tr> |
| 186 | <tr class="separator:a6d1024208b672a87ef2c1bfaf93d2b9f inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 187 | <tr class="memitem:a8dc12f0ee5b232d397bd18ced1a72a64 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#afad4088a9a058114ee5f87246f87bf49">LayerGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a> () const final</td></tr> |
| 188 | <tr class="separator:a8dc12f0ee5b232d397bd18ced1a72a64 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 189 | <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.html#a339248d89d5e21534ecf74b4393ed4d2">AddRelatedLayerName</a> (const std::string layerName)</td></tr> |
| 190 | <tr class="separator:a339248d89d5e21534ecf74b4393ed4d2 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 191 | <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.html#a5e5520194ea4042fe07b0bf53c28f634">GetRelatedLayerNames</a> ()</td></tr> |
| 192 | <tr class="separator:a5e5520194ea4042fe07b0bf53c28f634 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 193 | <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.html#a72b18e4c5a403bc3fe2fecf20135c8d6">Reparent</a> (<a class="el" href="classarmnn_1_1_graph.html">Graph</a> &dest, std::list< <a class="el" href="classarmnn_1_1_layer.html">Layer</a> *>::const_iterator iterator)=0</td></tr> |
| 194 | <tr class="separator:a72b18e4c5a403bc3fe2fecf20135c8d6 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 195 | </table><table class="memberdecls"> |
| 196 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> |
| 197 | Protected Member Functions</h2></td></tr> |
| 198 | <tr class="memitem:a82971de68e36c7262a5dc12c2c7e91f8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_splitter_layer.html#a82971de68e36c7262a5dc12c2c7e91f8">SplitterLayer</a> (const <a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> &param, const char *name)</td></tr> |
| 199 | <tr class="separator:a82971de68e36c7262a5dc12c2c7e91f8"><td class="memSeparator" colspan="2"> </td></tr> |
| 200 | <tr class="memitem:a45f0711bf32a9868af03efea258f44a6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_splitter_layer.html#a45f0711bf32a9868af03efea258f44a6">~SplitterLayer</a> ()=default</td></tr> |
| 201 | <tr class="memdesc:a45f0711bf32a9868af03efea258f44a6"><td class="mdescLeft"> </td><td class="mdescRight">Default destructor. <a href="#a45f0711bf32a9868af03efea258f44a6">More...</a><br /></td></tr> |
| 202 | <tr class="separator:a45f0711bf32a9868af03efea258f44a6"><td class="memSeparator" colspan="2"> </td></tr> |
| 203 | <tr class="inherit_header pro_methods_classarmnn_1_1_layer_with_parameters"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_layer_with_parameters')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_layer_with_parameters.html">LayerWithParameters< ViewsDescriptor ></a></td></tr> |
| 204 | <tr class="memitem:a1f5a1d629b1ef52a0d8e0214a0fb51a1 inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#a1f5a1d629b1ef52a0d8e0214a0fb51a1">LayerWithParameters</a> (unsigned int numInputSlots, unsigned int numOutputSlots, <a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> type, const <a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> &param, const char *name)</td></tr> |
| 205 | <tr class="separator:a1f5a1d629b1ef52a0d8e0214a0fb51a1 inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 206 | <tr class="memitem:adc0f578e075f63379058f2d2641a509a inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#adc0f578e075f63379058f2d2641a509a">~LayerWithParameters</a> ()=default</td></tr> |
| 207 | <tr class="separator:adc0f578e075f63379058f2d2641a509a inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 208 | <tr class="memitem:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.html">QueueDescriptor</a> &descriptor) const</td></tr> |
| 209 | <tr class="memdesc:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to reduce duplication in *Layer<a class="el" href="_elementwise_unary_test_impl_8hpp.html#aa50938ed8f91e09acd4af904dcf5543a">CreateWorkload</a>. <a href="classarmnn_1_1_layer_with_parameters.html#a30a858b2b26d651a066537e499fbf40d">More...</a><br /></td></tr> |
| 210 | <tr class="separator:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 211 | <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.html">Layer</a></td></tr> |
| 212 | <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.html#aacfb208d750bdfce1bbd423e5cac76e2">~Layer</a> ()=default</td></tr> |
| 213 | <tr class="separator:aacfb208d750bdfce1bbd423e5cac76e2 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 214 | <tr class="memitem:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 215 | <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.html#afc3239f5fc116259bf5451964e803646">CollectQueueDescriptorInputs</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.html">QueueDescriptor</a> &descriptor, <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &<a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>) const</td></tr> |
| 216 | <tr class="separator:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 217 | <tr class="memitem:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 218 | <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.html#a499ca5a94d0174ed21786b6994b2cd8c">CollectQueueDescriptorOutputs</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.html">QueueDescriptor</a> &descriptor, <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &<a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>) const</td></tr> |
| 219 | <tr class="separator:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 220 | <tr class="memitem:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 221 | <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.html">WorkloadInfo</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.html">QueueDescriptor</a> &descriptor) const</td></tr> |
| 222 | <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.html#aa50938ed8f91e09acd4af904dcf5543a">CreateWorkload</a>. <a href="classarmnn_1_1_layer.html#a30a858b2b26d651a066537e499fbf40d">More...</a><br /></td></tr> |
| 223 | <tr class="separator:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 224 | <tr class="memitem:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename LayerType , typename ... Params> </td></tr> |
| 225 | <tr class="memitem:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#aa10fd205c3f5469a9ecb2aa2a3ffd101">CloneBase</a> (<a class="el" href="classarmnn_1_1_graph.html">Graph</a> &graph, Params &&... params) const</td></tr> |
| 226 | <tr class="separator:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 227 | <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.html#a585d59ec610af46a76487fd6c1c55ac1">ConstantTensors</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#afbeac2d77ecaadc3e303a163b4146961">GetConstantTensorsByRef</a> ()</td></tr> |
| 228 | <tr class="separator:afbeac2d77ecaadc3e303a163b4146961 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 229 | <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.html">IConnectableLayer</a></td></tr> |
| 230 | <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.html#a8c7faf37c1d965431aaa02ae934d67ee">~IConnectableLayer</a> ()</td></tr> |
| 231 | <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.html#a8c7faf37c1d965431aaa02ae934d67ee">More...</a><br /></td></tr> |
| 232 | <tr class="separator:a8c7faf37c1d965431aaa02ae934d67ee inherit pro_methods_classarmnn_1_1_i_connectable_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 233 | </table><table class="memberdecls"> |
| 234 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| 235 | Additional Inherited Members</h2></td></tr> |
| 236 | <tr class="inherit_header pub_types_classarmnn_1_1_layer_with_parameters"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classarmnn_1_1_layer_with_parameters')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classarmnn_1_1_layer_with_parameters.html">LayerWithParameters< ViewsDescriptor ></a></td></tr> |
| 237 | <tr class="memitem:a6b1bd3d5380a0ce8ecb71ddb0261c3fa inherit pub_types_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#a6b1bd3d5380a0ce8ecb71ddb0261c3fa">DescriptorType</a> = <a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a></td></tr> |
| 238 | <tr class="separator:a6b1bd3d5380a0ce8ecb71ddb0261c3fa inherit pub_types_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 239 | <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.html">Layer</a></td></tr> |
| 240 | <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.html#a585d59ec610af46a76487fd6c1c55ac1">ConstantTensors</a> = std::vector< std::reference_wrapper< std::unique_ptr< <a class="el" href="classarmnn_1_1_scoped_cpu_tensor_handle.html">ScopedCpuTensorHandle</a> > >></td></tr> |
| 241 | <tr class="separator:a585d59ec610af46a76487fd6c1c55ac1 inherit pro_types_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 242 | <tr class="inherit_header pro_attribs_classarmnn_1_1_layer_with_parameters"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classarmnn_1_1_layer_with_parameters')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classarmnn_1_1_layer_with_parameters.html">LayerWithParameters< ViewsDescriptor ></a></td></tr> |
| 243 | <tr class="memitem:ad32ac22bc72e28dfd6b466d143c8e262 inherit pro_attribs_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a></td></tr> |
| 244 | <tr class="memdesc:ad32ac22bc72e28dfd6b466d143c8e262 inherit pro_attribs_classarmnn_1_1_layer_with_parameters"><td class="mdescLeft"> </td><td class="mdescRight">The parameters for the layer (not including tensor-valued weights etc.). <a href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">More...</a><br /></td></tr> |
| 245 | <tr class="separator:ad32ac22bc72e28dfd6b466d143c8e262 inherit pro_attribs_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 246 | <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.html">Layer</a></td></tr> |
| 247 | <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.html">OutputHandler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#aa44d91037bba52ba0dec6577509ade3b">m_OutputHandlers</a></td></tr> |
| 248 | <tr class="separator:aa44d91037bba52ba0dec6577509ade3b inherit pro_attribs_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 249 | </table> |
| 250 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 251 | <div class="textblock"><p>This layer represents a split operation. </p> |
| 252 | |
| 253 | <p class="definition">Definition at line <a class="el" href="_splitter_layer_8hpp_source.html#l00013">13</a> of file <a class="el" href="_splitter_layer_8hpp_source.html">SplitterLayer.hpp</a>.</p> |
| 254 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 255 | <a id="a82971de68e36c7262a5dc12c2c7e91f8"></a> |
| 256 | <h2 class="memtitle"><span class="permalink"><a href="#a82971de68e36c7262a5dc12c2c7e91f8">◆ </a></span>SplitterLayer()</h2> |
| 257 | |
| 258 | <div class="memitem"> |
| 259 | <div class="memproto"> |
| 260 | <table class="mlabels"> |
| 261 | <tr> |
| 262 | <td class="mlabels-left"> |
| 263 | <table class="memname"> |
| 264 | <tr> |
| 265 | <td class="memname"><a class="el" href="classarmnn_1_1_splitter_layer.html">SplitterLayer</a> </td> |
| 266 | <td>(</td> |
| 267 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> & </td> |
| 268 | <td class="paramname"><em>param</em>, </td> |
| 269 | </tr> |
| 270 | <tr> |
| 271 | <td class="paramkey"></td> |
| 272 | <td></td> |
| 273 | <td class="paramtype">const char * </td> |
| 274 | <td class="paramname"><em>name</em> </td> |
| 275 | </tr> |
| 276 | <tr> |
| 277 | <td></td> |
| 278 | <td>)</td> |
| 279 | <td></td><td></td> |
| 280 | </tr> |
| 281 | </table> |
| 282 | </td> |
| 283 | <td class="mlabels-right"> |
| 284 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 285 | </tr> |
| 286 | </table> |
| 287 | </div><div class="memdoc"> |
| 288 | <p>Constructor to create a <a class="el" href="classarmnn_1_1_splitter_layer.html" title="This layer represents a split operation. ">SplitterLayer</a>. </p><dl class="params"><dt>Parameters</dt><dd> |
| 289 | <table class="params"> |
| 290 | <tr><td class="paramdir">[in]</td><td class="paramname">param</td><td><a class="el" href="structarmnn_1_1_views_descriptor.html" title="A ViewsDescriptor for the SplitterLayer. Descriptor to configure the splitting process. Number of Views must be equal to the number of outputs, and their order must match - e.g. first view corresponds to the first output, second view to the second output, etc. ">ViewsDescriptor</a> to configure the splitter operation. </td></tr> |
| 291 | <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td><a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 292 | </table> |
| 293 | </dd> |
| 294 | </dl> |
| 295 | |
| 296 | <p class="definition">Definition at line <a class="el" href="_splitter_layer_8cpp_source.html#l00016">16</a> of file <a class="el" href="_splitter_layer_8cpp_source.html">SplitterLayer.cpp</a>.</p> |
| 297 | <div class="fragment"><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  : <a class="code" href="classarmnn_1_1_layer_with_parameters.html#a1f5a1d629b1ef52a0d8e0214a0fb51a1">LayerWithParameters</a>(1, param.GetNumViews(), <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a41cb9b797ebc6f6f6314e3ded935f4cf">LayerType::Splitter</a>, param, name)</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> }</div><div class="ttc" id="namespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a41cb9b797ebc6f6f6314e3ded935f4cf"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a41cb9b797ebc6f6f6314e3ded935f4cf">armnn::LayerType::Splitter</a></div></div> |
| 298 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_a1f5a1d629b1ef52a0d8e0214a0fb51a1"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#a1f5a1d629b1ef52a0d8e0214a0fb51a1">armnn::LayerWithParameters< ViewsDescriptor >::LayerWithParameters</a></div><div class="ttdeci">LayerWithParameters(unsigned int numInputSlots, unsigned int numOutputSlots, LayerType type, const ViewsDescriptor &param, const char *name)</div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00029">LayerWithParameters.hpp:29</a></div></div> |
| 299 | </div><!-- fragment --> |
| 300 | </div> |
| 301 | </div> |
| 302 | <a id="a45f0711bf32a9868af03efea258f44a6"></a> |
| 303 | <h2 class="memtitle"><span class="permalink"><a href="#a45f0711bf32a9868af03efea258f44a6">◆ </a></span>~SplitterLayer()</h2> |
| 304 | |
| 305 | <div class="memitem"> |
| 306 | <div class="memproto"> |
| 307 | <table class="mlabels"> |
| 308 | <tr> |
| 309 | <td class="mlabels-left"> |
| 310 | <table class="memname"> |
| 311 | <tr> |
| 312 | <td class="memname">~<a class="el" href="classarmnn_1_1_splitter_layer.html">SplitterLayer</a> </td> |
| 313 | <td>(</td> |
| 314 | <td class="paramname"></td><td>)</td> |
| 315 | <td></td> |
| 316 | </tr> |
| 317 | </table> |
| 318 | </td> |
| 319 | <td class="mlabels-right"> |
| 320 | <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td> |
| 321 | </tr> |
| 322 | </table> |
| 323 | </div><div class="memdoc"> |
| 324 | |
| 325 | <p>Default destructor. </p> |
| 326 | |
| 327 | </div> |
| 328 | </div> |
| 329 | <h2 class="groupheader">Member Function Documentation</h2> |
| 330 | <a id="a75a50f464326fefa605ea84ae2c9be85"></a> |
| 331 | <h2 class="memtitle"><span class="permalink"><a href="#a75a50f464326fefa605ea84ae2c9be85">◆ </a></span>Accept()</h2> |
| 332 | |
| 333 | <div class="memitem"> |
| 334 | <div class="memproto"> |
| 335 | <table class="mlabels"> |
| 336 | <tr> |
| 337 | <td class="mlabels-left"> |
| 338 | <table class="memname"> |
| 339 | <tr> |
| 340 | <td class="memname">void Accept </td> |
| 341 | <td>(</td> |
| 342 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_layer_visitor.html">ILayerVisitor</a> & </td> |
| 343 | <td class="paramname"><em>visitor</em></td><td>)</td> |
| 344 | <td> const</td> |
| 345 | </tr> |
| 346 | </table> |
| 347 | </td> |
| 348 | <td class="mlabels-right"> |
| 349 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 350 | </tr> |
| 351 | </table> |
| 352 | </div><div class="memdoc"> |
| 353 | |
| 354 | <p>Implements <a class="el" href="classarmnn_1_1_i_connectable_layer.html#a8c9198a992b02e61a6777329d487dde3">IConnectableLayer</a>.</p> |
| 355 | |
| 356 | <p class="definition">Definition at line <a class="el" href="_splitter_layer_8cpp_source.html#l00164">164</a> of file <a class="el" href="_splitter_layer_8cpp_source.html">SplitterLayer.cpp</a>.</p> |
| 357 | |
| 358 | <p class="reference">References <a class="el" href="_layer_8hpp_source.html#l00305">Layer::GetName()</a>, <a class="el" href="_layer_with_parameters_8hpp_source.html#l00018">LayerWithParameters< ViewsDescriptor >::GetParameters()</a>, and <a class="el" href="classarmnn_1_1_i_layer_visitor.html#a45c613d43c30b3314cafb1be3ef7685c">ILayerVisitor::VisitSplitterLayer()</a>.</p> |
| 359 | <div class="fragment"><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> {</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  visitor.VisitSplitterLayer(<span class="keyword">this</span>, <a class="code" href="classarmnn_1_1_layer_with_parameters.html#a502c06a1b13e6d90a6cbf47c081f1444">GetParameters</a>(), <a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> }</div><div class="ttc" id="classarmnn_1_1_layer_html_a7ddf0cf6f620d59c10e63495ace795d0"><div class="ttname"><a href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">armnn::Layer::GetName</a></div><div class="ttdeci">const char * GetName() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00305">Layer.hpp:305</a></div></div> |
| 360 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_a502c06a1b13e6d90a6cbf47c081f1444"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#a502c06a1b13e6d90a6cbf47c081f1444">armnn::LayerWithParameters< ViewsDescriptor >::GetParameters</a></div><div class="ttdeci">const ViewsDescriptor & GetParameters() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00018">LayerWithParameters.hpp:18</a></div></div> |
| 361 | </div><!-- fragment --> |
| 362 | </div> |
| 363 | </div> |
| 364 | <a id="a9e2089cbab017e13409f94da71d75770"></a> |
| 365 | <h2 class="memtitle"><span class="permalink"><a href="#a9e2089cbab017e13409f94da71d75770">◆ </a></span>Clone()</h2> |
| 366 | |
| 367 | <div class="memitem"> |
| 368 | <div class="memproto"> |
| 369 | <table class="mlabels"> |
| 370 | <tr> |
| 371 | <td class="mlabels-left"> |
| 372 | <table class="memname"> |
| 373 | <tr> |
| 374 | <td class="memname"><a class="el" href="classarmnn_1_1_splitter_layer.html">SplitterLayer</a> * Clone </td> |
| 375 | <td>(</td> |
| 376 | <td class="paramtype"><a class="el" href="classarmnn_1_1_graph.html">Graph</a> & </td> |
| 377 | <td class="paramname"><em>graph</em></td><td>)</td> |
| 378 | <td> const</td> |
| 379 | </tr> |
| 380 | </table> |
| 381 | </td> |
| 382 | <td class="mlabels-right"> |
| 383 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 384 | </tr> |
| 385 | </table> |
| 386 | </div><div class="memdoc"> |
| 387 | <p>Creates a dynamically-allocated copy of this layer. </p><dl class="params"><dt>Parameters</dt><dd> |
| 388 | <table class="params"> |
| 389 | <tr><td class="paramdir">[in]</td><td class="paramname">graph</td><td>The graph into which this layer is being cloned. </td></tr> |
| 390 | </table> |
| 391 | </dd> |
| 392 | </dl> |
| 393 | |
| 394 | <p>Implements <a class="el" href="classarmnn_1_1_layer.html#ae89ff455503aa106d00bf34103d2f2e0">Layer</a>.</p> |
| 395 | |
| 396 | <p class="definition">Definition at line <a class="el" href="_splitter_layer_8cpp_source.html#l00123">123</a> of file <a class="el" href="_splitter_layer_8cpp_source.html">SplitterLayer.cpp</a>.</p> |
| 397 | |
| 398 | <p class="reference">References <a class="el" href="_layer_8hpp_source.html#l00305">Layer::GetName()</a>, and <a class="el" href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters< ViewsDescriptor >::m_Param</a>.</p> |
| 399 | <div class="fragment"><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> {</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">return</span> CloneBase<SplitterLayer>(graph, <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>, <a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> }</div><div class="ttc" id="classarmnn_1_1_layer_html_a7ddf0cf6f620d59c10e63495ace795d0"><div class="ttname"><a href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">armnn::Layer::GetName</a></div><div class="ttdeci">const char * GetName() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00305">Layer.hpp:305</a></div></div> |
| 400 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_ad32ac22bc72e28dfd6b466d143c8e262"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">armnn::LayerWithParameters< ViewsDescriptor >::m_Param</a></div><div class="ttdeci">ViewsDescriptor m_Param</div><div class="ttdoc">The parameters for the layer (not including tensor-valued weights etc.). </div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters.hpp:50</a></div></div> |
| 401 | </div><!-- fragment --> |
| 402 | </div> |
| 403 | </div> |
| 404 | <a id="a7763728321afb4eb0d1d00323c3e9121"></a> |
| 405 | <h2 class="memtitle"><span class="permalink"><a href="#a7763728321afb4eb0d1d00323c3e9121">◆ </a></span>CreateTensorHandles()</h2> |
| 406 | |
| 407 | <div class="memitem"> |
| 408 | <div class="memproto"> |
| 409 | <table class="mlabels"> |
| 410 | <tr> |
| 411 | <td class="mlabels-left"> |
| 412 | <table class="memname"> |
| 413 | <tr> |
| 414 | <td class="memname">void CreateTensorHandles </td> |
| 415 | <td>(</td> |
| 416 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_handle_factory_registry.html">TensorHandleFactoryRegistry</a> & </td> |
| 417 | <td class="paramname"><em>registry</em>, </td> |
| 418 | </tr> |
| 419 | <tr> |
| 420 | <td class="paramkey"></td> |
| 421 | <td></td> |
| 422 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_workload_factory.html">IWorkloadFactory</a> & </td> |
| 423 | <td class="paramname"><em>factory</em>, </td> |
| 424 | </tr> |
| 425 | <tr> |
| 426 | <td class="paramkey"></td> |
| 427 | <td></td> |
| 428 | <td class="paramtype">const bool </td> |
| 429 | <td class="paramname"><em>IsMemoryManaged</em> = <code><a class="el" href="_ref_layer_tests_8cpp.html#a37f1c3ccc9fc906be85185350dd83d48">true</a></code> </td> |
| 430 | </tr> |
| 431 | <tr> |
| 432 | <td></td> |
| 433 | <td>)</td> |
| 434 | <td></td><td></td> |
| 435 | </tr> |
| 436 | </table> |
| 437 | </td> |
| 438 | <td class="mlabels-right"> |
| 439 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 440 | </tr> |
| 441 | </table> |
| 442 | </div><div class="memdoc"> |
| 443 | <p>Set the outputs to be appropriate sub tensors of the input if sub tensors are supported otherwise creates tensor handlers. </p><dl class="params"><dt>Parameters</dt><dd> |
| 444 | <table class="params"> |
| 445 | <tr><td class="paramdir">[in]</td><td class="paramname">registry</td><td>Contains all the registered tensor handle factories available for use. </td></tr> |
| 446 | <tr><td class="paramdir">[in]</td><td class="paramname">factory</td><td>The workload factory which will create the workload. </td></tr> |
| 447 | <tr><td class="paramdir">[in]</td><td class="paramname">IsMemoryManaged</td><td>Determine whether or not to assign a memory manager during creation </td></tr> |
| 448 | </table> |
| 449 | </dd> |
| 450 | </dl> |
| 451 | |
| 452 | <p>Reimplemented from <a class="el" href="classarmnn_1_1_layer.html#a3ff62126ec713a2708e5fbaa6146a7de">Layer</a>.</p> |
| 453 | |
| 454 | <p class="definition">Definition at line <a class="el" href="_splitter_layer_8cpp_source.html#l00103">103</a> of file <a class="el" href="_splitter_layer_8cpp_source.html">SplitterLayer.cpp</a>.</p> |
| 455 | |
| 456 | <p class="reference">References <a class="el" href="_tensor_handle_factory_registry_8cpp_source.html#l00039">TensorHandleFactoryRegistry::GetFactory()</a>, <a class="el" href="_layer_8hpp_source.html#l00312">Layer::GetOutputSlot()</a>, <a class="el" href="_layer_8cpp_source.html#l00172">OutputSlot::GetTensorHandleFactoryId()</a>, and <a class="el" href="include_2armnn_2backends_2_i_tensor_handle_factory_8hpp_source.html#l00022">ITensorHandleFactory::LegacyFactoryId</a>.</p> |
| 457 | <div class="fragment"><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> {</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  boost::ignore_unused(IsMemoryManaged);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  OutputSlot& slot = <a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(0);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="classarmnn_1_1_i_tensor_handle_factory.html#a32f4aa6a7089d877af08928139c2c277">ITensorHandleFactory::FactoryId</a> factoryId = slot.GetTensorHandleFactoryId();</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">if</span> (factoryId == <a class="code" href="classarmnn_1_1_i_tensor_handle_factory.html#a9c95f90eb40e31f629e0e2947b8bc6f9">ITensorHandleFactory::LegacyFactoryId</a>)</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  {</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  CreateTensors(workloadFactory);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  }</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  ITensorHandleFactory* handleFactory = registry.GetFactory(factoryId);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  BOOST_ASSERT(handleFactory);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  CreateTensors(*handleFactory);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  }</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> }</div><div class="ttc" id="classarmnn_1_1_i_tensor_handle_factory_html_a9c95f90eb40e31f629e0e2947b8bc6f9"><div class="ttname"><a href="classarmnn_1_1_i_tensor_handle_factory.html#a9c95f90eb40e31f629e0e2947b8bc6f9">armnn::ITensorHandleFactory::LegacyFactoryId</a></div><div class="ttdeci">static const FactoryId LegacyFactoryId</div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_i_tensor_handle_factory_8hpp_source.html#l00022">ITensorHandleFactory.hpp:22</a></div></div> |
| 458 | <div class="ttc" id="classarmnn_1_1_i_tensor_handle_factory_html_a32f4aa6a7089d877af08928139c2c277"><div class="ttname"><a href="classarmnn_1_1_i_tensor_handle_factory.html#a32f4aa6a7089d877af08928139c2c277">armnn::ITensorHandleFactory::FactoryId</a></div><div class="ttdeci">std::string FactoryId</div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_i_tensor_handle_factory_8hpp_source.html#l00021">ITensorHandleFactory.hpp:21</a></div></div> |
| 459 | <div class="ttc" id="classarmnn_1_1_layer_html_a0e36688a43c35668d8db5257274c68fe"><div class="ttname"><a href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">armnn::Layer::GetOutputSlot</a></div><div class="ttdeci">const OutputSlot & GetOutputSlot(unsigned int index=0) const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00312">Layer.hpp:312</a></div></div> |
| 460 | </div><!-- fragment --> |
| 461 | </div> |
| 462 | </div> |
| 463 | <a id="adfa912d0c4c6c00f1af2cbfa799572b7"></a> |
| 464 | <h2 class="memtitle"><span class="permalink"><a href="#adfa912d0c4c6c00f1af2cbfa799572b7">◆ </a></span>CreateWorkload()</h2> |
| 465 | |
| 466 | <div class="memitem"> |
| 467 | <div class="memproto"> |
| 468 | <table class="mlabels"> |
| 469 | <tr> |
| 470 | <td class="mlabels-left"> |
| 471 | <table class="memname"> |
| 472 | <tr> |
| 473 | <td class="memname">std::unique_ptr< <a class="el" href="classarmnn_1_1_i_workload.html">IWorkload</a> > CreateWorkload </td> |
| 474 | <td>(</td> |
| 475 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_workload_factory.html">IWorkloadFactory</a> & </td> |
| 476 | <td class="paramname"><em>factory</em></td><td>)</td> |
| 477 | <td> const</td> |
| 478 | </tr> |
| 479 | </table> |
| 480 | </td> |
| 481 | <td class="mlabels-right"> |
| 482 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 483 | </tr> |
| 484 | </table> |
| 485 | </div><div class="memdoc"> |
| 486 | <p>Makes a workload for the Splitter type. </p><dl class="params"><dt>Parameters</dt><dd> |
| 487 | <table class="params"> |
| 488 | <tr><td class="paramdir">[in]</td><td class="paramname">graph</td><td>The graph where this layer can be found. </td></tr> |
| 489 | <tr><td class="paramdir">[in]</td><td class="paramname">factory</td><td>The workload factory which will create the workload. </td></tr> |
| 490 | </table> |
| 491 | </dd> |
| 492 | </dl> |
| 493 | <dl class="section return"><dt>Returns</dt><dd>A pointer to the created workload, or nullptr if not created. </dd></dl> |
| 494 | |
| 495 | <p>Implements <a class="el" href="classarmnn_1_1_layer.html#a08d1e10a45f15cd0bd02557be35a3864">Layer</a>.</p> |
| 496 | |
| 497 | <p class="definition">Definition at line <a class="el" href="_splitter_layer_8cpp_source.html#l00021">21</a> of file <a class="el" href="_splitter_layer_8cpp_source.html">SplitterLayer.cpp</a>.</p> |
| 498 | |
| 499 | <p class="reference">References <a class="el" href="_workload_factory_8cpp_source.html#l01389">IWorkloadFactory::CreateSplitter()</a>, <a class="el" href="_output_handler_8hpp_source.html#l00048">OutputHandler::GetData()</a>, <a class="el" href="_layer_8hpp_source.html#l00231">Layer::GetInputSlots()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00292">ViewsDescriptor::GetNumDimensions()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00287">ViewsDescriptor::GetNumViews()</a>, <a class="el" href="_layer_8hpp_source.html#l00312">Layer::GetOutputSlot()</a>, <a class="el" href="_tensor_8hpp_source.html#l00088">TensorInfo::GetShape()</a>, <a class="el" href="_layer_8cpp_source.html#l00172">OutputSlot::GetTensorHandleFactoryId()</a>, <a class="el" href="_output_handler_8hpp_source.html#l00044">OutputHandler::GetTensorInfo()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00297">ViewsDescriptor::GetViewOrigin()</a>, <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::info</a>, <a class="el" href="_tensor_8cpp_source.html#l00218">TensorInfo::IsTypeSpaceMatch()</a>, <a class="el" href="_layer_8hpp_source.html#l00364">Layer::m_OutputHandlers</a>, <a class="el" href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters< ViewsDescriptor >::m_Param</a>, <a class="el" href="_workload_data_8hpp_source.html#l00096">SplitterQueueDescriptor::m_ViewOrigins</a>, and <a class="el" href="_layer_with_parameters_8hpp_source.html#l00043">LayerWithParameters< ViewsDescriptor >::PrepInfoAndDesc()</a>.</p> |
| 500 | <div class="fragment"><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  SplitterQueueDescriptor descriptor;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="comment">// Copies the window origins to the descriptor.</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>(); ++i)</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  descriptor.m_ViewOrigins.emplace_back(</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  std::vector<unsigned int>(<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#ab78e6fe963508c1ac5c00d04bb3361a3">GetViewOrigin</a>(i), <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#ab78e6fe963508c1ac5c00d04bb3361a3">GetViewOrigin</a>(i) + <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>()));</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  }</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">return</span> factory.CreateSplitter(descriptor, <a class="code" href="classarmnn_1_1_layer_with_parameters.html#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a>(descriptor));</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> }</div><div class="ttc" id="structarmnn_1_1_views_descriptor_html_a78e8266be865fdd92cadd04d6e25ae1f"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">armnn::ViewsDescriptor::GetNumDimensions</a></div><div class="ttdeci">uint32_t GetNumDimensions() const</div><div class="ttdoc">Get the number of dimensions. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00292">Descriptors.cpp:292</a></div></div> |
| 501 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_ad32ac22bc72e28dfd6b466d143c8e262"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">armnn::LayerWithParameters< ViewsDescriptor >::m_Param</a></div><div class="ttdeci">ViewsDescriptor m_Param</div><div class="ttdoc">The parameters for the layer (not including tensor-valued weights etc.). </div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters.hpp:50</a></div></div> |
| 502 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_a30a858b2b26d651a066537e499fbf40d"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#a30a858b2b26d651a066537e499fbf40d">armnn::LayerWithParameters< ViewsDescriptor >::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_with_parameters_8hpp_source.html#l00043">LayerWithParameters.hpp:43</a></div></div> |
| 503 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_ab78e6fe963508c1ac5c00d04bb3361a3"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#ab78e6fe963508c1ac5c00d04bb3361a3">armnn::ViewsDescriptor::GetViewOrigin</a></div><div class="ttdeci">const uint32_t * GetViewOrigin(uint32_t idx) const</div><div class="ttdoc">Get the view origin at the int value idx. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00297">Descriptors.cpp:297</a></div></div> |
| 504 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a35546e7b56e6e972a495b48748478ede"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">armnn::ViewsDescriptor::GetNumViews</a></div><div class="ttdeci">uint32_t GetNumViews() const</div><div class="ttdoc">Get the number of views. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00287">Descriptors.cpp:287</a></div></div> |
| 505 | </div><!-- fragment --> |
| 506 | </div> |
| 507 | </div> |
| 508 | <a id="a65ca562c882ad619684445a1402f415a"></a> |
| 509 | <h2 class="memtitle"><span class="permalink"><a href="#a65ca562c882ad619684445a1402f415a">◆ </a></span>InferOutputShapes()</h2> |
| 510 | |
| 511 | <div class="memitem"> |
| 512 | <div class="memproto"> |
| 513 | <table class="mlabels"> |
| 514 | <tr> |
| 515 | <td class="mlabels-left"> |
| 516 | <table class="memname"> |
| 517 | <tr> |
| 518 | <td class="memname">std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> > InferOutputShapes </td> |
| 519 | <td>(</td> |
| 520 | <td class="paramtype">const std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> > & </td> |
| 521 | <td class="paramname"><em>inputShapes</em></td><td>)</td> |
| 522 | <td> const</td> |
| 523 | </tr> |
| 524 | </table> |
| 525 | </td> |
| 526 | <td class="mlabels-right"> |
| 527 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 528 | </tr> |
| 529 | </table> |
| 530 | </div><div class="memdoc"> |
| 531 | <p>By default returns inputShapes if the number of inputs are equal to number of outputs, otherwise infers the output shapes from given input shapes and layer properties. </p><dl class="params"><dt>Parameters</dt><dd> |
| 532 | <table class="params"> |
| 533 | <tr><td class="paramdir">[in]</td><td class="paramname">inputShapes</td><td>The input shapes layer has. </td></tr> |
| 534 | </table> |
| 535 | </dd> |
| 536 | </dl> |
| 537 | <dl class="section return"><dt>Returns</dt><dd>A vector to the inferred output shape. </dd></dl> |
| 538 | |
| 539 | <p>Reimplemented from <a class="el" href="classarmnn_1_1_layer.html#a65ca562c882ad619684445a1402f415a">Layer</a>.</p> |
| 540 | |
| 541 | <p class="definition">Definition at line <a class="el" href="_splitter_layer_8cpp_source.html#l00128">128</a> of file <a class="el" href="_splitter_layer_8cpp_source.html">SplitterLayer.cpp</a>.</p> |
| 542 | |
| 543 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00292">ViewsDescriptor::GetNumDimensions()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00287">ViewsDescriptor::GetNumViews()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00332">ViewsDescriptor::GetViewSizes()</a>, and <a class="el" href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters< ViewsDescriptor >::m_Param</a>.</p> |
| 544 | |
| 545 | <p class="reference">Referenced by <a class="el" href="_splitter_layer_8cpp_source.html#l00142">SplitterLayer::ValidateTensorShapesFromInputs()</a>.</p> |
| 546 | <div class="fragment"><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> {</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  boost::ignore_unused(inputShapes);</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  BOOST_ASSERT(inputShapes.size() == <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>());</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  std::vector<TensorShape> outShapes;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="comment">//Output shapes must match View shapes.</span></div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> viewIdx = 0; viewIdx < <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>(); viewIdx++)</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  {</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keyword">const</span> uint32_t* sizes = <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#a3c1ab47a0a319413b3a4b5757ed5b80b">GetViewSizes</a>(viewIdx);</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  outShapes.push_back(TensorShape(<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>(), sizes));</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  }</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">return</span> outShapes;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> }</div><div class="ttc" id="structarmnn_1_1_views_descriptor_html_a78e8266be865fdd92cadd04d6e25ae1f"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">armnn::ViewsDescriptor::GetNumDimensions</a></div><div class="ttdeci">uint32_t GetNumDimensions() const</div><div class="ttdoc">Get the number of dimensions. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00292">Descriptors.cpp:292</a></div></div> |
| 547 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_ad32ac22bc72e28dfd6b466d143c8e262"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">armnn::LayerWithParameters< ViewsDescriptor >::m_Param</a></div><div class="ttdeci">ViewsDescriptor m_Param</div><div class="ttdoc">The parameters for the layer (not including tensor-valued weights etc.). </div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters.hpp:50</a></div></div> |
| 548 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a3c1ab47a0a319413b3a4b5757ed5b80b"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a3c1ab47a0a319413b3a4b5757ed5b80b">armnn::ViewsDescriptor::GetViewSizes</a></div><div class="ttdeci">const uint32_t * GetViewSizes(uint32_t idx) const</div><div class="ttdoc">Get the view sizes at the int value idx. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00332">Descriptors.cpp:332</a></div></div> |
| 549 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a35546e7b56e6e972a495b48748478ede"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">armnn::ViewsDescriptor::GetNumViews</a></div><div class="ttdeci">uint32_t GetNumViews() const</div><div class="ttdoc">Get the number of views. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00287">Descriptors.cpp:287</a></div></div> |
| 550 | </div><!-- fragment --> |
| 551 | </div> |
| 552 | </div> |
| 553 | <a id="a8c8f543d7e9729362c266d12ec169966"></a> |
| 554 | <h2 class="memtitle"><span class="permalink"><a href="#a8c8f543d7e9729362c266d12ec169966">◆ </a></span>ValidateTensorShapesFromInputs()</h2> |
| 555 | |
| 556 | <div class="memitem"> |
| 557 | <div class="memproto"> |
| 558 | <table class="mlabels"> |
| 559 | <tr> |
| 560 | <td class="mlabels-left"> |
| 561 | <table class="memname"> |
| 562 | <tr> |
| 563 | <td class="memname">void ValidateTensorShapesFromInputs </td> |
| 564 | <td>(</td> |
| 565 | <td class="paramname"></td><td>)</td> |
| 566 | <td></td> |
| 567 | </tr> |
| 568 | </table> |
| 569 | </td> |
| 570 | <td class="mlabels-right"> |
| 571 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 572 | </tr> |
| 573 | </table> |
| 574 | </div><div class="memdoc"> |
| 575 | <p>Check if the input tensor shape(s) will lead to a valid configuration of <a class="el" href="classarmnn_1_1_splitter_layer.html">SplitterLayer</a>. </p> |
| 576 | |
| 577 | <p>Implements <a class="el" href="classarmnn_1_1_layer.html#a84ff600212ba26e665de9b978ec896a4">Layer</a>.</p> |
| 578 | |
| 579 | <p class="definition">Definition at line <a class="el" href="_splitter_layer_8cpp_source.html#l00142">142</a> of file <a class="el" href="_splitter_layer_8cpp_source.html">SplitterLayer.cpp</a>.</p> |
| 580 | |
| 581 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00292">ViewsDescriptor::GetNumDimensions()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00287">ViewsDescriptor::GetNumViews()</a>, <a class="el" href="_layer_8hpp_source.html#l00312">Layer::GetOutputSlot()</a>, <a class="el" href="_tensor_8hpp_source.html#l00088">TensorInfo::GetShape()</a>, <a class="el" href="_layer_8cpp_source.html#l00063">OutputSlot::GetTensorInfo()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00332">ViewsDescriptor::GetViewSizes()</a>, <a class="el" href="_splitter_layer_8cpp_source.html#l00128">SplitterLayer::InferOutputShapes()</a>, and <a class="el" href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters< ViewsDescriptor >::m_Param</a>.</p> |
| 582 | <div class="fragment"><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> {</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  std::vector<TensorShape> views;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> viewIdx = 0; viewIdx < <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>(); viewIdx++)</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  {</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keyword">const</span> uint32_t* sizes = <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#a3c1ab47a0a319413b3a4b5757ed5b80b">GetViewSizes</a>(viewIdx);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  views.push_back(TensorShape(<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>(), sizes));</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  }</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">auto</span> inferredShapes = <a class="code" href="classarmnn_1_1_splitter_layer.html#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a>(views);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  BOOST_ASSERT(inferredShapes.size() == <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>());</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> viewIdx = 0; viewIdx < <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>(); viewIdx++)</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  {</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="stringliteral">"SplitterLayer: View sizes must match output tensor shapes."</span>,</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(viewIdx).<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  inferredShapes[viewIdx]);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  }</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> }</div><div class="ttc" id="classarmnn_1_1_splitter_layer_html_a65ca562c882ad619684445a1402f415a"><div class="ttname"><a href="classarmnn_1_1_splitter_layer.html#a65ca562c882ad619684445a1402f415a">armnn::SplitterLayer::InferOutputShapes</a></div><div class="ttdeci">std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override</div><div class="ttdef"><b>Definition:</b> <a href="_splitter_layer_8cpp_source.html#l00128">SplitterLayer.cpp:128</a></div></div> |
| 583 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a78e8266be865fdd92cadd04d6e25ae1f"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">armnn::ViewsDescriptor::GetNumDimensions</a></div><div class="ttdeci">uint32_t GetNumDimensions() const</div><div class="ttdoc">Get the number of dimensions. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00292">Descriptors.cpp:292</a></div></div> |
| 584 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_ad32ac22bc72e28dfd6b466d143c8e262"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">armnn::LayerWithParameters< ViewsDescriptor >::m_Param</a></div><div class="ttdeci">ViewsDescriptor m_Param</div><div class="ttdoc">The parameters for the layer (not including tensor-valued weights etc.). </div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters.hpp:50</a></div></div> |
| 585 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a3c1ab47a0a319413b3a4b5757ed5b80b"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a3c1ab47a0a319413b3a4b5757ed5b80b">armnn::ViewsDescriptor::GetViewSizes</a></div><div class="ttdeci">const uint32_t * GetViewSizes(uint32_t idx) const</div><div class="ttdoc">Get the view sizes at the int value idx. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00332">Descriptors.cpp:332</a></div></div> |
| 586 | <div class="ttc" id="classarmnn_1_1_tensor_info_html_a8b5d0f8a24e9d9238f412260a552acf8"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#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.html#l00088">Tensor.hpp:88</a></div></div> |
| 587 | <div class="ttc" id="classarmnn_1_1_output_slot_html_ada2ad7d1caeeb4ef6195c8925fad6a65"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#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.html#l00063">Layer.cpp:63</a></div></div> |
| 588 | <div class="ttc" id="classarmnn_1_1_layer_html_a0e36688a43c35668d8db5257274c68fe"><div class="ttname"><a href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">armnn::Layer::GetOutputSlot</a></div><div class="ttdeci">const OutputSlot & GetOutputSlot(unsigned int index=0) const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00312">Layer.hpp:312</a></div></div> |
| 589 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a35546e7b56e6e972a495b48748478ede"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">armnn::ViewsDescriptor::GetNumViews</a></div><div class="ttdeci">uint32_t GetNumViews() const</div><div class="ttdoc">Get the number of views. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00287">Descriptors.cpp:287</a></div></div> |
| 590 | </div><!-- fragment --> |
| 591 | </div> |
| 592 | </div> |
| 593 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 594 | <li>src/armnn/layers/<a class="el" href="_splitter_layer_8hpp_source.html">SplitterLayer.hpp</a></li> |
| 595 | <li>src/armnn/layers/<a class="el" href="_splitter_layer_8cpp_source.html">SplitterLayer.cpp</a></li> |
| 596 | </ul> |
| 597 | </div><!-- contents --> |
| 598 | </div><!-- doc-content --> |
| 599 | <!-- start footer part --> |
| 600 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 601 | <ul> |
| 602 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_splitter_layer.html">SplitterLayer</a></li> |
| 603 | <li class="footer">Generated on Fri Mar 13 2020 16:07:05 for ArmNN by |
| 604 | <a href="http://www.doxygen.org/index.html"> |
| 605 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 606 | </ul> |
| 607 | </div> |
| 608 | </body> |
| 609 | </html> |