summaryrefslogtreecommitdiff
path: root/tests/common
diff options
context:
space:
mode:
authorRichard Burton <richard.burton@arm.com>2021-08-12 17:26:30 +0100
committerRichard Burton <richard.burton@arm.com>2021-08-12 17:26:30 +0100
commit0d110594b8a50ce3311be5187f01de2e3b8fe995 (patch)
tree1e56414f491f1bbd29df4912e2354ac5e1682133 /tests/common
parentd2b9853ca848f11dee55beedbb9d650763b3ed53 (diff)
downloadml-embedded-evaluation-kit-0d110594b8a50ce3311be5187f01de2e3b8fe995.tar.gz
MLECO-1904: Update to use latest TFLu
* Now uses seperate TFLu github repo * Fixes to align with API changes * Update ASR model ops and re-enable ASR inference tests * Set default release level to release_with_logs Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I57612088985dece1413c5c00a6e442381e07dd91
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common/ClassifierTests.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/ClassifierTests.cc b/tests/common/ClassifierTests.cc
index a04e4c2..d950304 100644
--- a/tests/common/ClassifierTests.cc
+++ b/tests/common/ClassifierTests.cc
@@ -21,7 +21,7 @@
template<typename T>
void test_classifier_result(std::vector<std::pair<uint32_t, T>>& selectedResults, T defaultTensorValue) {
- const int dimArray[] = {1, 1001};
+ int dimArray[] = {1, 1001};
std::vector <std::string> labels(1001);
std::vector<T> outputVec(1001, defaultTensorValue);
TfLiteIntArray* dims= tflite::testing::IntArrayFromInts(dimArray);