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/use_case/asr/AsrClassifierTests.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/use_case/asr/AsrClassifierTests.cc')
-rw-r--r-- | tests/use_case/asr/AsrClassifierTests.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/use_case/asr/AsrClassifierTests.cc b/tests/use_case/asr/AsrClassifierTests.cc index 12523aa..e2bfb18 100644 --- a/tests/use_case/asr/AsrClassifierTests.cc +++ b/tests/use_case/asr/AsrClassifierTests.cc @@ -30,7 +30,7 @@ TEST_CASE("Test invalid classifier") TEST_CASE("Test valid classifier UINT8") { - const int dimArray[] = {4, 1, 1, 246, 29}; + int dimArray[] = {4, 1, 1, 246, 29}; std::vector <std::string> labels(29); std::vector <uint8_t> outputVec(7134); TfLiteIntArray* dims= tflite::testing::IntArrayFromInts(dimArray); @@ -46,7 +46,7 @@ TEST_CASE("Test valid classifier UINT8") { TEST_CASE("Get classification results") { - const int dimArray[] = {4, 1, 1, 10, 15}; + int dimArray[] = {4, 1, 1, 10, 15}; std::vector <std::string> labels(15); std::vector<uint8_t> outputVec(150, static_cast<uint8_t>(1)); TfLiteIntArray* dims= tflite::testing::IntArrayFromInts(dimArray); |