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 ARM_COMPUTE_OPERATOR_LIST_H
25#define ARM_COMPUTE_OPERATOR_LIST_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/** ArgMinMaxLayer
44 *
45 * Description:
46 * Function to calculate the index of the minimum or maximum values in a tensor based on an axis.
47 *
48 * Equivalent Android NNAPI Op:
49 * ANEURALNETWORKS_ARGMAX
50 * ANEURALNETWORKS_ARGMIN
51 *
52 */
53
54/** ArithmeticAddition
55 *
56 * Description:
57 * Function to add 2 tensors.
58 *
59 * Equivalent Android NNAPI Op:
60 * ANEURALNETWORKS_ADD
61 *
62 */
63
64/** ArithmeticSubtraction
65 *
66 * Description:
67 * Function to substract 2 tensors.
68 *
69 * Equivalent Android NNAPI Op:
70 * ANEURALNETWORKS_SUB
71 *
72 */
73
74/** BatchNormalizationLayer
75 *
76 * Description:
77 * Function to perform batch normalization.
78 *
79 * Equivalent Android NNAPI Op:
80 * n/a
81 *
82 */
83
84/** BatchToSpaceLayer
85 *
86 * Description:
87 * Batch to space transformation.
88 *
89 * Equivalent Android NNAPI Op:
90 * ANEURALNETWORKS_BATCH_TO_SPACE_ND
91 *
92 */
93
94/** BitwiseAnd
95 *
96 * Description:
97 * Function to perform bitwise AND between 2 tensors.
98 *
99 * Equivalent Android NNAPI Op:
100 * ANEURALNETWORKS_LOGICAL_AND
101 *
102 */
103
104/** BitwiseNot
105 *
106 * Description:
107 * Function to perform bitwise NOT.
108 *
109 * Equivalent Android NNAPI Op:
110 * ANEURALNETWORKS_LOGICAL_NOT
111 *
112 */
113
114/** BitwiseOr
115 *
116 * Description:
117 * Function to perform bitwise OR between 2 tensors.
118 *
119 * Equivalent Android NNAPI Op:
120 * ANEURALNETWORKS_LOGICAL_OR
121 *
122 */
123
124/** BitwiseXor
125 *
126 * Description:
127 * Function to perform bitwise XOR between 2 tensors.
128 *
129 * Equivalent Android NNAPI Op:
130 * n/a
131 *
132 */
133
134/** BoundingBoxTransform
135 *
136 * Description:
137 * Transform proposal bounding boxes to target bounding box using bounding box deltas.
138 *
139 * Equivalent Android NNAPI Op:
140 * n/a
141 *
142 */
143
144/** Cast
145 *
146 * Description:
147 * Function to cast a tensor.
148 *
149 * Equivalent Android NNAPI Op:
150 * ANEURALNETWORKS_CAST
151 *
152 */
153
154/** ChannelShuffleLayer
155 *
156 * Description:
157 * Function to shuffle the channels of the input tensor.
158 *
159 * Equivalent Android NNAPI Op:
160 * ANEURALNETWORKS_CHANNEL_SHUFFLE
161 *
162 */
163
164/** Comparison
165 *
166 * Description:
167 * Function to compare 2 tensors.
168 *
169 * Equivalent Android NNAPI Op:
170 * ANEURALNETWORKS_EQUAL
171 * ANEURALNETWORKS_GREATER
172 * ANEURALNETWORKS_GREATER_EQUAL
173 * ANEURALNETWORKS_LESS
174 * ANEURALNETWORKS_LESS_EQUAL
175 * ANEURALNETWORKS_NOT_EQUAL
176 *
177 */
178
179/** ConcatenateLayer
180 *
181 * Description:
182 * Function to concatenate tensors along a given axis.
183 *
184 * Equivalent Android NNAPI Op:
185 * ANEURALNETWORKS_CONCATENATION
186 *
187 */
188
189/** ConvertFullyConnectedWeights
190 *
191 * Description:
192 * Function to transpose the weights for the fully connected layer.
193 *
194 * Equivalent Android NNAPI Op:
195 * n/a
196 *
197 */
198
199/** ConvolutionLayer
200 *
201 * Description:
202 * Function to compute a convolution layer.
203 *
204 * Equivalent Android NNAPI Op:
205 * ANEURALNETWORKS_CONV_2D
206 *
207 */
208
209/** Conv3D
210 *
211 * Description:
212 * Function to compute a 3d convolution layer.
213 *
214 * Equivalent Android NNAPI Op:
215 * ANEURALNETWORKS_CONV_3D
216 *
217 */
218
219/** Copy
220 *
221 * Description:
222 * Function to copy a tensor.
223 *
224 * Equivalent Android NNAPI Op:
225 * n/a
226 *
227 */
228
229/** Crop
230 *
231 * Description:
232 * Performs a copy of input tensor to the output tensor.
233 *
234 * Equivalent Android NNAPI Op:
235 * n/a
236 *
237 */
238
239/** CropResize
240 *
241 * Description:
242 * Function to perform cropping and resizing.
243 *
244 * Equivalent Android NNAPI Op:
245 * n/a
246 *
247 */
248
249/** DeconvolutionLayer
250 *
251 * Description:
252 * Function to compute a deconvolution or transpose convolution.
253 *
254 * Equivalent Android NNAPI Op:
255 * ANEURALNETWORKS_TRANSPOSE_CONV_2D
256 *
257 */
258
259/** DeconvolutionLayerUpsample
260 *
261 * Description:
262 * Function to execute deconvolution upsample on OpenCL.
263 *
264 * Equivalent Android NNAPI Op:
265 * ANEURALNETWORKS_TRANSPOSE_CONV_2D
266 *
267 */
268
269/** DepthConvertLayer
270 *
271 * Description:
272 * Performs a down-scaling depth conversion.
273 *
274 * Equivalent Android NNAPI Op:
275 * n/a
276 *
277 */
278
279/** DepthToSpaceLayer
280 *
281 * Description:
282 * Depth to Space transformation.
283 *
284 * Equivalent Android NNAPI Op:
285 * ANEURALNETWORKS_DEPTH_TO_SPACE
286 *
287 */
288
289/** DepthwiseConvolutionLayer
290 *
291 * Description:
292 * Function to perform depthwise separable convolution.
293 *
294 * Equivalent Android NNAPI Op:
295 * ANEURALNETWORKS_DEPTHWISE_CONV_2D
296 *
297 */
298
299/** DequantizationLayer
300 *
301 * Description:
302 * Function to dequantize the values in a tensor.
303 *
304 * Equivalent Android NNAPI Op:
305 * ANEURALNETWORKS_DEQUANTIZE
306 *
307 */
308
309/** DetectionPostProcessLayer
310 *
311 * Description:
312 * Function to generate the detection output based on center size encoded boxes, class prediction and anchors by doing non maximum suppression (NMS).