diff options
author | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2023-05-05 16:39:05 +0100 |
---|---|---|
committer | Francis Murtagh <francis.murtagh@arm.com> | 2023-05-08 13:19:15 +0000 |
commit | 46e574e8195ae2e8085086457a642210d9d3b8cd (patch) | |
tree | b3a7b2bdc86b222509f5110c177a82646a58797b /tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp | |
parent | 97a3aefff63ae081ae62aa5bac17d6e9c401937e (diff) | |
download | armnn-46e574e8195ae2e8085086457a642210d9d3b8cd.tar.gz |
IVGCVSW-7626 Add Execute Network for Opaque Delegate
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: Ibdded86713368ecfdf31c4118dfe8a3404d1e3b8
Diffstat (limited to 'tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp')
-rw-r--r-- | tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp b/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp index 3a54b1ab19..8d5035e103 100644 --- a/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp +++ b/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp @@ -355,6 +355,7 @@ ProgramOptions::ProgramOptions() : m_CxxOptions{"ExecuteNetwork", "Set the executor for the tflite model: parser, delegate, tflite" "parser is the ArmNNTfLiteParser, " "delegate is the ArmNNTfLiteDelegate, " + "opaquedelegate is the ArmNNTfLiteOpaqueDelegate, " "tflite is the TfliteInterpreter", cxxopts::value<std::string>()->default_value("parser")) @@ -539,6 +540,10 @@ void ProgramOptions::ParseOptions(int ac, const char* av[]) { m_ExNetParams.m_TfLiteExecutor = ExecuteNetworkParams::TfLiteExecutor::ArmNNTfLiteParser; } + else if (tfliteExecutor == "opaquedelegate") + { + m_ExNetParams.m_TfLiteExecutor = ExecuteNetworkParams::TfLiteExecutor::ArmNNTfLiteOpaqueDelegate; + } else if (tfliteExecutor == "delegate") { m_ExNetParams.m_TfLiteExecutor = ExecuteNetworkParams::TfLiteExecutor::ArmNNTfLiteDelegate; |