diff options
Diffstat (limited to 'source/use_case/asr/src/MainLoop.cc')
-rw-r--r-- | source/use_case/asr/src/MainLoop.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/use_case/asr/src/MainLoop.cc b/source/use_case/asr/src/MainLoop.cc index 058211a..51b0b18 100644 --- a/source/use_case/asr/src/MainLoop.cc +++ b/source/use_case/asr/src/MainLoop.cc @@ -65,7 +65,7 @@ static uint32_t GetOutputContextLen(const arm::app::Model& model, static uint32_t GetOutputInnerLen(const arm::app::Model& model, uint32_t outputCtxLen); -void main_loop(hal_platform& platform) +void main_loop() { arm::app::Wav2LetterModel model; /* Model wrapper object. */ @@ -99,9 +99,8 @@ void main_loop(hal_platform& platform) GetLabelsVector(labels); arm::app::AsrClassifier classifier; /* Classifier wrapper object. */ - arm::app::Profiler profiler{&platform, "asr"}; + arm::app::Profiler profiler{"asr"}; caseContext.Set<arm::app::Profiler&>("profiler", profiler); - caseContext.Set<hal_platform&>("platform", platform); caseContext.Set<arm::app::Model&>("model", model); caseContext.Set<uint32_t>("clipIndex", 0); caseContext.Set<uint32_t>("frameLength", g_FrameLength); |