David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #include <armnn/ILayerSupport.hpp> |
| 7 | |
| 8 | namespace armnn |
| 9 | { |
| 10 | |
| 11 | namespace |
| 12 | { |
| 13 | |
| 14 | bool DefaultLayerSupport(const char* func, |
| 15 | const char* file, |
| 16 | unsigned int line, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 17 | Optional<std::string&> reasonIfUnsupported) |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 18 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 19 | // NOTE: We only need to return the reason if the optional parameter is not empty |
| 20 | if (reasonIfUnsupported) |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 21 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 22 | std::stringstream message; |
| 23 | message << func << "is not implemented [" << file << ":" << line << "]"; |
| 24 | |
| 25 | reasonIfUnsupported.value() = message.str(); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 26 | } |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 27 | |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 28 | return false; |
| 29 | } |
| 30 | |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame^] | 31 | } // anonymous namespace |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 32 | |
| 33 | bool ILayerSupport::IsActivationSupported(const TensorInfo& input, |
| 34 | const TensorInfo& output, |
| 35 | const ActivationDescriptor& descriptor, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 36 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 37 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 38 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | bool ILayerSupport::IsAdditionSupported(const TensorInfo& input0, |
| 42 | const TensorInfo& input1, |
| 43 | const TensorInfo& output, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 44 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 45 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 46 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 47 | } |
| 48 | |
| 49 | bool ILayerSupport::IsBatchNormalizationSupported(const TensorInfo& input, |
| 50 | const TensorInfo& output, |
| 51 | const TensorInfo& mean, |
| 52 | const TensorInfo& var, |
| 53 | const TensorInfo& beta, |
| 54 | const TensorInfo& gamma, |
| 55 | const BatchNormalizationDescriptor& descriptor, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 56 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 57 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 58 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 59 | } |
| 60 | |
| 61 | bool ILayerSupport::IsConstantSupported(const TensorInfo& output, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 62 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 63 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 64 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 65 | } |
| 66 | |
| 67 | bool ILayerSupport::IsConvertFp16ToFp32Supported(const TensorInfo& input, |
| 68 | const TensorInfo& output, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 69 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 70 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 71 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 72 | } |
| 73 | |
| 74 | bool ILayerSupport::IsConvertFp32ToFp16Supported(const TensorInfo& input, |
| 75 | const TensorInfo& output, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 76 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 77 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 78 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 79 | } |
| 80 | |
| 81 | bool ILayerSupport::IsConvolution2dSupported(const TensorInfo& input, |
| 82 | const TensorInfo& output, |
| 83 | const Convolution2dDescriptor& descriptor, |
| 84 | const TensorInfo& weights, |
David Beck | 5eec11d | 2018-10-04 15:43:17 +0100 | [diff] [blame] | 85 | const Optional<TensorInfo>& biases, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 86 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 87 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 88 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 89 | } |
| 90 | |
| 91 | bool ILayerSupport::IsDepthwiseConvolutionSupported(const TensorInfo& input, |
| 92 | const TensorInfo& output, |
| 93 | const DepthwiseConvolution2dDescriptor& descriptor, |
| 94 | const TensorInfo& weights, |
David Beck | 5eec11d | 2018-10-04 15:43:17 +0100 | [diff] [blame] | 95 | const Optional<TensorInfo>& biases, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 96 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 97 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 98 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 99 | } |
| 100 | |
| 101 | bool ILayerSupport::IsDivisionSupported(const TensorInfo& input0, |
| 102 | const TensorInfo& input1, |
| 103 | const TensorInfo& output, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 104 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 105 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 106 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 107 | } |
| 108 | |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame^] | 109 | bool ILayerSupport::IsFakeQuantizationSupported(const TensorInfo& input, |
| 110 | const FakeQuantizationDescriptor& descriptor, |
| 111 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 112 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 113 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 114 | } |
| 115 | |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame^] | 116 | bool ILayerSupport::IsFloorSupported(const TensorInfo& input, |
| 117 | const TensorInfo& output, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 118 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 119 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 120 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 121 | } |
| 122 | |
| 123 | bool ILayerSupport::IsFullyConnectedSupported(const TensorInfo& input, |
| 124 | const TensorInfo& output, |
| 125 | const TensorInfo& weights, |
| 126 | const TensorInfo& biases, |
| 127 | const FullyConnectedDescriptor& descriptor, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 128 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 129 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 130 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 131 | } |
| 132 | |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame^] | 133 | bool ILayerSupport::IsInputSupported(const TensorInfo& input, |
| 134 | Optional<std::string&> reasonIfUnsupported) const |
| 135 | { |
| 136 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
| 137 | } |
| 138 | |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 139 | bool ILayerSupport::IsL2NormalizationSupported(const TensorInfo& input, |
| 140 | const TensorInfo& output, |
| 141 | const L2NormalizationDescriptor& descriptor, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 142 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 143 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 144 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 145 | } |
| 146 | |
| 147 | bool ILayerSupport::IsLstmSupported(const TensorInfo& input, |
| 148 | const TensorInfo& outputStateIn, |
| 149 | const TensorInfo& cellStateIn, |
| 150 | const TensorInfo& scratchBuffer, |
| 151 | const TensorInfo& outputStateOut, |
| 152 | const TensorInfo& cellStateOut, |
| 153 | const TensorInfo& output, |
| 154 | const LstmDescriptor& descriptor, |
| 155 | const TensorInfo& inputToForgetWeights, |
| 156 | const TensorInfo& inputToCellWeights, |
| 157 | const TensorInfo& inputToOutputWeights, |
| 158 | const TensorInfo& recurrentToForgetWeights, |
| 159 | const TensorInfo& recurrentToCellWeights, |
| 160 | const TensorInfo& recurrentToOutputWeights, |
| 161 | const TensorInfo& forgetGateBias, |
| 162 | const TensorInfo& cellBias, |
| 163 | const TensorInfo& outputGateBias, |
| 164 | const TensorInfo* inputToInputWeights, |
| 165 | const TensorInfo* recurrentToInputWeights, |
| 166 | const TensorInfo* cellToInputWeights, |
| 167 | const TensorInfo* inputGateBias, |
| 168 | const TensorInfo* projectionWeights, |
| 169 | const TensorInfo* projectionBias, |
| 170 | const TensorInfo* cellToForgetWeights, |
| 171 | const TensorInfo* cellToOutputWeights, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 172 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 173 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 174 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 175 | } |
| 176 | |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame^] | 177 | bool ILayerSupport::IsMeanSupported(const TensorInfo& input, |
| 178 | const TensorInfo& output, |
| 179 | const MeanDescriptor& descriptor, |
| 180 | Optional<std::string&> reasonIfUnsupported) const |
| 181 | { |
| 182 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
| 183 | } |
| 184 | |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 185 | bool ILayerSupport::IsMergerSupported(const std::vector<const TensorInfo*> inputs, |
| 186 | const OriginsDescriptor& descriptor, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 187 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 188 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 189 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 190 | } |
| 191 | |
| 192 | bool ILayerSupport::IsMultiplicationSupported(const TensorInfo& input0, |
| 193 | const TensorInfo& input1, |
| 194 | const TensorInfo& output, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 195 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 196 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 197 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 198 | } |
| 199 | |
| 200 | bool ILayerSupport::IsNormalizationSupported(const TensorInfo& input, |
| 201 | const TensorInfo& output, |
| 202 | const NormalizationDescriptor& descriptor, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 203 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 204 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 205 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 206 | } |
| 207 | |
| 208 | bool ILayerSupport::IsOutputSupported(const TensorInfo& output, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 209 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 210 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 211 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 212 | } |
| 213 | |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame^] | 214 | bool ILayerSupport::IsPadSupported(const TensorInfo& input, |
| 215 | const TensorInfo& output, |
| 216 | const PadDescriptor& descriptor, |
| 217 | Optional<std::string&> reasonIfUnsupported) const |
| 218 | { |
| 219 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
| 220 | } |
| 221 | |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 222 | bool ILayerSupport::IsPermuteSupported(const TensorInfo& input, |
| 223 | const TensorInfo& output, |
| 224 | const PermuteDescriptor& descriptor, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 225 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 226 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 227 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 228 | } |
| 229 | |
| 230 | bool ILayerSupport::IsPooling2dSupported(const TensorInfo& input, |
| 231 | const TensorInfo& output, |
| 232 | const Pooling2dDescriptor& descriptor, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 233 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 234 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 235 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 236 | } |
| 237 | |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame^] | 238 | bool ILayerSupport::IsReshapeSupported(const TensorInfo& input, |
| 239 | Optional<std::string&> reasonIfUnsupported) const |
| 240 | { |
| 241 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
| 242 | } |
| 243 | |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 244 | bool ILayerSupport::IsResizeBilinearSupported(const TensorInfo& input, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 245 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 246 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 247 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 248 | } |
| 249 | |
| 250 | bool ILayerSupport::IsSoftmaxSupported(const TensorInfo& input, |
| 251 | const TensorInfo& output, |
| 252 | const SoftmaxDescriptor& descriptor, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 253 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 254 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 255 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 256 | } |
| 257 | |
| 258 | bool ILayerSupport::IsSplitterSupported(const TensorInfo& input, |
| 259 | const ViewsDescriptor& descriptor, |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 260 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 261 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 262 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 263 | } |
| 264 | |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame^] | 265 | bool ILayerSupport::IsSubtractionSupported(const TensorInfo& input0, |
| 266 | const TensorInfo& input1, |
| 267 | const TensorInfo& output, |
| 268 | Optional<std::string&> reasonIfUnsupported) const |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 269 | { |
arovir01 | d6c10ed | 2018-10-05 15:46:51 +0100 | [diff] [blame] | 270 | return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 271 | } |
| 272 | |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame^] | 273 | } // namespace armnn |