diff options
author | Matthew Sloyan <matthew.sloyan@arm.com> | 2022-05-11 12:22:08 +0100 |
---|---|---|
committer | Matthew Sloyan <matthew.sloyan@arm.com> | 2022-05-11 17:47:02 +0100 |
commit | dd44d29775e53ad311e1997bb8a7670d0ee6383e (patch) | |
tree | 6c230b4769cc17c76bf365cbc052004d8e85cb69 /source/use_case/ad/src | |
parent | 0bc74e9674eb161342fabd0ba83c4c87b45ecd84 (diff) | |
download | ml-embedded-evaluation-kit-dd44d29775e53ad311e1997bb8a7670d0ee6383e.tar.gz |
MLECO-3187: Remove NPU op inclusion checks
* If an optimized model is accidentally supplied with Ethos-U support
disabled it will return from the model.Init() function before it gets
to these checks so they are redundant.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Ibe25531347ce29cb0866a9cc087c7267673ab4da
Diffstat (limited to 'source/use_case/ad/src')
-rw-r--r-- | source/use_case/ad/src/MainLoop.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/use_case/ad/src/MainLoop.cc b/source/use_case/ad/src/MainLoop.cc index e9f7b4e..c9d763c 100644 --- a/source/use_case/ad/src/MainLoop.cc +++ b/source/use_case/ad/src/MainLoop.cc @@ -68,14 +68,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 (model.ContainsEthosUOperator()) { - printf_err("No driver support for Ethos-U operator found in the model.\n"); - return; - } -#endif /* ARM_NPU */ - /* Instantiate application context. */ arm::app::ApplicationContext caseContext; |