David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 1 | // |
Teresa Charlin | 5266473 | 2020-06-29 16:27:03 +0100 | [diff] [blame] | 2 | // Copyright © 2017 Arm Ltd and Contributors. All rights reserved. |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | #pragma once |
| 6 | |
Jim Flynn | 906f946 | 2019-05-10 13:55:21 +0100 | [diff] [blame] | 7 | #include <armnn/Deprecated.hpp> |
Cathal Corbett | 34b429c | 2021-12-24 12:24:40 +0000 | [diff] [blame] | 8 | #include <armnn/Descriptors.hpp> |
Jan Eilers | d01a83c | 2019-07-03 18:20:40 +0100 | [diff] [blame] | 9 | #include <armnn/LstmParams.hpp> |
James Conroy | ee18dc8 | 2019-07-17 11:27:46 +0100 | [diff] [blame] | 10 | #include <armnn/Optional.hpp> |
| 11 | #include <armnn/QuantizedLstmParams.hpp> |
Matthew Bentham | 313e1c8 | 2019-03-25 17:37:47 +0000 | [diff] [blame] | 12 | |
David Beck | 5eec11d | 2018-10-04 15:43:17 +0100 | [diff] [blame] | 13 | #include <cctype> |
Narumol Prangnawarat | 15eb583 | 2019-05-20 15:31:05 +0100 | [diff] [blame] | 14 | #include <functional> |
David Beck | 3e9e115 | 2018-10-17 14:17:50 +0100 | [diff] [blame] | 15 | #include <memory> |
Matthew Bentham | 313e1c8 | 2019-03-25 17:37:47 +0000 | [diff] [blame] | 16 | #include <vector> |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 17 | |
| 18 | namespace armnn |
| 19 | { |
| 20 | |
| 21 | class TensorInfo; |
| 22 | |
| 23 | class ILayerSupport |
| 24 | { |
| 25 | protected: |
| 26 | ILayerSupport() {} |
| 27 | virtual ~ILayerSupport() {} |
| 28 | |
| 29 | public: |
Cathal Corbett | 34b429c | 2021-12-24 12:24:40 +0000 | [diff] [blame] | 30 | virtual bool IsLayerSupported(const LayerType& type, |
| 31 | const std::vector<TensorInfo>& infos, |
| 32 | const BaseDescriptor& descriptor, |
| 33 | const Optional<LstmInputParamsInfo>& lstmParamsInfo = EmptyOptional(), |
| 34 | const Optional<QuantizedLstmInputParamsInfo>& quantizedLstmParamsInfo = |
| 35 | EmptyOptional(), |
| 36 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
| 37 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 38 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 39 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 40 | virtual bool IsActivationSupported(const TensorInfo& input, |
| 41 | const TensorInfo& output, |
| 42 | const ActivationDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 43 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 44 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 45 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 46 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 47 | virtual bool IsAdditionSupported(const TensorInfo& input0, |
| 48 | const TensorInfo& input1, |
| 49 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 50 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 51 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 52 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 53 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Nikhil Raj | ee391d5 | 2019-09-05 17:50:44 +0100 | [diff] [blame] | 54 | virtual bool IsArgMinMaxSupported(const TensorInfo& input, |
| 55 | const TensorInfo& output, |
| 56 | const ArgMinMaxDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 57 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Nikhil Raj | ee391d5 | 2019-09-05 17:50:44 +0100 | [diff] [blame] | 58 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 59 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 60 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 61 | virtual bool IsBatchNormalizationSupported(const TensorInfo& input, |
| 62 | const TensorInfo& output, |
| 63 | const TensorInfo& mean, |
| 64 | const TensorInfo& var, |
| 65 | const TensorInfo& beta, |
| 66 | const TensorInfo& gamma, |
| 67 | const BatchNormalizationDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 68 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 69 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 70 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 71 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Éanna Ó Catháin | 4e1e136 | 2018-11-12 11:36:34 +0000 | [diff] [blame] | 72 | virtual bool IsBatchToSpaceNdSupported(const TensorInfo& input, |
| 73 | const TensorInfo& output, |
| 74 | const BatchToSpaceNdDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 75 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Éanna Ó Catháin | 4e1e136 | 2018-11-12 11:36:34 +0000 | [diff] [blame] | 76 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 77 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 78 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
mathad01 | b392e98 | 2021-04-07 12:07:30 +0100 | [diff] [blame] | 79 | virtual bool IsCastSupported(const TensorInfo& input, |
| 80 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 81 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
mathad01 | b392e98 | 2021-04-07 12:07:30 +0100 | [diff] [blame] | 82 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 83 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 84 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Simon Obute | 51f6777 | 2021-09-03 15:50:13 +0100 | [diff] [blame] | 85 | virtual bool IsChannelShuffleSupported(const TensorInfo& input, |
| 86 | const TensorInfo& output, |
| 87 | const ChannelShuffleDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 88 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Simon Obute | 51f6777 | 2021-09-03 15:50:13 +0100 | [diff] [blame] | 89 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 90 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 91 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Aron Virginas-Tar | 77bfb5e | 2019-10-16 17:45:38 +0100 | [diff] [blame] | 92 | virtual bool IsComparisonSupported(const TensorInfo& input0, |
| 93 | const TensorInfo& input1, |
| 94 | const TensorInfo& output, |
| 95 | const ComparisonDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 96 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Aron Virginas-Tar | 77bfb5e | 2019-10-16 17:45:38 +0100 | [diff] [blame] | 97 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 98 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 99 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Jim Flynn | 906f946 | 2019-05-10 13:55:21 +0100 | [diff] [blame] | 100 | virtual bool IsConcatSupported(const std::vector<const TensorInfo*> inputs, |
| 101 | const TensorInfo& output, |
| 102 | const OriginsDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 103 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Jim Flynn | 906f946 | 2019-05-10 13:55:21 +0100 | [diff] [blame] | 104 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 105 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 106 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 107 | virtual bool IsConstantSupported(const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 108 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 109 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 110 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 111 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Narumol Prangnawarat | 7ddbbae | 2020-03-13 10:26:05 +0000 | [diff] [blame] | 112 | virtual bool IsConvertBf16ToFp32Supported(const TensorInfo& input, |
| 113 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 114 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Narumol Prangnawarat | 7ddbbae | 2020-03-13 10:26:05 +0000 | [diff] [blame] | 115 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 116 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 117 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Narumol Prangnawarat | ea54a01 | 2020-03-16 16:36:10 +0000 | [diff] [blame] | 118 | virtual bool IsConvertFp32ToBf16Supported(const TensorInfo& input, |
| 119 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 120 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Narumol Prangnawarat | ea54a01 | 2020-03-16 16:36:10 +0000 | [diff] [blame] | 121 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 122 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 123 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 124 | virtual bool IsConvertFp16ToFp32Supported(const TensorInfo& input, |
| 125 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 126 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 127 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 128 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 129 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 130 | virtual bool IsConvertFp32ToFp16Supported(const TensorInfo& input, |
| 131 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 132 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 133 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 134 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 135 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 136 | virtual bool IsConvolution2dSupported(const TensorInfo& input, |
| 137 | const TensorInfo& output, |
| 138 | const Convolution2dDescriptor& descriptor, |
| 139 | const TensorInfo& weights, |
David Beck | 5eec11d | 2018-10-04 15:43:17 +0100 | [diff] [blame] | 140 | const Optional<TensorInfo>& biases, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 141 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 142 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 143 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 144 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Matthew Sloyan | b63a311 | 2021-09-08 13:05:51 +0100 | [diff] [blame] | 145 | virtual bool IsConvolution3dSupported(const TensorInfo& input, |
| 146 | const TensorInfo& output, |
| 147 | const Convolution3dDescriptor& descriptor, |
| 148 | const TensorInfo& weights, |
| 149 | const Optional<TensorInfo>& biases, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 150 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Matthew Sloyan | b63a311 | 2021-09-08 13:05:51 +0100 | [diff] [blame] | 151 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 152 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 153 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Nattapat Chaimanowong | a9a1cf1 | 2018-12-03 16:06:49 +0000 | [diff] [blame] | 154 | virtual bool IsDebugSupported(const TensorInfo& input, |
| 155 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 156 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Nattapat Chaimanowong | a9a1cf1 | 2018-12-03 16:06:49 +0000 | [diff] [blame] | 157 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 158 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 159 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Aron Virginas-Tar | dd6247f | 2019-09-19 14:31:17 +0100 | [diff] [blame] | 160 | virtual bool IsDepthToSpaceSupported(const TensorInfo& input, |
| 161 | const TensorInfo& output, |
| 162 | const DepthToSpaceDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 163 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Aron Virginas-Tar | dd6247f | 2019-09-19 14:31:17 +0100 | [diff] [blame] | 164 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 165 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 166 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Matteo Martincigh | 992d6dc | 2019-01-10 17:34:20 +0000 | [diff] [blame] | 167 | virtual bool IsDepthwiseConvolutionSupported( |
| 168 | const TensorInfo& input, |
| 169 | const TensorInfo& output, |
| 170 | const DepthwiseConvolution2dDescriptor& descriptor, |
| 171 | const TensorInfo& weights, |
| 172 | const Optional<TensorInfo>& biases, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 173 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 174 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 175 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 176 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Nattapat Chaimanowong | e4294fd | 2019-03-28 09:56:53 +0000 | [diff] [blame] | 177 | virtual bool IsDequantizeSupported(const TensorInfo& input, |
| 178 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 179 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Nattapat Chaimanowong | e4294fd | 2019-03-28 09:56:53 +0000 | [diff] [blame] | 180 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 181 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 182 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Derek Lamberti | 6a5e5e8 | 2019-12-05 14:41:20 +0000 | [diff] [blame] | 183 | virtual bool IsDetectionPostProcessSupported(const TensorInfo& boxEncodings, |
| 184 | const TensorInfo& scores, |
| 185 | const TensorInfo& anchors, |
| 186 | const TensorInfo& detectionBoxes, |
| 187 | const TensorInfo& detectionClasses, |
| 188 | const TensorInfo& detectionScores, |
| 189 | const TensorInfo& numDetections, |
| 190 | const DetectionPostProcessDescriptor& descriptor, |
Francis Murtagh | bf35414 | 2022-08-12 13:54:17 +0100 | [diff] [blame] | 191 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Narumol Prangnawarat | 94dd5d8 | 2019-01-23 18:06:26 +0000 | [diff] [blame] | 192 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 193 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 194 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Pablo Tello | f0bd683 | 2019-04-26 17:58:13 +0100 | [diff] [blame] | 195 | virtual bool IsDilatedDepthwiseConvolutionSupported( |
| 196 | const TensorInfo& input, |
| 197 | const TensorInfo& output, |
| 198 | const DepthwiseConvolution2dDescriptor& descriptor, |
| 199 | const TensorInfo& weights, |
| 200 | const Optional<TensorInfo>& biases, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 201 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Pablo Tello | f0bd683 | 2019-04-26 17:58:13 +0100 | [diff] [blame] | 202 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 203 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 204 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 205 | virtual bool IsDivisionSupported(const TensorInfo& input0, |
| 206 | const TensorInfo& input1, |
| 207 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 208 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 209 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 210 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 211 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
josh minor | 4a3c610 | 2020-01-06 16:40:46 -0600 | [diff] [blame] | 212 | virtual bool IsElementwiseUnarySupported(const TensorInfo& input, |
| 213 | const TensorInfo& output, |
| 214 | const ElementwiseUnaryDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 215 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
josh minor | 4a3c610 | 2020-01-06 16:40:46 -0600 | [diff] [blame] | 216 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 217 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 218 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame] | 219 | virtual bool IsFakeQuantizationSupported(const TensorInfo& input, |
| 220 | const FakeQuantizationDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 221 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 222 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 223 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 224 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Ryan OShea | ec6c680 | 2020-06-05 17:17:06 +0100 | [diff] [blame] | 225 | virtual bool IsFillSupported(const TensorInfo& input, |
| 226 | const TensorInfo& output, |
| 227 | const FillDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 228 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Ryan OShea | ec6c680 | 2020-06-05 17:17:06 +0100 | [diff] [blame] | 229 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 230 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 231 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame] | 232 | virtual bool IsFloorSupported(const TensorInfo& input, |
| 233 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 234 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 235 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 236 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 237 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 238 | virtual bool IsFullyConnectedSupported(const TensorInfo& input, |
| 239 | const TensorInfo& output, |
| 240 | const TensorInfo& weights, |
| 241 | const TensorInfo& biases, |
| 242 | const FullyConnectedDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 243 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 244 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 245 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 246 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Derek Lamberti | 61f5463 | 2019-03-25 16:28:44 +0000 | [diff] [blame] | 247 | virtual bool IsGatherSupported(const TensorInfo& input0, |
| 248 | const TensorInfo& input1, |
| 249 | const TensorInfo& output, |
Teresa Charlin | 5266473 | 2020-06-29 16:27:03 +0100 | [diff] [blame] | 250 | const GatherDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 251 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Teresa Charlin | 5266473 | 2020-06-29 16:27:03 +0100 | [diff] [blame] | 252 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 253 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 254 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame] | 255 | virtual bool IsInputSupported(const TensorInfo& input, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 256 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame] | 257 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 258 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 259 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Kevin May | ce5045a | 2019-10-02 14:07:47 +0100 | [diff] [blame] | 260 | virtual bool IsInstanceNormalizationSupported( |
| 261 | const TensorInfo& input, |
| 262 | const TensorInfo& output, |
| 263 | const InstanceNormalizationDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 264 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Kevin May | ce5045a | 2019-10-02 14:07:47 +0100 | [diff] [blame] | 265 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 266 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 267 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 268 | virtual bool IsL2NormalizationSupported(const TensorInfo& input, |
| 269 | const TensorInfo& output, |
| 270 | const L2NormalizationDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 271 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 272 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 273 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 274 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
James Conroy | aba90cd | 2020-11-06 16:28:18 +0000 | [diff] [blame] | 275 | virtual bool IsLogicalBinarySupported(const TensorInfo& input0, |
| 276 | const TensorInfo& input1, |
| 277 | const TensorInfo& output, |
| 278 | const LogicalBinaryDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 279 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
James Conroy | aba90cd | 2020-11-06 16:28:18 +0000 | [diff] [blame] | 280 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 281 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 282 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
James Conroy | aba90cd | 2020-11-06 16:28:18 +0000 | [diff] [blame] | 283 | virtual bool IsLogicalUnarySupported(const TensorInfo& input, |
| 284 | const TensorInfo& output, |
| 285 | const ElementwiseUnaryDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 286 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
James Conroy | aba90cd | 2020-11-06 16:28:18 +0000 | [diff] [blame] | 287 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 288 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 289 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Aron Virginas-Tar | f982dea | 2019-10-11 14:07:53 +0100 | [diff] [blame] | 290 | virtual bool IsLogSoftmaxSupported(const TensorInfo& input, |
| 291 | const TensorInfo& output, |
| 292 | const LogSoftmaxDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 293 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Aron Virginas-Tar | f982dea | 2019-10-11 14:07:53 +0100 | [diff] [blame] | 294 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 295 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 296 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 297 | virtual bool IsLstmSupported(const TensorInfo& input, |
| 298 | const TensorInfo& outputStateIn, |
| 299 | const TensorInfo& cellStateIn, |
| 300 | const TensorInfo& scratchBuffer, |
| 301 | const TensorInfo& outputStateOut, |
| 302 | const TensorInfo& cellStateOut, |
| 303 | const TensorInfo& output, |
| 304 | const LstmDescriptor& descriptor, |
Jan Eilers | d01a83c | 2019-07-03 18:20:40 +0100 | [diff] [blame] | 305 | const LstmInputParamsInfo& paramsInfo, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 306 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 307 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 308 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 309 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Nattapat Chaimanowong | 5a4304a | 2018-11-28 10:44:37 +0000 | [diff] [blame] | 310 | virtual bool IsMaximumSupported(const TensorInfo& input0, |
| 311 | const TensorInfo& input1, |
| 312 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 313 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Nattapat Chaimanowong | 5a4304a | 2018-11-28 10:44:37 +0000 | [diff] [blame] | 314 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 315 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 316 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame] | 317 | virtual bool IsMeanSupported(const TensorInfo& input, |
| 318 | const TensorInfo& output, |
| 319 | const MeanDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 320 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Matteo Martincigh | 992d6dc | 2019-01-10 17:34:20 +0000 | [diff] [blame] | 321 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 322 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 323 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Matteo Martincigh | 992d6dc | 2019-01-10 17:34:20 +0000 | [diff] [blame] | 324 | virtual bool IsMemCopySupported(const TensorInfo& input, |
| 325 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 326 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame] | 327 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 328 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 329 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Derek Lamberti | f674aa0 | 2019-08-01 15:56:25 +0100 | [diff] [blame] | 330 | virtual bool IsMemImportSupported(const TensorInfo& input, |
| 331 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 332 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Derek Lamberti | f674aa0 | 2019-08-01 15:56:25 +0100 | [diff] [blame] | 333 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 334 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 335 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Nattapat Chaimanowong | 1f88630 | 2019-04-05 13:37:19 +0100 | [diff] [blame] | 336 | virtual bool IsMergeSupported(const TensorInfo& input0, |
| 337 | const TensorInfo& input1, |
| 338 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 339 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Nattapat Chaimanowong | 1f88630 | 2019-04-05 13:37:19 +0100 | [diff] [blame] | 340 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 341 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 342 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
kevmay01 | 9053969 | 2018-11-29 08:40:19 +0000 | [diff] [blame] | 343 | virtual bool IsMinimumSupported(const TensorInfo& input0, |
| 344 | const TensorInfo& input1, |
| 345 | const TensorInfo& ouput, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 346 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
kevmay01 | 9053969 | 2018-11-29 08:40:19 +0000 | [diff] [blame] | 347 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 348 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 349 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 350 | virtual bool IsMultiplicationSupported(const TensorInfo& input0, |
| 351 | const TensorInfo& input1, |
| 352 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 353 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 354 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 355 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 356 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 357 | virtual bool IsNormalizationSupported(const TensorInfo& input, |
| 358 | const TensorInfo& output, |
| 359 | const NormalizationDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 360 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 361 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 362 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 363 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 364 | virtual bool IsOutputSupported(const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 365 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 366 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 367 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 368 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame] | 369 | virtual bool IsPadSupported(const TensorInfo& input, |
| 370 | const TensorInfo& output, |
| 371 | const PadDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 372 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame] | 373 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 374 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 375 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 376 | virtual bool IsPermuteSupported(const TensorInfo& input, |
| 377 | const TensorInfo& output, |
| 378 | const PermuteDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 379 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 380 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 381 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 382 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 383 | virtual bool IsPooling2dSupported(const TensorInfo& input, |
| 384 | const TensorInfo& output, |
| 385 | const Pooling2dDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 386 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 387 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 388 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 389 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Tamás Nyíri | 7b885b3 | 2021-10-26 14:47:57 +0100 | [diff] [blame] | 390 | virtual bool IsPooling3dSupported(const TensorInfo& input, |
| 391 | const TensorInfo& output, |
| 392 | const Pooling3dDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 393 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Tamás Nyíri | 7b885b3 | 2021-10-26 14:47:57 +0100 | [diff] [blame] | 394 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 395 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 396 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Matteo Martincigh | 4912402 | 2019-01-11 13:25:59 +0000 | [diff] [blame] | 397 | virtual bool IsPreCompiledSupported(const TensorInfo& input, |
| 398 | const PreCompiledDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 399 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Matteo Martincigh | 4912402 | 2019-01-11 13:25:59 +0000 | [diff] [blame] | 400 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 401 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 402 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Matteo Martincigh | 0e406ee | 2019-06-12 15:42:18 +0100 | [diff] [blame] | 403 | virtual bool IsPreluSupported(const TensorInfo& input, |
| 404 | const TensorInfo& alpha, |
| 405 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 406 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Matteo Martincigh | 0e406ee | 2019-06-12 15:42:18 +0100 | [diff] [blame] | 407 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 408 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 409 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Derek Lamberti | a9cca6a | 2019-03-25 15:41:58 +0000 | [diff] [blame] | 410 | virtual bool IsQuantizeSupported(const TensorInfo& input, |
| 411 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 412 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Derek Lamberti | a9cca6a | 2019-03-25 15:41:58 +0000 | [diff] [blame] | 413 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 414 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 415 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
James Conroy | 586a9aa | 2020-03-20 08:49:33 +0000 | [diff] [blame] | 416 | virtual bool IsQLstmSupported(const TensorInfo& input, |
| 417 | const TensorInfo& previousOutputIn, |
| 418 | const TensorInfo& previousCellStateIn, |
| 419 | const TensorInfo& outputStateOut, |
| 420 | const TensorInfo& cellStateOut, |
| 421 | const TensorInfo& output, |
| 422 | const QLstmDescriptor& descriptor, |
| 423 | const LstmInputParamsInfo& paramsInfo, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 424 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
James Conroy | 586a9aa | 2020-03-20 08:49:33 +0000 | [diff] [blame] | 425 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 426 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 427 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
James Conroy | ee18dc8 | 2019-07-17 11:27:46 +0100 | [diff] [blame] | 428 | virtual bool IsQuantizedLstmSupported(const TensorInfo& input, |
| 429 | const TensorInfo& previousCellStateIn, |
| 430 | const TensorInfo& previousOutputIn, |
| 431 | const TensorInfo& cellStateOut, |
| 432 | const TensorInfo& output, |
| 433 | const QuantizedLstmInputParamsInfo& paramsInfo, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 434 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
James Conroy | ee18dc8 | 2019-07-17 11:27:46 +0100 | [diff] [blame] | 435 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 436 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 437 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Finn Williams | 2605b23 | 2020-06-10 15:53:46 +0100 | [diff] [blame] | 438 | virtual bool IsRankSupported(const TensorInfo& input, |
| 439 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 440 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Finn Williams | 2605b23 | 2020-06-10 15:53:46 +0100 | [diff] [blame] | 441 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 442 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 443 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Sadik Armagan | 0c3ea5b | 2021-02-03 09:29:30 +0000 | [diff] [blame] | 444 | virtual bool IsReduceSupported(const TensorInfo& input, |
| 445 | const TensorInfo& output, |
| 446 | const ReduceDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 447 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Sadik Armagan | 0c3ea5b | 2021-02-03 09:29:30 +0000 | [diff] [blame] | 448 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 449 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 450 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame] | 451 | virtual bool IsReshapeSupported(const TensorInfo& input, |
Kevin May | a023c40 | 2019-12-12 17:28:05 +0000 | [diff] [blame] | 452 | const TensorInfo& output, |
Matteo Martincigh | 992d6dc | 2019-01-10 17:34:20 +0000 | [diff] [blame] | 453 | const ReshapeDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 454 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame] | 455 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 456 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 457 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Teresa Charlin | a9075df | 2019-06-27 15:41:57 +0100 | [diff] [blame] | 458 | virtual bool IsResizeSupported(const TensorInfo& input, |
| 459 | const TensorInfo& output, |
| 460 | const ResizeDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 461 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Teresa Charlin | a9075df | 2019-06-27 15:41:57 +0100 | [diff] [blame] | 462 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 463 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 464 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Keith Davis | 3ae3f97 | 2021-05-21 16:33:48 +0100 | [diff] [blame] | 465 | virtual bool IsShapeSupported(const TensorInfo& input, |
| 466 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 467 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Keith Davis | 3ae3f97 | 2021-05-21 16:33:48 +0100 | [diff] [blame] | 468 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 469 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 470 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Aron Virginas-Tar | 636ab40 | 2019-09-16 14:27:45 +0100 | [diff] [blame] | 471 | virtual bool IsSliceSupported(const TensorInfo& input, |
| 472 | const TensorInfo& output, |
| 473 | const SliceDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 474 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Aron Virginas-Tar | 636ab40 | 2019-09-16 14:27:45 +0100 | [diff] [blame] | 475 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 476 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 477 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 478 | virtual bool IsSoftmaxSupported(const TensorInfo& input, |
| 479 | const TensorInfo& output, |
| 480 | const SoftmaxDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 481 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 482 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 483 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 484 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Derek Lamberti | 61f5463 | 2019-03-25 16:28:44 +0000 | [diff] [blame] | 485 | virtual bool IsSpaceToBatchNdSupported(const TensorInfo& input, |
| 486 | const TensorInfo& output, |
| 487 | const SpaceToBatchNdDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 488 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Derek Lamberti | 61f5463 | 2019-03-25 16:28:44 +0000 | [diff] [blame] | 489 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 490 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 491 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Aron Virginas-Tar | 972af15 | 2019-06-11 14:14:03 +0100 | [diff] [blame] | 492 | virtual bool IsSpaceToDepthSupported(const TensorInfo& input, |
| 493 | const TensorInfo& output, |
| 494 | const SpaceToDepthDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 495 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Aron Virginas-Tar | 972af15 | 2019-06-11 14:14:03 +0100 | [diff] [blame] | 496 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 497 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 498 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 499 | virtual bool IsSplitterSupported(const TensorInfo& input, |
Narumol Prangnawarat | 15eb583 | 2019-05-20 15:31:05 +0100 | [diff] [blame] | 500 | const std::vector<std::reference_wrapper<TensorInfo>>& outputs, |
| 501 | const ViewsDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 502 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Narumol Prangnawarat | 15eb583 | 2019-05-20 15:31:05 +0100 | [diff] [blame] | 503 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 504 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 505 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Matthew Jackson | 81e601c | 2019-07-11 12:07:09 +0100 | [diff] [blame] | 506 | virtual bool IsStackSupported(const std::vector<const TensorInfo*>& inputs, |
Matthew Jackson | 2b8c1da | 2019-07-04 14:59:16 +0100 | [diff] [blame] | 507 | const TensorInfo& output, |
| 508 | const StackDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 509 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Matthew Jackson | 2b8c1da | 2019-07-04 14:59:16 +0100 | [diff] [blame] | 510 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 511 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 512 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Derek Lamberti | 013c390 | 2019-10-21 10:46:16 +0100 | [diff] [blame] | 513 | virtual bool IsStandInSupported(const std::vector<const TensorInfo*>& inputs, |
| 514 | const std::vector<const TensorInfo*>& outputs, |
| 515 | const StandInDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 516 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Derek Lamberti | 013c390 | 2019-10-21 10:46:16 +0100 | [diff] [blame] | 517 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 518 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 519 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Conor Kennedy | 430b5d8 | 2018-11-14 15:28:28 +0000 | [diff] [blame] | 520 | virtual bool IsStridedSliceSupported(const TensorInfo& input, |
| 521 | const TensorInfo& output, |
| 522 | const StridedSliceDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 523 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Conor Kennedy | 430b5d8 | 2018-11-14 15:28:28 +0000 | [diff] [blame] | 524 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 525 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 526 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
arovir01 | 537a0b6 | 2018-10-08 12:01:04 +0100 | [diff] [blame] | 527 | virtual bool IsSubtractionSupported(const TensorInfo& input0, |
| 528 | const TensorInfo& input1, |
| 529 | const TensorInfo& output, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 530 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Sadik Armagan | eff363d | 2019-04-05 15:25:46 +0100 | [diff] [blame] | 531 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 532 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 533 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Sadik Armagan | eff363d | 2019-04-05 15:25:46 +0100 | [diff] [blame] | 534 | virtual bool IsSwitchSupported(const TensorInfo& input0, |
| 535 | const TensorInfo& input1, |
| 536 | const TensorInfo& output0, |
| 537 | const TensorInfo& output1, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 538 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Aron Virginas-Tar | 639fb04 | 2019-06-20 14:28:19 +0100 | [diff] [blame] | 539 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 540 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 541 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Aron Virginas-Tar | 639fb04 | 2019-06-20 14:28:19 +0100 | [diff] [blame] | 542 | virtual bool IsTransposeConvolution2dSupported( |
| 543 | const TensorInfo& input, |
| 544 | const TensorInfo& output, |
| 545 | const TransposeConvolution2dDescriptor& descriptor, |
| 546 | const TensorInfo& weights, |
| 547 | const Optional<TensorInfo>& biases, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 548 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Aron Virginas-Tar | 639fb04 | 2019-06-20 14:28:19 +0100 | [diff] [blame] | 549 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 550 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 551 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Mike Kelly | c9ea45a | 2020-02-28 18:11:58 +0000 | [diff] [blame] | 552 | virtual bool IsTransposeSupported(const TensorInfo& input, |
| 553 | const TensorInfo& output, |
| 554 | const TransposeDescriptor& descriptor, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 555 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Mike Kelly | c9ea45a | 2020-02-28 18:11:58 +0000 | [diff] [blame] | 556 | |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 557 | ARMNN_DEPRECATED_MSG_REMOVAL_DATE("This method is deprecated. " |
Jim Flynn | b4efde5 | 2022-07-31 18:00:31 +0100 | [diff] [blame] | 558 | "Use ABI Stable IsLayerSupported accepting LayerType argument instead.", "23.08") |
Narumol Prangnawarat | 8ed39ae | 2021-07-15 16:16:25 +0100 | [diff] [blame] | 559 | virtual bool IsUnidirectionalSequenceLstmSupported( |
| 560 | const TensorInfo& input, |
| 561 | const TensorInfo& outputStateIn, |
| 562 | const TensorInfo& cellStateIn, |
Mike Kelly | 1299496 | 2022-04-21 11:57:09 +0100 | [diff] [blame] | 563 | const TensorInfo& outputStateOut, |
| 564 | const TensorInfo& cellStateOut, |
Narumol Prangnawarat | 8ed39ae | 2021-07-15 16:16:25 +0100 | [diff] [blame] | 565 | const TensorInfo& output, |
Narumol Prangnawarat | 8ed39ae | 2021-07-15 16:16:25 +0100 | [diff] [blame] | 566 | const LstmDescriptor& descriptor, |
| 567 | const LstmInputParamsInfo& paramsInfo, |
Francis Murtagh | b03043e | 2022-01-20 14:31:30 +0000 | [diff] [blame] | 568 | Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; |
Narumol Prangnawarat | 8ed39ae | 2021-07-15 16:16:25 +0100 | [diff] [blame] | 569 | |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 570 | }; // class ILayerSupport |
| 571 | |
David Beck | 3e9e115 | 2018-10-17 14:17:50 +0100 | [diff] [blame] | 572 | using ILayerSupportSharedPtr = std::shared_ptr<ILayerSupport>; |
| 573 | |
David Beck | e97c6e0 | 2018-10-03 13:09:28 +0100 | [diff] [blame] | 574 | } // namespace armnn |