diff options
author | alexander <alexander.efremov@arm.com> | 2022-02-11 13:23:22 +0000 |
---|---|---|
committer | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2022-02-11 18:11:35 +0000 |
commit | cb8a987ce714283b66db49d1bc9d5b108caaa707 (patch) | |
tree | b00f86587c8b15d0391691d415220b2bbbcf6ea9 /scripts/cmake/tensorflow.cmake | |
parent | 31ae9f09bb3535975595e999fbc7baca889e46e8 (diff) | |
download | ml-embedded-evaluation-kit-cb8a987ce714283b66db49d1bc9d5b108caaa707.tar.gz |
MLECO-2752: Minor refactoring for native global steps.
And further optimisations of extendability for platform build
steps. Added a list for excluded use-cases.
Change-Id: I5a9398bbeb595a5bf2ea39b81623e4f20238f948
Signed-off-by: alexander <alexander.efremov@arm.com>
Diffstat (limited to 'scripts/cmake/tensorflow.cmake')
-rw-r--r-- | scripts/cmake/tensorflow.cmake | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/scripts/cmake/tensorflow.cmake b/scripts/cmake/tensorflow.cmake index 9a4066d..9d72405 100644 --- a/scripts/cmake/tensorflow.cmake +++ b/scripts/cmake/tensorflow.cmake @@ -1,5 +1,5 @@ #---------------------------------------------------------------------------- -# Copyright (c) 2021 Arm Limited. All rights reserved. +# Copyright (c) 2021 - 2022 Arm Limited. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -65,22 +65,6 @@ else() DESTINATION ${TENSORFLOW_LITE_MICRO_PATH}/tools/make/targets/) endif() -#TODO: this thing fails the TF build, when the driver is compiled, fatal error: 'ethosETHOSU_ARCH_interface.h' file not found -#if (CMAKE_SYSTEM_PROCESSOR STREQUAL cortex-m55) -# set(TENSORFLOW_LITE_MICRO_TARGET "cortex_m_generic") -# set(TENSORFLOW_LITE_MICRO_TARGET_ARCH ${CMAKE_SYSTEM_PROCESSOR}${CPU_FEATURES}) -# if(ETHOS_U_NPU_ENABLED) -# # Arm Ethos-U55 NPU is the co-processor for ML workload: -# set(TENSORFLOW_LITE_MICRO_CO_PROCESSOR "ethos_u") -# endif() -# -# set(TENSORFLOW_LITE_MICRO_OPTIMIZED_KERNEL "cmsis_nn") -# -#else() -# set(TENSORFLOW_LITE_MICRO_TARGET "linux") -# set(TENSORFLOW_LITE_MICRO_TARGET_ARCH x86_64) -#endif() - if (TENSORFLOW_LITE_MICRO_CLEAN_DOWNLOADS) list(APPEND MAKE_TARGETS_LIST "clean_downloads") endif() |