diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-08-14 11:42:30 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-08-23 12:44:27 +0000 |
commit | 00dda4a66c10a56b02bdd534ba3b5fdb27527ebc (patch) | |
tree | cb752587ba5c2ea64e2de6ec402cbce7fc63981d /tests/CaffeYolo-Armnn | |
parent | e898db9aaf07b4d0ea0242a1f3296f0192c42939 (diff) | |
download | armnn-00dda4a66c10a56b02bdd534ba3b5fdb27527ebc.tar.gz |
IVGCVSW-3547 Use ExecuteNetwork to run a dynamic backend end to end test
* Added path override for dynamic backend loading
* Do not default to CpuRef, as there could be dynamic backends loaded at
runtime
* Do not check right away whether the backends are correct, as more of
them can be loaded at runtime as dynamic backends
Change-Id: If23f79aa1480b8dfce57e49b1746c23b6b9e6f82
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'tests/CaffeYolo-Armnn')
-rw-r--r-- | tests/CaffeYolo-Armnn/CaffeYolo-Armnn.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/CaffeYolo-Armnn/CaffeYolo-Armnn.cpp b/tests/CaffeYolo-Armnn/CaffeYolo-Armnn.cpp index c136672c48..d563faaab2 100644 --- a/tests/CaffeYolo-Armnn/CaffeYolo-Armnn.cpp +++ b/tests/CaffeYolo-Armnn/CaffeYolo-Armnn.cpp @@ -40,7 +40,9 @@ int main(int argc, char* argv[]) modelParams.m_VisualizePostOptimizationModel = modelOptions.m_VisualizePostOptimizationModel; modelParams.m_EnableFp16TurboMode = modelOptions.m_EnableFp16TurboMode; - return std::make_unique<YoloInferenceModel>(modelParams, commonOptions.m_EnableProfiling); + return std::make_unique<YoloInferenceModel>(modelParams, + commonOptions.m_EnableProfiling, + commonOptions.m_DynamicBackendsPath); }); }); } |