diff options
Diffstat (limited to 'applications')
-rw-r--r-- | applications/CMakeLists.txt | 8 | ||||
-rw-r--r-- | applications/inference_process/include/inference_parser.hpp | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/applications/CMakeLists.txt b/applications/CMakeLists.txt index 1f6f6aa..b99764a 100644 --- a/applications/CMakeLists.txt +++ b/applications/CMakeLists.txt @@ -1,6 +1,5 @@ # -# SPDX-FileCopyrightText: Copyright 2019-2022 Arm Limited and/or its affiliates <open-source-office@arm.com> -# +# SPDX-FileCopyrightText: Copyright 2019-2022, 2024 Arm Limited and/or its affiliates <open-source-office@arm.com> # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the License); you may @@ -16,5 +15,10 @@ # limitations under the License. # +# +# Compile options +# +add_compile_options(-Werror) + # Build inference process add_subdirectory(inference_process) diff --git a/applications/inference_process/include/inference_parser.hpp b/applications/inference_process/include/inference_parser.hpp index 1251648..a4168f0 100644 --- a/applications/inference_process/include/inference_parser.hpp +++ b/applications/inference_process/include/inference_parser.hpp @@ -1,6 +1,5 @@ /* - * SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com> - * + * SPDX-FileCopyrightText: Copyright 2022-2024 Arm Limited and/or its affiliates <open-source-office@arm.com> * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may @@ -137,6 +136,9 @@ private: case tflite::TensorType::TensorType_FLOAT32: size = 4; break; + case tflite::TensorType::TensorType_INT64: + size = 8; + break; default: printf("Warning: Unsupported tensor type\n"); return true; |