diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2020-06-09 18:00:20 +0100 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2020-06-26 12:00:16 +0000 |
commit | cdc0149ffe40f14ff4695149d9bdf551f8e07702 (patch) | |
tree | 0d0d34c0c3332d2e78f6272de536ae8c4dd809bc /src/armnn/layers/PreCompiledLayer.cpp | |
parent | 1db8b822324c4d2c3e55cf3966cfae36757793b5 (diff) | |
download | armnn-cdc0149ffe40f14ff4695149d9bdf551f8e07702.tar.gz |
IVGCVSW-4928 Introduce "ShapeInferenceMethod" Option.
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I70ef1a9f3cefa1d4cf9220f0e13131d11e7c6418
Diffstat (limited to 'src/armnn/layers/PreCompiledLayer.cpp')
-rw-r--r-- | src/armnn/layers/PreCompiledLayer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/layers/PreCompiledLayer.cpp b/src/armnn/layers/PreCompiledLayer.cpp index 3444afc454..577e19f3cc 100644 --- a/src/armnn/layers/PreCompiledLayer.cpp +++ b/src/armnn/layers/PreCompiledLayer.cpp @@ -35,8 +35,10 @@ std::unique_ptr<IWorkload> PreCompiledLayer::CreateWorkload(const armnn::IWorklo return factory.CreatePreCompiled(descriptor, PrepInfoAndDesc(descriptor)); } -void PreCompiledLayer::ValidateTensorShapesFromInputs() +void PreCompiledLayer::ValidateTensorShapesFromInputs(ShapeInferenceMethod shapeInferenceMethod) { + IgnoreUnused(shapeInferenceMethod); + // NOTE: since the PreCompiledLayer is an internal layer created from a valid SubgraphView, // we do not need to validate its input shapes } |