IVGCVSW-5571 Expose the TfLite Delegate to the TfLite python API
* Implemented external delegate adaptor interface for TfLite
* Activated armnn logging for delegate
* Added logging info to indicate if gpu tuning is turned on
* Added pytests to ensure functionality of the external delegate adaptor
* Included the delegate directory into doxygen
* Added documentation on how to use the external delegate in python
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Id3b4588fb0b9ac7e3f47ba2c19feead7beb58e18
diff --git a/delegate/src/armnn_delegate.cpp b/delegate/src/armnn_delegate.cpp
index 5139adb..6250a5f 100644
--- a/delegate/src/armnn_delegate.cpp
+++ b/delegate/src/armnn_delegate.cpp
@@ -120,6 +120,12 @@
: m_Runtime(nullptr, nullptr),
m_Options(std::move(options))
{
+ // Configures logging for ARMNN
+ if (options.IsLoggingEnabled())
+ {
+ armnn::ConfigureLogging(true, true, options.GetLoggingSeverity());
+ }
+
// Create ArmNN Runtime
armnn::IRuntime::CreationOptions runtimeOptions;