aboutsummaryrefslogtreecommitdiff
path: root/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp')
-rw-r--r--tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp b/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp
index 8ce7357962..3453fdd70b 100644
--- a/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp
+++ b/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp
@@ -147,7 +147,10 @@ int LoadModel(const char* filename,
// Load model into runtime
{
std::string errorMessage;
- INetworkProperties modelProps(options.m_ImportEnabled, options.m_ImportEnabled);
+
+ armnn::MemorySource memSource = options.m_ImportEnabled ? armnn::MemorySource::Malloc
+ : armnn::MemorySource::Undefined;
+ INetworkProperties modelProps(false, memSource, memSource);
Status status = runtime.LoadNetwork(networkId, std::move(optimizedModel), errorMessage, modelProps);
if (status != Status::Success)
{