ArmNN
 20.02
ClLayerSupport.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& ouput,
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 IsConvertFp16ToFp32Supported(const TensorInfo& input,
64  const TensorInfo& output,
65  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
66 
67  bool IsConvertFp32ToFp16Supported(const TensorInfo& input,
68  const TensorInfo& output,
69  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
70 
71  bool IsConvolution2dSupported(const TensorInfo& input,
72  const TensorInfo& output,
73  const Convolution2dDescriptor& descriptor,
74  const TensorInfo& weights,
75  const Optional<TensorInfo>& biases,
76  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
77 
78  bool IsDequantizeSupported(const TensorInfo& input,
79  const TensorInfo& output,
80  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
81 
82  bool IsDepthToSpaceSupported(const TensorInfo& input,
83  const TensorInfo& output,
84  const DepthToSpaceDescriptor& descriptor,
85  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
86 
88  const TensorInfo& output,
89  const DepthwiseConvolution2dDescriptor& descriptor,
90  const TensorInfo& weights,
91  const Optional<TensorInfo>& biases,
92  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
93 
95  const TensorInfo& output,
96  const DepthwiseConvolution2dDescriptor& descriptor,
97  const TensorInfo& weights,
98  const Optional<TensorInfo>& biases,
99  Optional<std::string&> reason = EmptyOptional()) const override;
100 
101  bool IsDivisionSupported(const TensorInfo& input0,
102  const TensorInfo& input1,
103  const TensorInfo& output,
104  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
105 
106  bool IsElementwiseUnarySupported(const TensorInfo& input,
107  const TensorInfo& ouput,
108  const ElementwiseUnaryDescriptor& descriptor,
109  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
110 
111  bool IsFloorSupported(const TensorInfo& input,
112  const TensorInfo& output,
113  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
114 
115  bool IsFullyConnectedSupported(const TensorInfo& input,
116  const TensorInfo& output,
117  const TensorInfo& weights,
118  const TensorInfo& biases,
119  const FullyConnectedDescriptor& descriptor,
120  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
121 
122  ARMNN_DEPRECATED_MSG("Use IsComparisonSupported instead")
123  bool IsGreaterSupported(const TensorInfo& input0,
124  const TensorInfo& input1,
125  const TensorInfo& ouput,
126  Optional<std::string&> reasonIfUnsupported) const override;
127 
128  bool IsInputSupported(const TensorInfo& input,
129  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
130 
132  const TensorInfo& output,
133  const InstanceNormalizationDescriptor& descriptor,
134  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
135 
136  bool IsL2NormalizationSupported(const TensorInfo& input,
137  const TensorInfo& output,
138  const L2NormalizationDescriptor& descriptor,
139  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
140 
141  bool IsLstmSupported(const TensorInfo& input,
142  const TensorInfo& outputStateIn,
143  const TensorInfo& cellStateIn,
144  const TensorInfo& scratchBuffer,
145  const TensorInfo& outputStateOut,
146  const TensorInfo& cellStateOut,
147  const TensorInfo& output,
148  const LstmDescriptor& descriptor,
149  const LstmInputParamsInfo& paramsInfo,
150  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
151 
152  bool IsMaximumSupported(const TensorInfo& input0,
153  const TensorInfo& input1,
154  const TensorInfo& output,
155  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
156 
157  bool IsMeanSupported(const TensorInfo& input,
158  const TensorInfo& output,
159  const MeanDescriptor& descriptor,
160  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
161 
162  ARMNN_DEPRECATED_MSG("Use IsConcatSupported instead")
163  bool IsMergerSupported(const std::vector<const TensorInfo*> inputs,
164  const TensorInfo& output,
165  const MergerDescriptor& descriptor,
166  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
167 
168  bool IsMinimumSupported(const TensorInfo& input0,
169  const TensorInfo& input1,
170  const TensorInfo& output,
171  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
172 
173  bool IsMultiplicationSupported(const TensorInfo& input0,
174  const TensorInfo& input1,
175  const TensorInfo& output,
176  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
177 
178  bool IsNormalizationSupported(const TensorInfo& input,
179  const TensorInfo& output,
180  const NormalizationDescriptor& descriptor,
181  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
182 
183  bool IsOutputSupported(const TensorInfo& output,
184  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
185 
186  bool IsPadSupported(const TensorInfo& input,
187  const TensorInfo& output,
188  const PadDescriptor& descriptor,
189  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
190 
191  bool IsPermuteSupported(const TensorInfo& input,
192  const TensorInfo& output,
193  const PermuteDescriptor& descriptor,
194  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
195 
196  bool IsPooling2dSupported(const TensorInfo& input,
197  const TensorInfo& output,
198  const Pooling2dDescriptor& descriptor,
199  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
200 
201  bool IsPreluSupported(const TensorInfo& input,
202  const TensorInfo& alpha,
203  const TensorInfo& output,
204  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
205 
206  bool IsQuantizedLstmSupported(const TensorInfo& input,
207  const TensorInfo& previousCellStateIn,
208  const TensorInfo& previousOutputIn,
209  const TensorInfo& cellStateOut,
210  const TensorInfo& output,
211  const QuantizedLstmInputParamsInfo& paramsInfo,
212  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
213 
214  bool IsQuantizeSupported(const TensorInfo& input,
215  const TensorInfo& output,
216  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
217 
218  bool IsReshapeSupported(const TensorInfo& input,
219  const TensorInfo& output,
220  const ReshapeDescriptor& descriptor,
221  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
222 
223  bool IsResizeSupported(const TensorInfo& input,
224  const TensorInfo& output,
225  const ResizeDescriptor& descriptor,
226  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
227 
228  ARMNN_DEPRECATED_MSG("Use IsResizeSupported instead")
229  bool IsResizeBilinearSupported(const TensorInfo& input,
230  const TensorInfo& output,
231  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
232 
233  ARMNN_DEPRECATED_MSG("Use IsElementwiseUnarySupported instead")
234  bool IsRsqrtSupported(const TensorInfo& input,
235  const TensorInfo& output,
236  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
237 
238  bool IsSliceSupported(const TensorInfo& input,
239  const TensorInfo& output,
240  const SliceDescriptor& descriptor,
241  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
242 
243  bool IsSoftmaxSupported(const TensorInfo& input,
244  const TensorInfo& output,
245  const SoftmaxDescriptor& descriptor,
246  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
247 
248  bool IsSpaceToBatchNdSupported(const TensorInfo& input,
249  const TensorInfo& output,
250  const SpaceToBatchNdDescriptor& descriptor,
251  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
252 
253  bool IsSpaceToDepthSupported(const TensorInfo& input,
254  const TensorInfo& output,
255  const SpaceToDepthDescriptor& descriptor,
256  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
257 
258  ARMNN_DEPRECATED_MSG("Use IsSplitterSupported with outputs instead")
259  bool IsSplitterSupported(const TensorInfo& input,
260  const ViewsDescriptor& descriptor,
261  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
262 
263  bool IsSplitterSupported(const TensorInfo& input,
264  const std::vector<std::reference_wrapper<TensorInfo>>& outputs,
265  const ViewsDescriptor& descriptor,
266  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
267 
268  bool IsStackSupported(const std::vector<const TensorInfo*>& inputs,
269  const TensorInfo& output,
270  const StackDescriptor& descriptor,
271  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
272 
273  bool IsStridedSliceSupported(const TensorInfo& input,
274  const TensorInfo& output,
275  const StridedSliceDescriptor& descriptor,
276  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
277 
278  bool IsSubtractionSupported(const TensorInfo& input0,
279  const TensorInfo& input1,
280  const TensorInfo& output,
281  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
282 
284  const TensorInfo& output,
285  const TransposeConvolution2dDescriptor& descriptor,
286  const TensorInfo& weights,
287  const Optional<TensorInfo>& biases,
288  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
289 
290  bool IsTransposeSupported(const TensorInfo& input,
291  const TensorInfo& output,
292  const TransposeDescriptor& descriptor,
293  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
294 
295 };
296 
297 } // namespace armnn
bool IsMinimumSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsOutputSupported(const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsTransposeSupported(const TensorInfo &input, const TensorInfo &output, const TransposeDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsFloorSupported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A ViewsDescriptor for the SplitterLayer.
bool IsArgMinMaxSupported(const TensorInfo &input, const TensorInfo &output, const ArgMinMaxDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A TransposeConvolution2dDescriptor for the TransposeConvolution2dLayer.
A ReshapeDescriptor for the ReshapeLayer.
bool IsSubtractionSupported(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
A ComparisonDescriptor for the ComparisonLayer.
Definition: Descriptors.hpp:62
bool IsSliceSupported(const TensorInfo &input, const TensorInfo &output, const SliceDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A Convolution2dDescriptor for the Convolution2dLayer.
bool IsQuantizeSupported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsPadSupported(const TensorInfo &input, const TensorInfo &output, const PadDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsGreaterSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &ouput, Optional< std::string &> reasonIfUnsupported) 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 IsStridedSliceSupported(const TensorInfo &input, const TensorInfo &output, const StridedSliceDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsMergerSupported(const std::vector< const TensorInfo *> inputs, const TensorInfo &output, const MergerDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
Copyright (c) 2020 ARM Limited.
bool IsPermuteSupported(const TensorInfo &input, const TensorInfo &output, const PermuteDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsComparisonSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &ouput, const ComparisonDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A SpaceToDepthDescriptor for the SpaceToDepthLayer.
bool IsNormalizationSupported(const TensorInfo &input, const TensorInfo &output, const NormalizationDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A BatchToSpaceNdDescriptor for the BatchToSpaceNdLayer.
bool IsAbsSupported(const TensorInfo &input, const TensorInfo &output, 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 ResizeDescriptor for the ResizeLayer.
A StackDescriptor for the StackLayer.
bool IsQuantizedLstmSupported(const TensorInfo &input, const TensorInfo &previousCellStateIn, const TensorInfo &previousOutputIn, const TensorInfo &cellStateOut, const TensorInfo &output, const QuantizedLstmInputParamsInfo &paramsInfo, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A PadDescriptor for the PadLayer.
bool IsElementwiseUnarySupported(const TensorInfo &input, const TensorInfo &ouput, const ElementwiseUnaryDescriptor &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
An LstmDescriptor for the LstmLayer.
bool IsConvertFp16ToFp32Supported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsDepthToSpaceSupported(const TensorInfo &input, const TensorInfo &output, const DepthToSpaceDescriptor &descriptor, 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
bool IsResizeSupported(const TensorInfo &input, const TensorInfo &output, const ResizeDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A L2NormalizationDescriptor for the L2NormalizationLayer.
An ArgMinMaxDescriptor for ArgMinMaxLayer.
Definition: Descriptors.hpp:43
An OriginsDescriptor for the ConcatLayer.
A FullyConnectedDescriptor for the FullyConnectedLayer.
bool IsStackSupported(const std::vector< const TensorInfo *> &inputs, const TensorInfo &output, const StackDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsReshapeSupported(const TensorInfo &input, const TensorInfo &output, const ReshapeDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
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
An ActivationDescriptor for the ActivationLayer.
Definition: Descriptors.hpp:20
A SliceDescriptor for the SliceLayer.
bool IsDivisionSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, 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 IsFullyConnectedSupported(const TensorInfo &input, const TensorInfo &output, const TensorInfo &weights, const TensorInfo &biases, const FullyConnectedDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsDequantizeSupported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A SpaceToBatchNdDescriptor for the SpaceToBatchNdLayer.
EmptyOptional is used to initialize the Optional class in case we want to have default value for an O...
Definition: Optional.hpp:32
bool IsResizeBilinearSupported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A ElementwiseUnaryDescriptor for the ElementwiseUnaryLayer.
Definition: Descriptors.hpp:82
bool IsAdditionSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, 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
bool IsMeanSupported(const TensorInfo &input, const TensorInfo &output, const MeanDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A MeanDescriptor for the MeanLayer.
bool IsInputSupported(const TensorInfo &input, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A TransposeDescriptor for the TransposeLayer.
A StridedSliceDescriptor for the StridedSliceLayer.
bool IsSoftmaxSupported(const TensorInfo &input, const TensorInfo &output, const SoftmaxDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsConcatSupported(const std::vector< const TensorInfo *> inputs, const TensorInfo &output, const ConcatDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
#define ARMNN_DEPRECATED_MSG(message)
Definition: Deprecated.hpp:43
bool IsL2NormalizationSupported(const TensorInfo &input, const TensorInfo &output, const L2NormalizationDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
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
A Pooling2dDescriptor for the Pooling2dLayer.
A NormalizationDescriptor for the NormalizationLayer.
bool IsSplitterSupported(const TensorInfo &input, const ViewsDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
An InstanceNormalizationDescriptor for InstanceNormalizationLayer.
bool IsConvertFp32ToFp16Supported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsInstanceNormalizationSupported(const TensorInfo &input, const TensorInfo &output, const InstanceNormalizationDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsPooling2dSupported(const TensorInfo &input, const TensorInfo &output, const Pooling2dDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsRsqrtSupported(const TensorInfo &input, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsActivationSupported(const TensorInfo &input, const TensorInfo &output, const ActivationDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A SoftmaxDescriptor for the SoftmaxLayer.
bool IsSpaceToDepthSupported(const TensorInfo &input, const TensorInfo &output, const SpaceToDepthDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
A DepthwiseConvolution2dDescriptor for the DepthwiseConvolution2dLayer.
A BatchNormalizationDescriptor for the BatchNormalizationLayer.
A PermuteDescriptor for the PermuteLayer.
bool IsBatchToSpaceNdSupported(const TensorInfo &input, const TensorInfo &output, const BatchToSpaceNdDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsConstantSupported(const TensorInfo &output, 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