6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to
8 * deal in the Software without restriction, including without limitation the
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 * sell copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in all
14 * copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 * SOFTWARE.
23 */
24#ifndef ACL_ARM_COMPUTE_RUNTIME_OPERATORLIST_H
25#define ACL_ARM_COMPUTE_RUNTIME_OPERATORLIST_H
26
27/** ActivationLayer
28 *
29 * Description:
30 * Function to simulate an activation layer with the specified activation function.
31 *
32 * Equivalent Android NNAPI Op:
33 * ANEURALNETWORKS_ELU
34 * ANEURALNETWORKS_HARD_SWISH
35 * ANEURALNETWORKS_LOGISTIC
36 * ANEURALNETWORKS_RELU
37 * ANEURALNETWORKS_RELU1
38 * ANEURALNETWORKS_RELU6
39 * ANEURALNETWORKS_TANH
40 *
41 */
42
43/** AddMulAdd
44 *
45 * Description:
46 * Performs a fused Add + Mul + Add [+ Relu-based-Activation] operation.
47 *
48 * Equivalent Android NNAPI Op:
49 * n/a
50 *
51 */
52
53/** ArgMinMaxLayer
54 *
55 * Description:
56 * Function to calculate the index of the minimum or maximum values in a tensor based on an axis.
57 *
58 * Equivalent Android NNAPI Op:
59 * ANEURALNETWORKS_ARGMAX
60 * ANEURALNETWORKS_ARGMIN
61 *
62 */
63
64/** ArithmeticAddition
65 *
66 * Description:
67 * Function to add 2 tensors.
68 *
69 * Equivalent Android NNAPI Op:
70 * ANEURALNETWORKS_ADD
71 *
72 */
73
74/** ArithmeticSubtraction
75 *
76 * Description:
77 * Function to substract 2 tensors.
78 *
79 * Equivalent Android NNAPI Op:
80 * ANEURALNETWORKS_SUB
81 *
82 */
83
84/** BatchNormalizationLayer
85 *
86 * Description:
87 * Function to perform batch normalization.
88 *
89 * Equivalent Android NNAPI Op:
90 * n/a
91 *
92 */
93
94/** BatchToSpaceLayer
95 *
96 * Description:
97 * Batch to space transformation.
98 *
99 * Equivalent Android NNAPI Op:
100 * ANEURALNETWORKS_BATCH_TO_SPACE_ND
101 *
102 */
103
104/** BitwiseAnd
105 *
106 * Description:
107 * Function to perform bitwise AND between 2 tensors.
108 *
109 * Equivalent Android NNAPI Op:
110 * ANEURALNETWORKS_LOGICAL_AND
111 *
112 */
113
114/** BitwiseNot
115 *
116 * Description:
117 * Function to perform bitwise NOT.
118 *
119 * Equivalent Android NNAPI Op:
120 * ANEURALNETWORKS_LOGICAL_NOT
121 *
122 */
123
124/** BitwiseOr
125 *
126 * Description:
127 * Function to perform bitwise OR between 2 tensors.
128 *
129 * Equivalent Android NNAPI Op:
130 * ANEURALNETWORKS_LOGICAL_OR
131 *
132 */
133
134/** BitwiseXor
135 *
136 * Description:
137 * Function to perform bitwise XOR between 2 tensors.
138 *
139 * Equivalent Android NNAPI Op:
140 * n/a
141 *
142 */
143
144/** BoundingBoxTransform
145 *
146 * Description:
147 * Transform proposal bounding boxes to target bounding box using bounding box deltas.
148 *
149 * Equivalent Android NNAPI Op:
150 * n/a
151 *
152 */
153
154/** Cast
155 *
156 * Description:
157 * Function to cast a tensor.
158 *
159 * Equivalent Android NNAPI Op:
160 * ANEURALNETWORKS_CAST
161 *
162 */
163
164/** ChannelShuffleLayer
165 *
166 * Description:
167 * Function to shuffle the channels of the input tensor.
168 *
169 * Equivalent Android NNAPI Op:
170 * ANEURALNETWORKS_CHANNEL_SHUFFLE
171 *
172 */
173
174/** Comparison
175 *
176 * Description:
177 * Function to compare 2 tensors.
178 *
179 * Equivalent Android NNAPI Op:
180 * ANEURALNETWORKS_EQUAL
181 * ANEURALNETWORKS_GREATER
182 * ANEURALNETWORKS_GREATER_EQUAL
183 * ANEURALNETWORKS_LESS
184 * ANEURALNETWORKS_LESS_EQUAL
185 * ANEURALNETWORKS_NOT_EQUAL
186 *
187 */
188
189/** ConcatenateLayer
190 *
191 * Description:
192 * Function to concatenate tensors along a given axis.
193 *
194 * Equivalent Android NNAPI Op:
195 * ANEURALNETWORKS_CONCATENATION
196 *
197 */
198
199/** ConvertFullyConnectedWeights
200 *
201 * Description:
202 * Function to transpose the weights for the fully connected layer.
203 *
204 * Equivalent Android NNAPI Op:
205 * n/a
206 *
207 */
208
209/** ConvolutionLayer
210 *
211 * Description:
212 * Function to compute a convolution layer.
213 *
214 * Equivalent Android NNAPI Op:
215 * ANEURALNETWORKS_CONV_2D
216 *
217 */
218
219/** Conv3D
220 *
221 * Description:
222 * Function to compute a 3d convolution layer.
223 *
224 * Equivalent Android NNAPI Op:
225 * ANEURALNETWORKS_CONV_3D
226 *
227 */
228
229/** Copy
230 *
231 * Description:
232 * Function to copy a tensor.
233 *
234 * Equivalent Android NNAPI Op:
235 * n/a
236 *
237 */
238
239/** Crop
240 *
241 * Description:
242 * Performs a copy of input tensor to the output tensor.
243 *
244 * Equivalent Android NNAPI Op:
245 * n/a
246 *
247 */
248
249/** CropResize
250 *
251 * Description:
252 * Function to perform cropping and resizing.
253 *
254 * Equivalent Android NNAPI Op:
255 * n/a
256 *
257 */
258
259/** DeconvolutionLayer
260 *
261 * Description:
262 * Function to compute a deconvolution or transpose convolution.
263 *
264 * Equivalent Android NNAPI Op:
265 * ANEURALNETWORKS_TRANSPOSE_CONV_2D
266 *
267 */
268
269/** DeconvolutionLayerUpsample
270 *
271 * Description:
272 * Function to execute deconvolution upsample on OpenCL.
273 *
274 * Equivalent Android NNAPI Op:
275 * ANEURALNETWORKS_TRANSPOSE_CONV_2D
276 *
277 */
278
279/** DepthConvertLayer
280 *
281 * Description:
282 * Performs a down-scaling depth conversion.
283 *
284 * Equivalent Android NNAPI Op:
285 * n/a
286 *
287 */
288
289/** DepthToSpaceLayer
290 *
291 * Description:
292 * Depth to Space transformation.
293 *
294 * Equivalent Android NNAPI Op:
295 * ANEURALNETWORKS_DEPTH_TO_SPACE
296 *
297 */
298
299/** DepthwiseConvolutionLayer
300 *
301 * Description:
302 * Function to perform depthwise separable convolution.
303 *
304 * Equivalent Android NNAPI Op:
305 * ANEURALNETWORKS_DEPTHWISE_CONV_2D
306 *
307 */
308
309/** DequantizationLayer
310 *
311 * Description:
312 * Function to dequantize the values in a tensor.
313 *
314 * Equivalent Android NNAPI Op:
315 * ANEURALNETWORKS_DEQUANTIZE
316 *
317 */
318
319/** DetectionPostProcessLayer
320 *
321 * Description:
322 * Function to generate the detection output based on center size encoded boxes, class prediction and anchors by doing non maximum suppression (NMS).