diff options
Diffstat (limited to 'include/armnn/ILayerSupport.hpp')
-rw-r--r-- | include/armnn/ILayerSupport.hpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/armnn/ILayerSupport.hpp b/include/armnn/ILayerSupport.hpp index 4301f9a196..45360984ff 100644 --- a/include/armnn/ILayerSupport.hpp +++ b/include/armnn/ILayerSupport.hpp @@ -6,8 +6,9 @@ #include <armnn/Deprecated.hpp> #include <armnn/DescriptorsFwd.hpp> -#include <armnn/Optional.hpp> #include <armnn/LstmParams.hpp> +#include <armnn/Optional.hpp> +#include <armnn/QuantizedLstmParams.hpp> #include <cctype> #include <functional> @@ -228,6 +229,14 @@ public: const TensorInfo& output, Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const = 0; + virtual 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 = 0; + virtual bool IsReshapeSupported(const TensorInfo& input, const ReshapeDescriptor& descriptor, Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const = 0; |