blob: 63fff623e09207b1bc89ed4d8d7e86d6a7781de9 [file] [log] [blame]
Ryan OSheade36e4a2020-03-13 16:26:19 +00001<!-- 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: src/backends/neon/NeonLayerSupport.cpp File 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 &#160;<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">
56var 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('_neon_layer_support_8cpp.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="#namespaces">Namespaces</a> &#124;
99<a href="#define-members">Macros</a> </div>
100 <div class="headertitle">
101<div class="title">NeonLayerSupport.cpp File Reference</div> </div>
102</div><!--header-->
103<div class="contents">
104<div class="textblock"><code>#include &quot;<a class="el" href="_neon_layer_support_8hpp_source.xhtml">NeonLayerSupport.hpp</a>&quot;</code><br />
105<code>#include &quot;<a class="el" href="_neon_backend_id_8hpp_source.xhtml">NeonBackendId.hpp</a>&quot;</code><br />
106<code>#include &lt;<a class="el" href="_descriptors_8hpp_source.xhtml">armnn/Descriptors.hpp</a>&gt;</code><br />
107<code>#include &lt;<a class="el" href="_tensor_8hpp_source.xhtml">armnn/Tensor.hpp</a>&gt;</code><br />
108<code>#include &lt;<a class="el" href="_types_8hpp_source.xhtml">armnn/Types.hpp</a>&gt;</code><br />
109<code>#include &lt;<a class="el" href="_backend_registry_8hpp_source.xhtml">armnn/BackendRegistry.hpp</a>&gt;</code><br />
110<code>#include &lt;<a class="el" href="_internal_types_8hpp_source.xhtml">InternalTypes.hpp</a>&gt;</code><br />
111<code>#include &lt;<a class="el" href="_layer_support_common_8hpp_source.xhtml">LayerSupportCommon.hpp</a>&gt;</code><br />
112<code>#include &lt;<a class="el" href="_ignore_unused_8hpp_source.xhtml">armnn/utility/IgnoreUnused.hpp</a>&gt;</code><br />
113<code>#include &lt;<a class="el" href="_arm_compute_utils_8hpp_source.xhtml">aclCommon/ArmComputeUtils.hpp</a>&gt;</code><br />
114<code>#include &lt;<a class="el" href="_arm_compute_tensor_utils_8hpp_source.xhtml">aclCommon/ArmComputeTensorUtils.hpp</a>&gt;</code><br />
115<code>#include &quot;<a class="el" href="_neon_abs_workload_8hpp_source.xhtml">workloads/NeonAbsWorkload.hpp</a>&quot;</code><br />
116<code>#include &quot;<a class="el" href="_neon_addition_workload_8hpp_source.xhtml">workloads/NeonAdditionWorkload.hpp</a>&quot;</code><br />
117<code>#include &quot;<a class="el" href="_neon_activation_workload_8hpp_source.xhtml">workloads/NeonActivationWorkload.hpp</a>&quot;</code><br />
118<code>#include &quot;<a class="el" href="_neon_arg_min_max_workload_8hpp_source.xhtml">workloads/NeonArgMinMaxWorkload.hpp</a>&quot;</code><br />
119<code>#include &quot;<a class="el" href="_neon_batch_normalization_workload_8hpp_source.xhtml">workloads/NeonBatchNormalizationWorkload.hpp</a>&quot;</code><br />
120<code>#include &quot;<a class="el" href="_neon_batch_to_space_nd_workload_8hpp_source.xhtml">workloads/NeonBatchToSpaceNdWorkload.hpp</a>&quot;</code><br />
121<code>#include &quot;<a class="el" href="_neon_convolution2d_workload_8hpp_source.xhtml">workloads/NeonConvolution2dWorkload.hpp</a>&quot;</code><br />
122<code>#include &quot;<a class="el" href="_neon_depth_to_space_workload_8hpp_source.xhtml">workloads/NeonDepthToSpaceWorkload.hpp</a>&quot;</code><br />
123<code>#include &quot;<a class="el" href="_neon_depthwise_convolution_workload_8hpp_source.xhtml">workloads/NeonDepthwiseConvolutionWorkload.hpp</a>&quot;</code><br />
124<code>#include &quot;<a class="el" href="_neon_dequantize_workload_8hpp_source.xhtml">workloads/NeonDequantizeWorkload.hpp</a>&quot;</code><br />
125<code>#include &quot;<a class="el" href="_neon_greater_workload_8hpp_source.xhtml">workloads/NeonGreaterWorkload.hpp</a>&quot;</code><br />
126<code>#include &quot;<a class="el" href="_neon_instance_normalization_workload_8hpp_source.xhtml">workloads/NeonInstanceNormalizationWorkload.hpp</a>&quot;</code><br />
127<code>#include &quot;<a class="el" href="_neon_l2_normalization_float_workload_8hpp_source.xhtml">workloads/NeonL2NormalizationFloatWorkload.hpp</a>&quot;</code><br />
128<code>#include &quot;<a class="el" href="_neon_lstm_float_workload_8hpp_source.xhtml">workloads/NeonLstmFloatWorkload.hpp</a>&quot;</code><br />
129<code>#include &quot;<a class="el" href="_neon_maximum_workload_8hpp_source.xhtml">workloads/NeonMaximumWorkload.hpp</a>&quot;</code><br />
130<code>#include &quot;<a class="el" href="_neon_mean_workload_8hpp_source.xhtml">workloads/NeonMeanWorkload.hpp</a>&quot;</code><br />
131<code>#include &quot;<a class="el" href="_neon_concat_workload_8hpp_source.xhtml">workloads/NeonConcatWorkload.hpp</a>&quot;</code><br />
132<code>#include &quot;<a class="el" href="_neon_minimum_workload_8hpp_source.xhtml">workloads/NeonMinimumWorkload.hpp</a>&quot;</code><br />
133<code>#include &quot;<a class="el" href="_neon_multiplication_workload_8hpp_source.xhtml">workloads/NeonMultiplicationWorkload.hpp</a>&quot;</code><br />
134<code>#include &quot;<a class="el" href="_neon_division_workload_8hpp_source.xhtml">workloads/NeonDivisionWorkload.hpp</a>&quot;</code><br />
135<code>#include &quot;<a class="el" href="_neon_normalization_float_workload_8hpp_source.xhtml">workloads/NeonNormalizationFloatWorkload.hpp</a>&quot;</code><br />
136<code>#include &quot;<a class="el" href="_neon_fully_connected_workload_8hpp_source.xhtml">workloads/NeonFullyConnectedWorkload.hpp</a>&quot;</code><br />
137<code>#include &quot;<a class="el" href="_neon_pad_workload_8hpp_source.xhtml">workloads/NeonPadWorkload.hpp</a>&quot;</code><br />
138<code>#include &quot;<a class="el" href="_neon_permute_workload_8hpp_source.xhtml">workloads/NeonPermuteWorkload.hpp</a>&quot;</code><br />
139<code>#include &quot;<a class="el" href="_neon_pooling2d_workload_8hpp_source.xhtml">workloads/NeonPooling2dWorkload.hpp</a>&quot;</code><br />
140<code>#include &quot;<a class="el" href="_neon_prelu_workload_8hpp_source.xhtml">workloads/NeonPreluWorkload.hpp</a>&quot;</code><br />
141<code>#include &quot;<a class="el" href="_neon_quantize_workload_8hpp_source.xhtml">workloads/NeonQuantizeWorkload.hpp</a>&quot;</code><br />
142<code>#include &quot;<a class="el" href="_neon_quantized_lstm_workload_8hpp_source.xhtml">workloads/NeonQuantizedLstmWorkload.hpp</a>&quot;</code><br />
143<code>#include &quot;<a class="el" href="_neon_reshape_workload_8hpp_source.xhtml">workloads/NeonReshapeWorkload.hpp</a>&quot;</code><br />
144<code>#include &quot;<a class="el" href="_neon_resize_workload_8hpp_source.xhtml">workloads/NeonResizeWorkload.hpp</a>&quot;</code><br />
145<code>#include &quot;<a class="el" href="_neon_rsqrt_workload_8hpp_source.xhtml">workloads/NeonRsqrtWorkload.hpp</a>&quot;</code><br />
146<code>#include &quot;<a class="el" href="_neon_slice_workload_8hpp_source.xhtml">workloads/NeonSliceWorkload.hpp</a>&quot;</code><br />
147<code>#include &quot;<a class="el" href="_neon_softmax_base_workload_8hpp_source.xhtml">workloads/NeonSoftmaxBaseWorkload.hpp</a>&quot;</code><br />
148<code>#include &quot;<a class="el" href="_neon_space_to_batch_nd_workload_8hpp_source.xhtml">workloads/NeonSpaceToBatchNdWorkload.hpp</a>&quot;</code><br />
149<code>#include &quot;<a class="el" href="_neon_space_to_depth_workload_8hpp_source.xhtml">workloads/NeonSpaceToDepthWorkload.hpp</a>&quot;</code><br />
150<code>#include &quot;<a class="el" href="_neon_splitter_workload_8hpp_source.xhtml">workloads/NeonSplitterWorkload.hpp</a>&quot;</code><br />
151<code>#include &quot;<a class="el" href="_neon_stack_workload_8hpp_source.xhtml">workloads/NeonStackWorkload.hpp</a>&quot;</code><br />
152<code>#include &quot;<a class="el" href="_neon_strided_slice_workload_8hpp_source.xhtml">workloads/NeonStridedSliceWorkload.hpp</a>&quot;</code><br />
153<code>#include &quot;<a class="el" href="_neon_subtraction_workload_8hpp_source.xhtml">workloads/NeonSubtractionWorkload.hpp</a>&quot;</code><br />
154<code>#include &quot;<a class="el" href="_neon_transpose_convolution2d_workload_8hpp_source.xhtml">workloads/NeonTransposeConvolution2dWorkload.hpp</a>&quot;</code><br />
155<code>#include &quot;<a class="el" href="_neon_transpose_workload_8hpp_source.xhtml">workloads/NeonTransposeWorkload.hpp</a>&quot;</code><br />
156</div>
157<p><a href="_neon_layer_support_8cpp_source.xhtml">Go to the source code of this file.</a></p>
158<table class="memberdecls">
159<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
160Namespaces</h2></td></tr>
161<tr class="memitem:namespacearmnn"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml">armnn</a></td></tr>
162<tr class="memdesc:namespacearmnn"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copyright (c) 2020 ARM Limited. <br /></td></tr>
163<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
164</table><table class="memberdecls">
165<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
166Macros</h2></td></tr>
167<tr class="memitem:af0383f6bb43d6d5df6f3265367b6ebf9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_neon_layer_support_8cpp.xhtml#af0383f6bb43d6d5df6f3265367b6ebf9">FORWARD_WORKLOAD_VALIDATE_FUNC</a>(func, reasonIfUnsupported, ...)&#160;&#160;&#160;return IsWorkloadSupported(func, reasonIfUnsupported, __VA_ARGS__);</td></tr>
168<tr class="separator:af0383f6bb43d6d5df6f3265367b6ebf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
169</table>
170<h2 class="groupheader">Macro Definition Documentation</h2>
171<a id="af0383f6bb43d6d5df6f3265367b6ebf9"></a>
172<h2 class="memtitle"><span class="permalink"><a href="#af0383f6bb43d6d5df6f3265367b6ebf9">&#9670;&nbsp;</a></span>FORWARD_WORKLOAD_VALIDATE_FUNC</h2>
173
174<div class="memitem">
175<div class="memproto">
176 <table class="memname">
177 <tr>
178 <td class="memname">#define FORWARD_WORKLOAD_VALIDATE_FUNC</td>
179 <td>(</td>
180 <td class="paramtype">&#160;</td>
181 <td class="paramname">func, </td>
182 </tr>
183 <tr>
184 <td class="paramkey"></td>
185 <td></td>
186 <td class="paramtype">&#160;</td>
187 <td class="paramname">reasonIfUnsupported, </td>
188 </tr>
189 <tr>
190 <td class="paramkey"></td>
191 <td></td>
192 <td class="paramtype">&#160;</td>
193 <td class="paramname"><em>...</em>&#160;</td>
194 </tr>
195 <tr>
196 <td></td>
197 <td>)</td>
198 <td></td><td>&#160;&#160;&#160;return IsWorkloadSupported(func, reasonIfUnsupported, __VA_ARGS__);</td>
199 </tr>
200 </table>
201</div><div class="memdoc">
202
203<p class="definition">Definition at line <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00113">113</a> of file <a class="el" href="_neon_layer_support_8cpp_source.xhtml">NeonLayerSupport.cpp</a>.</p>
204
205<p class="reference">Referenced by <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00129">NeonLayerSupport::IsActivationSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00142">NeonLayerSupport::IsAdditionSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00154">NeonLayerSupport::IsArgMinMaxSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00166">NeonLayerSupport::IsBatchNormalizationSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00186">NeonLayerSupport::IsBatchToSpaceNdSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00198">NeonLayerSupport::IsComparisonSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00216">NeonLayerSupport::IsConcatSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00284">NeonLayerSupport::IsConvolution2dSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00300">NeonLayerSupport::IsDepthToSpaceSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00312">NeonLayerSupport::IsDepthwiseConvolutionSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00328">NeonLayerSupport::IsDequantizeSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00338">NeonLayerSupport::IsDilatedDepthwiseConvolutionSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00523">NeonLayerSupport::IsDivisionSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00354">NeonLayerSupport::IsElementwiseUnarySupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00392">NeonLayerSupport::IsFullyConnectedSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00423">NeonLayerSupport::IsInstanceNormalizationSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00435">NeonLayerSupport::IsL2NormalizationSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00443">NeonLayerSupport::IsLstmSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00467">NeonLayerSupport::IsMaximumSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00479">NeonLayerSupport::IsMeanSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00499">NeonLayerSupport::IsMinimumSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00511">NeonLayerSupport::IsMultiplicationSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00535">NeonLayerSupport::IsNormalizationSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00553">NeonLayerSupport::IsPadSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00565">NeonLayerSupport::IsPermuteSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00573">NeonLayerSupport::IsPooling2dSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00581">NeonLayerSupport::IsPreluSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00599">NeonLayerSupport::IsQuantizedLstmSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00589">NeonLayerSupport::IsQuantizeSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00617">NeonLayerSupport::IsReshapeSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00629">NeonLayerSupport::IsResizeSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00664">NeonLayerSupport::IsSliceSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00676">NeonLayerSupport::IsSoftmaxSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00684">NeonLayerSupport::IsSpaceToBatchNdSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00696">NeonLayerSupport::IsSpaceToDepthSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00719">NeonLayerSupport::IsSplitterSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00752">NeonLayerSupport::IsStackSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00764">NeonLayerSupport::IsStridedSliceSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00776">NeonLayerSupport::IsSubtractionSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00788">NeonLayerSupport::IsTransposeConvolution2dSupported()</a>, and <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00804">NeonLayerSupport::IsTransposeSupported()</a>.</p>
206
207</div>
208</div>
209</div><!-- contents -->
210</div><!-- doc-content -->
211<!-- start footer part -->
212<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
213 <ul>
214 <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.xhtml">backends</a></li><li class="navelem"><a class="el" href="dir_d86eb514662c7c08e168285f21d00ea1.xhtml">neon</a></li><li class="navelem"><a class="el" href="_neon_layer_support_8cpp.xhtml">NeonLayerSupport.cpp</a></li>
215 <li class="footer">Generated on Fri Mar 13 2020 16:09:15 for ArmNN by
216 <a href="http://www.doxygen.org/index.html">
217 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
218 </ul>
219</div>
220</body>
221</html>