diff options
Diffstat (limited to 'source/use_case/kws_asr/src/MainLoop.cc')
-rw-r--r-- | source/use_case/kws_asr/src/MainLoop.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/use_case/kws_asr/src/MainLoop.cc b/source/use_case/kws_asr/src/MainLoop.cc index 2365264..bba4480 100644 --- a/source/use_case/kws_asr/src/MainLoop.cc +++ b/source/use_case/kws_asr/src/MainLoop.cc @@ -85,14 +85,6 @@ void main_loop() return; } -#if !defined(ARM_NPU) - /* If it is not a NPU build check if the model contains a NPU operator */ - if (kwsModel.ContainsEthosUOperator()) { - printf_err("No driver support for Ethos-U operator found in the KWS model.\n"); - return; - } -#endif /* ARM_NPU */ - /* Initialise the asr model using the same allocator from KWS * to re-use the tensor arena. */ if (!asrModel.Init(arm::app::tensorArena, @@ -107,14 +99,6 @@ void main_loop() return; } -#if !defined(ARM_NPU) - /* If it is not a NPU build check if the model contains a NPU operator */ - if (asrModel.ContainsEthosUOperator()) { - printf_err("No driver support for Ethos-U operator found in the ASR model.\n"); - return; - } -#endif /* ARM_NPU */ - /* Instantiate application context. */ arm::app::ApplicationContext caseContext; |