diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2022-08-08 15:07:26 +0100 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2022-08-08 14:11:17 +0000 |
commit | 96ec1cbaffdca0a7afca21dcdce49b1e17f7b827 (patch) | |
tree | 467b4ed9c5e6498a269dededbe98d1d9b1c9f653 | |
parent | 351f334b5480d7aacc8b8ddd916a3ecb74d0c6c1 (diff) | |
download | armnn-96ec1cbaffdca0a7afca21dcdce49b1e17f7b827.tar.gz |
Bug Fix for refactor of the ExecuteNetwork for strategy in Precompiled layer.
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ib91b734d4add47e23ad00f76e53f1873ff617831
-rw-r--r-- | src/armnn/layers/PreCompiledLayer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/armnn/layers/PreCompiledLayer.cpp b/src/armnn/layers/PreCompiledLayer.cpp index 19b71e1285..77b8b9d6af 100644 --- a/src/armnn/layers/PreCompiledLayer.cpp +++ b/src/armnn/layers/PreCompiledLayer.cpp @@ -51,8 +51,7 @@ void PreCompiledLayer::SetPreCompiledObject(PreCompiledObjectPtr preCompiledObje void PreCompiledLayer::ExecuteStrategy(IStrategy& strategy) const { - IgnoreUnused(strategy); - throw armnn::Exception("PreCompiledLayer should not appear in an input graph"); + strategy.ExecuteStrategy(this, GetParameters(), {}, GetName()); } } // namespace armnn |