From 284b5d19c8cf446b7eec16ea560c544ac39008c1 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Tue, 7 Sep 2021 12:46:15 +0100 Subject: Add 'do-not-print-output' option to ExNet Signed-off-by: Jan Eilers Change-Id: I10fb010ee8d3f813d2264cefb526f352e30d7046 --- tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp') diff --git a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp index d92c17c5e5..0abda4f8ee 100644 --- a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp +++ b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp @@ -26,7 +26,8 @@ struct TensorPrinter TensorPrinter(const std::string& binding, const armnn::TensorInfo& info, const std::string& outputTensorFile, - bool dequantizeOutput); + bool dequantizeOutput, + bool printToConsole = true); void operator()(const std::vector& values); @@ -48,6 +49,7 @@ private: int m_Offset; std::string m_OutputTensorFile; bool m_DequantizeOutput; + bool m_PrintToConsole; }; using TContainer = -- cgit v1.2.1