diff options
author | Jan Eilers <jan.eilers@arm.com> | 2019-07-03 18:20:40 +0100 |
---|---|---|
committer | Nikhil Raj Arm <nikhil.raj@arm.com> | 2019-07-09 11:22:28 +0000 |
commit | d01a83c8de77c44a938a618918d17385da3baa88 (patch) | |
tree | fca6f5422adfbdcce059049b36d32e0168edcef4 /include/armnn/LayerSupport.hpp | |
parent | e6eaf661c5b84f4ca051daaf08281d9b8de3fcb9 (diff) | |
download | armnn-d01a83c8de77c44a938a618918d17385da3baa88.tar.gz |
IVGCVSW-3397 Join lstm parameter infos in a struct for isLstmSupported
!android-nn-driver:1461
Change-Id: I9d8fe7adf13832ed0cbcfe98b2353c2f37011d22
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Diffstat (limited to 'include/armnn/LayerSupport.hpp')
-rw-r--r-- | include/armnn/LayerSupport.hpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/armnn/LayerSupport.hpp b/include/armnn/LayerSupport.hpp index 35336ed7da..65f9d089ba 100644 --- a/include/armnn/LayerSupport.hpp +++ b/include/armnn/LayerSupport.hpp @@ -9,6 +9,7 @@ #include <armnn/Optional.hpp> #include <armnn/Tensor.hpp> #include <armnn/Types.hpp> +#include "LstmParams.hpp" namespace armnn { @@ -178,15 +179,7 @@ bool IsLstmSupported(const BackendId& backend, const TensorInfo& input, const Te const TensorInfo& cellStateIn, const TensorInfo& scratchBuffer, const TensorInfo& outputStateOut, const TensorInfo& cellStateOut, const TensorInfo& output, const LstmDescriptor& descriptor, - const TensorInfo& inputToForgetWeights, const TensorInfo& inputToCellWeights, - const TensorInfo& inputToOutputWeights, const TensorInfo& recurrentToForgetWeights, - const TensorInfo& recurrentToCellWeights, const TensorInfo& recurrentToOutputWeights, - const TensorInfo& forgetGateBias, const TensorInfo& cellBias, - const TensorInfo& outputGateBias, const TensorInfo* inputToInputWeights, - const TensorInfo* recurrentToInputWeights, const TensorInfo* cellToInputWeights, - const TensorInfo* inputGateBias, const TensorInfo* projectionWeights, - const TensorInfo* projectionBias, const TensorInfo* cellToForgetWeights, - const TensorInfo* cellToOutputWeights, char* reasonIfUnsupported = nullptr, + const LstmInputParamsInfo& paramsInfo, char* reasonIfUnsupported = nullptr, size_t reasonIfUnsupportedMaxLength = 1024); /// Deprecated in favor of IBackend and ILayerSupport interfaces |