diff options
author | Richard Burton <richard.burton@arm.com> | 2022-04-13 11:58:28 +0100 |
---|---|---|
committer | Richard Burton <richard.burton@arm.com> | 2022-04-13 11:58:28 +0100 |
commit | e6398cd54642a6a420b14003ad62309448dd724e (patch) | |
tree | 8c72ae7fcc7badb4ae161d07ef63eda38f6ff65e /tests/use_case | |
parent | 7e56d8f55c770204deaa2de644990828b9ff083b (diff) | |
download | ml-embedded-evaluation-kit-e6398cd54642a6a420b14003ad62309448dd724e.tar.gz |
MLECO-3075: Add KWS use case API
Removed some of the templates for feature calculation that we are unlikely to ever use.
We might be able to refactor the feature caching and feature calculator code in the future
to better integrate it with with PreProcess API.
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: Ic0c0c581c71e2553d41ff72cd1ed3b3efa64fa92
Diffstat (limited to 'tests/use_case')
-rw-r--r-- | tests/use_case/kws/KWSHandlerTest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/use_case/kws/KWSHandlerTest.cc b/tests/use_case/kws/KWSHandlerTest.cc index d0a8a3f..c24faa4 100644 --- a/tests/use_case/kws/KWSHandlerTest.cc +++ b/tests/use_case/kws/KWSHandlerTest.cc @@ -67,7 +67,7 @@ TEST_CASE("Inference by index") auto checker = [&](uint32_t audioIndex, std::vector<uint32_t> labelIndex) { - caseContext.Set<uint32_t>("audioIndex", audioIndex); + caseContext.Set<uint32_t>("clipIndex", audioIndex); std::vector<std::string> labels; GetLabelsVector(labels); |