ArmNN
 20.05
NeonLayerSupport.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
8 
9 namespace armnn
10 {
11 
13 {
14 public:
15  ARMNN_DEPRECATED_MSG("Use IsElementwiseUnarySupported instead")
16  bool IsAbsSupported(const TensorInfo& input,
17  const TensorInfo& output,
18  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
19 
20  bool IsActivationSupported(const TensorInfo& input,
21  const TensorInfo& output,
22  const ActivationDescriptor& descriptor,
23  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
24 
25  bool IsAdditionSupported(const TensorInfo& input0,
26  const TensorInfo& input1,
27  const TensorInfo& output,
28  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
29 
30  bool IsArgMinMaxSupported(const TensorInfo& input,
31  const TensorInfo& output,
32  const ArgMinMaxDescriptor& descriptor,
33  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
34 
35  bool IsBatchNormalizationSupported(const TensorInfo& input,
36  const TensorInfo& output,
37  const TensorInfo& mean,
38  const TensorInfo& var,
39  const TensorInfo& beta,
40  const TensorInfo& gamma,
41  const BatchNormalizationDescriptor& descriptor,
42  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
43 
44  bool IsBatchToSpaceNdSupported(const TensorInfo& input,
45  const TensorInfo& output,
46  const BatchToSpaceNdDescriptor& descriptor,
47  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
48 
49  bool IsComparisonSupported(const TensorInfo& input0,
50  const TensorInfo& input1,
51  const TensorInfo& output,
52  const ComparisonDescriptor& descriptor,
53  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
54 
55  bool IsConcatSupported(const std::vector<const TensorInfo*> inputs,
56  const TensorInfo& output,
57  const ConcatDescriptor& descriptor,
58  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
59 
60  bool IsConstantSupported(const TensorInfo& output,
61  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
62 
63  bool IsConvertBf16ToFp32Supported(const TensorInfo& input,
64  const TensorInfo& output,
65  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
66 
67  bool IsConvertFp16ToFp32Supported(const TensorInfo& input,
68  const TensorInfo& output,
69  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
70 
71  bool IsConvertFp32ToBf16Supported(const TensorInfo& input,
72  const TensorInfo& output,
73  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
74 
75  bool IsConvertFp32ToFp16Supported(const TensorInfo& input,
76  const TensorInfo& output,
77  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
78 
79  bool IsConvolution2dSupported(const TensorInfo& input,
80  const TensorInfo& output,
81  const Convolution2dDescriptor& descriptor,
82  const TensorInfo& weights,
83  const Optional<TensorInfo>& biases,
84  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
85 
86  bool IsDepthToSpaceSupported(const TensorInfo& input,
87  const TensorInfo& output,
88  const DepthToSpaceDescriptor& descriptor,
89  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
90 
91 
93  const TensorInfo& output,
94  const DepthwiseConvolution2dDescriptor& descriptor,
95  const TensorInfo& weights,
96  const Optional<TensorInfo>& biases,
97  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
98 
99  bool IsDequantizeSupported(const TensorInfo& input,
100  const TensorInfo& output,
101  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
102 
104  const TensorInfo& output,
105  const DepthwiseConvolution2dDescriptor& descriptor,
106  const TensorInfo& weights,
107  const Optional<TensorInfo>& biases,
108  Optional<std::string&> reason = EmptyOptional()) const override;
109 
110  bool IsElementwiseUnarySupported(const TensorInfo& input,
111  const TensorInfo& output,
112  const ElementwiseUnaryDescriptor& descriptor,
113  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
114 
115  bool IsFloorSupported(const TensorInfo& input,
116  const TensorInfo& output,
117  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
118 
119  bool IsFullyConnectedSupported(const TensorInfo& input,
120  const TensorInfo& output,
121  const TensorInfo& weights,
122  const TensorInfo& biases,
123  const FullyConnectedDescriptor& descriptor,
124  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
125 
126  ARMNN_DEPRECATED_MSG("Use IsComparisonSupported instead")
127  bool IsGreaterSupported(const TensorInfo& input0,
128  const TensorInfo& input1,
129  const TensorInfo& output,
130  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
131 
132  bool IsInputSupported(const TensorInfo& input,
133  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
134 
136  const TensorInfo& output,
137  const InstanceNormalizationDescriptor& descriptor,
138  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
139 
140  bool IsL2NormalizationSupported(const TensorInfo& input,
141  const TensorInfo& output,
142  const L2NormalizationDescriptor& descriptor,
143  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
144 
145  bool IsLstmSupported(const TensorInfo& input,
146  const TensorInfo& outputStateIn,
147  const TensorInfo& cellStateIn,
148  const TensorInfo& scratchBuffer,
149  const TensorInfo& outputStateOut,
150  const TensorInfo& cellStateOut,
151  const TensorInfo& output,
152  const LstmDescriptor& descriptor,
153  const LstmInputParamsInfo& paramsInfo,
154  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
155 
156  bool IsMaximumSupported(const TensorInfo& input0,
157  const TensorInfo& input1,
158  const TensorInfo& output,
159  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
160 
161  bool IsMeanSupported(const TensorInfo& input,
162  const TensorInfo& output,
163  const MeanDescriptor& descriptor,
164  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
165 
166  ARMNN_DEPRECATED_MSG("Use IsConcatSupported instead")
167  bool IsMergerSupported(const std::vector<const TensorInfo*> inputs,
168  const TensorInfo& output,
169  const MergerDescriptor& descriptor,
170  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
171 
172  bool IsMinimumSupported(const TensorInfo& input0,
173  const TensorInfo& input1,
174  const TensorInfo& output,
175  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
176 
177  bool IsMultiplicationSupported(const TensorInfo& input0,
178  const TensorInfo& input1,
179  const TensorInfo& output,
180  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
181 
182  bool IsDivisionSupported(const TensorInfo& input0,
183  const TensorInfo& input1,
184  const TensorInfo& output,
185  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
186 
187  bool IsNormalizationSupported(const TensorInfo& input,
188  const TensorInfo& output,
189  const NormalizationDescriptor& descriptor,
190  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
191 
192  bool IsOutputSupported(const TensorInfo& output,
193  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
194 
195  bool IsPadSupported(const TensorInfo& input,
196  const TensorInfo& output,
197  const PadDescriptor& descriptor,
198  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
199 
200  bool IsPermuteSupported(const TensorInfo& input,
201  const TensorInfo& output,
202  const PermuteDescriptor& descriptor,
203  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
204 
205  bool IsPooling2dSupported(const TensorInfo& input,
206  const TensorInfo& output,
207  const Pooling2dDescriptor& descriptor,
208  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
209 
210  bool IsPreluSupported(const TensorInfo& input,
211  const TensorInfo& alpha,
212  const TensorInfo& output,
213  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
214 
215  bool IsQLstmSupported(const TensorInfo& input,
216  const TensorInfo& previousOutputIn,
217  const TensorInfo& previousCellStateIn,
218  const TensorInfo& outputStateOut,
219  const TensorInfo& cellStateOut,
220  const TensorInfo& output,
221  const QLstmDescriptor& descriptor,
222  const LstmInputParamsInfo& paramsInfo,
223  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
224 
225  bool IsQuantizeSupported(const TensorInfo& input,
226  const TensorInfo& output,
227  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
228 
229  bool IsQuantizedLstmSupported(const TensorInfo& input,
230  const TensorInfo& cellStateIn,
231  const TensorInfo& outputStateIn,
232  const TensorInfo& cellStateOut,
233  const TensorInfo& outputStateOut,
234  const QuantizedLstmInputParamsInfo& paramsInfo,
235  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
236 
237  bool IsReshapeSupported(const TensorInfo& input,
238  const TensorInfo& output,
239  const ReshapeDescriptor& descriptor,
240  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
241 
242  bool IsResizeSupported(const TensorInfo& input,
243  const TensorInfo& output,
244  const ResizeDescriptor& descriptor,
245  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
246 
247  ARMNN_DEPRECATED_MSG("Use IsResizeSupported instead")
248  bool IsResizeBilinearSupported(const TensorInfo& input,
249  const TensorInfo& output,
250  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
251 
252  ARMNN_DEPRECATED_MSG("Use IsElementwiseUnarySupported instead")
253  bool IsRsqrtSupported(const TensorInfo& input,
254  const TensorInfo& output,
255  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
256 
257  bool IsSliceSupported(const TensorInfo& input,
258  const TensorInfo& output,
259  const SliceDescriptor& descriptor,
260  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
261 
262  bool IsSoftmaxSupported(const TensorInfo& input,
263  const TensorInfo& output,
264  const SoftmaxDescriptor& descriptor,
265  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
266 
267  bool IsSpaceToBatchNdSupported(const TensorInfo& input,
268  const TensorInfo& output,
269  const SpaceToBatchNdDescriptor& descriptor,
270  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
271 
272  bool IsSpaceToDepthSupported(const TensorInfo& input,
273  const TensorInfo& output,
274  const SpaceToDepthDescriptor& descriptor,
275  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
276 
277  ARMNN_DEPRECATED_MSG("Use IsSplitterSupported with outputs instead")
278  bool IsSplitterSupported(const TensorInfo& input,
279  const ViewsDescriptor& descriptor,
280  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
281 
282  bool IsSplitterSupported(const TensorInfo& input,
283  const std::vector<std::reference_wrapper<TensorInfo>>& outputs,
284  const ViewsDescriptor& descriptor,
285  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
286 
287  bool IsStackSupported(const std::vector<const TensorInfo*>& inputs,
288  const TensorInfo& output,
289  const StackDescriptor& descriptor,
290  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
291 
292  bool IsStridedSliceSupported(const TensorInfo& input,
293  const TensorInfo& output,
294  const StridedSliceDescriptor& descriptor,
295  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
296 
297  bool IsSubtractionSupported(const TensorInfo& input0,
298  const TensorInfo& input1,
299  const TensorInfo& output,
300  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
301 
303  const TensorInfo& output,
304  const TransposeConvolution2dDescriptor& descriptor,
305  const TensorInfo& weights,
306  const Optional<TensorInfo>& biases,
307  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
308 
309  bool IsTransposeSupported(const TensorInfo& input,
310  const TensorInfo& output,
311  const TransposeDescriptor& descriptor,
312  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
313 
314 }; // class NeonLayerSupport
315 
316 } // namespace armnn
bool IsSliceSupported(const TensorInfo &input, const TensorInfo &output, const SliceDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsSoftmaxSupported(const TensorInfo &input, const TensorInfo &output, const SoftmaxDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsConvolution2dSupported(const TensorInfo &input, const TensorInfo &output, const Convolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A ViewsDescriptor for the SplitterLayer.
bool IsConvertFp32ToFp16Supported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A TransposeConvolution2dDescriptor for the TransposeConvolution2dLayer.
A ReshapeDescriptor for the ReshapeLayer.
bool IsDilatedDepthwiseConvolutionSupported(const TensorInfo &input, const TensorInfo &output, const DepthwiseConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string &> reason=EmptyOptional()) const override
bool IsQuantizedLstmSupported(const TensorInfo &input, const TensorInfo &cellStateIn, const TensorInfo &outputStateIn, const TensorInfo &cellStateOut, const TensorInfo &outputStateOut, const QuantizedLstmInputParamsInfo &paramsInfo, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A ComparisonDescriptor for the ComparisonLayer.
Definition: Descriptors.hpp:70
bool IsDepthToSpaceSupported(const TensorInfo &input, const TensorInfo &output, const DepthToSpaceDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsL2NormalizationSupported(const TensorInfo &input, const TensorInfo &output, const L2NormalizationDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsStridedSliceSupported(const TensorInfo &input, const TensorInfo &output, const StridedSliceDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsConvertFp32ToBf16Supported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsAdditionSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A Convolution2dDescriptor for the Convolution2dLayer.
bool IsConcatSupported(const std::vector< const TensorInfo *> inputs, const TensorInfo &output, const ConcatDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsSplitterSupported(const TensorInfo &input, const ViewsDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsGreaterSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsResizeBilinearSupported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsConstantSupported(const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
Copyright (c) 2020 ARM Limited.
bool IsPadSupported(const TensorInfo &input, const TensorInfo &output, const PadDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A SpaceToDepthDescriptor for the SpaceToDepthLayer.
bool IsPooling2dSupported(const TensorInfo &input, const TensorInfo &output, const Pooling2dDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A BatchToSpaceNdDescriptor for the BatchToSpaceNdLayer.
bool IsActivationSupported(const TensorInfo &input, const TensorInfo &output, const ActivationDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsMultiplicationSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsComparisonSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const ComparisonDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A ResizeDescriptor for the ResizeLayer.
A StackDescriptor for the StackLayer.
A PadDescriptor for the PadLayer.
bool IsAbsSupported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
An LstmDescriptor for the LstmLayer.
bool IsInputSupported(const TensorInfo &input, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsStackSupported(const std::vector< const TensorInfo *> &inputs, const TensorInfo &output, const StackDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A L2NormalizationDescriptor for the L2NormalizationLayer.
bool IsMinimumSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsPreluSupported(const TensorInfo &input, const TensorInfo &alpha, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsOutputSupported(const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
An ArgMinMaxDescriptor for ArgMinMaxLayer.
Definition: Descriptors.hpp:51
bool IsInstanceNormalizationSupported(const TensorInfo &input, const TensorInfo &output, const InstanceNormalizationDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
An OriginsDescriptor for the ConcatLayer.
A FullyConnectedDescriptor for the FullyConnectedLayer.
bool IsMergerSupported(const std::vector< const TensorInfo *> inputs, const TensorInfo &output, const MergerDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsNormalizationSupported(const TensorInfo &input, const TensorInfo &output, const NormalizationDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsElementwiseUnarySupported(const TensorInfo &input, const TensorInfo &output, const ElementwiseUnaryDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsDivisionSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsFloorSupported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A QLstmDescriptor for the QLstmLayer.
An ActivationDescriptor for the ActivationLayer.
Definition: Descriptors.hpp:20
bool IsResizeSupported(const TensorInfo &input, const TensorInfo &output, const ResizeDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsTransposeConvolution2dSupported(const TensorInfo &input, const TensorInfo &output, const TransposeConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A SliceDescriptor for the SliceLayer.
bool IsReshapeSupported(const TensorInfo &input, const TensorInfo &output, const ReshapeDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsBatchNormalizationSupported(const TensorInfo &input, const TensorInfo &output, const TensorInfo &mean, const TensorInfo &var, const TensorInfo &beta, const TensorInfo &gamma, const BatchNormalizationDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A SpaceToBatchNdDescriptor for the SpaceToBatchNdLayer.
bool IsQuantizeSupported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
EmptyOptional is used to initialize the Optional class in case we want to have default value for an O...
Definition: Optional.hpp:32
bool IsConvertFp16ToFp32Supported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A ElementwiseUnaryDescriptor for the ElementwiseUnaryLayer.
Definition: Descriptors.hpp:90
bool IsSubtractionSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsLstmSupported(const TensorInfo &input, const TensorInfo &outputStateIn, const TensorInfo &cellStateIn, const TensorInfo &scratchBuffer, const TensorInfo &outputStateOut, const TensorInfo &cellStateOut, const TensorInfo &output, const LstmDescriptor &descriptor, const LstmInputParamsInfo &paramsInfo, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsSpaceToBatchNdSupported(const TensorInfo &input, const TensorInfo &output, const SpaceToBatchNdDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A MeanDescriptor for the MeanLayer.
bool IsDepthwiseConvolutionSupported(const TensorInfo &input, const TensorInfo &output, const DepthwiseConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsArgMinMaxSupported(const TensorInfo &input, const TensorInfo &output, const ArgMinMaxDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsSpaceToDepthSupported(const TensorInfo &input, const TensorInfo &output, const SpaceToDepthDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A TransposeDescriptor for the TransposeLayer.
A StridedSliceDescriptor for the StridedSliceLayer.
bool IsTransposeSupported(const TensorInfo &input, const TensorInfo &output, const TransposeDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsMaximumSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
#define ARMNN_DEPRECATED_MSG(message)
Definition: Deprecated.hpp:43
bool IsFullyConnectedSupported(const TensorInfo &input, const TensorInfo &output, const TensorInfo &weights, const TensorInfo &biases, const FullyConnectedDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsMeanSupported(const TensorInfo &input, const TensorInfo &output, const MeanDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsBatchToSpaceNdSupported(const TensorInfo &input, const TensorInfo &output, const BatchToSpaceNdDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A Pooling2dDescriptor for the Pooling2dLayer.
A NormalizationDescriptor for the NormalizationLayer.
bool IsQLstmSupported(const TensorInfo &input, const TensorInfo &previousOutputIn, const TensorInfo &previousCellStateIn, const TensorInfo &outputStateOut, const TensorInfo &cellStateOut, const TensorInfo &output, const QLstmDescriptor &descriptor, const LstmInputParamsInfo &paramsInfo, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsConvertBf16ToFp32Supported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
An InstanceNormalizationDescriptor for InstanceNormalizationLayer.
A SoftmaxDescriptor for the SoftmaxLayer.
bool IsDequantizeSupported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A DepthwiseConvolution2dDescriptor for the DepthwiseConvolution2dLayer.
bool IsRsqrtSupported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A BatchNormalizationDescriptor for the BatchNormalizationLayer.
A PermuteDescriptor for the PermuteLayer.
bool IsPermuteSupported(const TensorInfo &input, const TensorInfo &output, const PermuteDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override