From d047262b7fb68ad1fe0a2273ee79ab7952c72a6e Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Mon, 6 Mar 2023 12:34:54 +0000 Subject: Fixing compare output feature in ExecuteNetwork The -A -B -C options in execute network were attempting to calculate the RMS error over output tensors. However, the calculation was mixing tensor elements and bytes when doing the calculation. This patch changes the calculation to use a per byte RMS error calculation. Signed-off-by: Colm Donelan Change-Id: If30230a16cfed1a8804b4d54ed1abcd371f26664 --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9eab90afef..3b788cd056 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -835,6 +835,12 @@ if(BUILD_UNIT_TESTS) ) endif() + if(BUILD_TESTS) + list(APPEND unittest_sources + ./tests/NetworkExecutionUtils/NetworkExecutionUtils.cpp + ./tests/NetworkExecutionUtils/test/NetworkExecutionUtilsTests.cpp) + endif() + foreach(lib ${armnnUnitTestLibraries}) message(STATUS "Adding object library dependency to UnitTests: ${lib}") list(APPEND unittest_sources $) -- cgit v1.2.1