commit | 7bbf56598010041ea46c3fa9d32604db777ee26e | [log] [tgz] |
---|---|---|
author | Adam Jalkemo <adam.jalkemo@arm.com> | Tue Oct 18 16:56:09 2022 +0200 |
committer | TeresaARM <teresa.charlinreyes@arm.com> | Tue Oct 18 16:17:21 2022 +0000 |
tree | 3c4e023e87d797e3129c051cb4f4fb1a908c654c | |
parent | fcc72f53c56683fe697ac23662c49af09048a428 [diff] |
ExecuteNetwork: Fix output format issue for int8 when using -w Change-Id: I594ded82493e9cc48cafa6f00d63769fefba5afe
diff --git a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp index 14d7fe5..acdef0f 100644 --- a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp +++ b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp
@@ -175,7 +175,10 @@ if (outputTensorFile.is_open()) { outputTensorFile << outputName << ": "; - std::copy(array, array + numElements, std::ostream_iterator<T>(outputTensorFile, " ")); + for (std::size_t i = 0; i < numElements; ++i) + { + outputTensorFile << +array[i] << " "; + } } else {