From f806c4d075814a9dc9d206a4db123d3060ad7ebd Mon Sep 17 00:00:00 2001 From: Finn Williams Date: Mon, 22 Feb 2021 15:13:12 +0000 Subject: IVGCVSW-5612 Fix tiny_wav2letter_relu_fixed_int8 delegate output * fix delegate perchannel quantization * change delegate to check reshape options before inputs * Add int8 "qsymms8" option to ExecuteNetwork * Add option to run ExecuteNetwork on tflite w/o delegate !referencetests:301301 Signed-off-by: Finn Williams Change-Id: If3e12599b17aff1199d7ab0a55e1c901e480083d --- tests/ExecuteNetwork/ExecuteNetworkParams.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/ExecuteNetwork/ExecuteNetworkParams.hpp') diff --git a/tests/ExecuteNetwork/ExecuteNetworkParams.hpp b/tests/ExecuteNetwork/ExecuteNetworkParams.hpp index a30ce57147..a19eaa9346 100644 --- a/tests/ExecuteNetwork/ExecuteNetworkParams.hpp +++ b/tests/ExecuteNetwork/ExecuteNetworkParams.hpp @@ -14,6 +14,13 @@ struct ExecuteNetworkParams { using TensorShapePtr = std::unique_ptr; + enum class TfLiteExecutor + { + ArmNNTfLiteParser, + ArmNNTfLiteDelegate, + TfliteInterpreter + }; + std::string m_CachedNetworkFilePath; std::vector m_ComputeDevices; bool m_DequantizeOutput; @@ -47,6 +54,7 @@ struct ExecuteNetworkParams int m_TuningLevel; std::string m_TuningPath; std::string m_MLGOTuningFilePath; + TfLiteExecutor m_TfLiteExecutor; // Ensures that the parameters for ExecuteNetwork fit together void ValidateParams(); -- cgit v1.2.1