IVGCVSW-6603 'Add a no fallback mode to the TfLite Delegate'
* Added disable-tflite-runtime-fallback option to armnn_delegate
* Updated armnn_delegate version
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I449b16404d3ffe98e6dac52a43e7c25225addd73
diff --git a/delegate/src/DelegateOptions.cpp b/delegate/src/DelegateOptions.cpp
index f3e13c9..a55a579 100644
--- a/delegate/src/DelegateOptions.cpp
+++ b/delegate/src/DelegateOptions.cpp
@@ -242,6 +242,12 @@
{
this->SetSerializeToDot(options_values[i]);
}
+
+ // Process disable-tflite-runtime-fallback
+ else if (std::string(options_keys[i]) == std::string("disable-tflite-runtime-fallback"))
+ {
+ this->DisableTfLiteRuntimeFallback(armnn::stringUtils::StringToBool(options_values[i]));
+ }
else
{
throw armnn::Exception("Unknown option for the ArmNN Delegate given: " + std::string(options_keys[i]));