aboutsummaryrefslogtreecommitdiff
path: root/tests/TfLiteMobileNetSsd-Armnn
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-08-14 11:42:30 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-08-23 12:44:27 +0000
commit00dda4a66c10a56b02bdd534ba3b5fdb27527ebc (patch)
treecb752587ba5c2ea64e2de6ec402cbce7fc63981d /tests/TfLiteMobileNetSsd-Armnn
parente898db9aaf07b4d0ea0242a1f3296f0192c42939 (diff)
downloadarmnn-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/TfLiteMobileNetSsd-Armnn')
-rw-r--r--tests/TfLiteMobileNetSsd-Armnn/TfLiteMobileNetSsd-Armnn.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/TfLiteMobileNetSsd-Armnn/TfLiteMobileNetSsd-Armnn.cpp b/tests/TfLiteMobileNetSsd-Armnn/TfLiteMobileNetSsd-Armnn.cpp
index 06196475bf..787102ed45 100644
--- a/tests/TfLiteMobileNetSsd-Armnn/TfLiteMobileNetSsd-Armnn.cpp
+++ b/tests/TfLiteMobileNetSsd-Armnn/TfLiteMobileNetSsd-Armnn.cpp
@@ -64,7 +64,9 @@ int main(int argc, char* argv[])
modelParams.m_VisualizePostOptimizationModel = modelOptions.m_VisualizePostOptimizationModel;
modelParams.m_EnableFp16TurboMode = modelOptions.m_EnableFp16TurboMode;
- return std::make_unique<Model>(modelParams, commonOptions.m_EnableProfiling);
+ return std::make_unique<Model>(modelParams,
+ commonOptions.m_EnableProfiling,
+ commonOptions.m_DynamicBackendsPath);
});
});
}