diff options
author | Richard Burton <richard.burton@arm.com> | 2021-08-12 17:26:30 +0100 |
---|---|---|
committer | Richard Burton <richard.burton@arm.com> | 2021-08-12 17:26:30 +0100 |
commit | 0d110594b8a50ce3311be5187f01de2e3b8fe995 (patch) | |
tree | 1e56414f491f1bbd29df4912e2354ac5e1682133 /tests/common/ClassifierTests.cc | |
parent | d2b9853ca848f11dee55beedbb9d650763b3ed53 (diff) | |
download | ml-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/ClassifierTests.cc')
-rw-r--r-- | tests/common/ClassifierTests.cc | 2 |
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); |