summaryrefslogtreecommitdiff
path: root/source/application/main/include/UseCaseCommonUtils.hpp
diff options
context:
space:
mode:
authoralexander <alexander.efremov@arm.com>2021-07-06 19:47:59 +0100
committerAlexander Efremov <alexander.efremov@arm.com>2021-07-08 17:30:49 +0100
commit80eecfbdaad689c52d5a6d370a322f3d6a6150e4 (patch)
tree3c7d06d1e9e227981fa072fccab5a360a39ad1d7 /source/application/main/include/UseCaseCommonUtils.hpp
parent1da52aeb4468ad97c09e383400bbabc8c3c77227 (diff)
downloadml-embedded-evaluation-kit-80eecfbdaad689c52d5a6d370a322f3d6a6150e4.tar.gz
MLECO-1987: Minor refactoring.
ASRSlidingWindow can be used in other use-cases, thus it was renamed to decouple from ASR. Signed-off-by: alexander <alexander.efremov@arm.com> Change-Id: I2df977e4f18f490a532e0f27e3625b153ca464d7
Diffstat (limited to 'source/application/main/include/UseCaseCommonUtils.hpp')
-rw-r--r--source/application/main/include/UseCaseCommonUtils.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/application/main/include/UseCaseCommonUtils.hpp b/source/application/main/include/UseCaseCommonUtils.hpp
index d328392..0af22f3 100644
--- a/source/application/main/include/UseCaseCommonUtils.hpp
+++ b/source/application/main/include/UseCaseCommonUtils.hpp
@@ -58,8 +58,13 @@ namespace app {
* @param[in] lineBreakForNumElements number of elements
* after which line break will be added.
**/
- void DumpTensor(TfLiteTensor* tensor,
- const size_t lineBreakForNumElements = 16);
+ void DumpTensor(const TfLiteTensor* tensor,
+ size_t lineBreakForNumElements = 16);
+
+
+ void DumpTensorData(const uint8_t* tensorData,
+ size_t size,
+ size_t lineBreakForNumElements = 16);
#endif /* VERIFY_TEST_OUTPUT */
/**