1# Copyright (c) 2021 Intel Corporation 2# Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com> 3# SPDX-License-Identifier: Apache-2.0 4 5config ZEPHYR_TFLITE-MICRO_MODULE 6 bool 7 8config TENSORFLOW_LITE_MICRO 9 bool "TensorFlow Lite Micro Support" 10 select REQUIRES_FULL_LIBCPP 11 help 12 This option enables the TensorFlow Lite Micro library. 13 14if CPU_CORTEX_M 15 16config TENSORFLOW_LITE_MICRO_CMSIS_NN_KERNELS 17 bool "TensorFlow Lite Micro with optimized CMSIS-NN kernels" 18 depends on TENSORFLOW_LITE_MICRO 19 select CMSIS_NN 20 select CMSIS_NN_ACTIVATION 21 select CMSIS_NN_BASICMATH 22 select CMSIS_NN_CONCATENATION 23 select CMSIS_NN_CONVOLUTION 24 select CMSIS_NN_FULLYCONNECTED 25 select CMSIS_NN_NNSUPPORT 26 select CMSIS_NN_POOLING 27 select CMSIS_NN_RESHAPE 28 select CMSIS_NN_SOFTMAX 29 select CMSIS_NN_SVD 30 help 31 This option adds support for CMSIS-NN optimized kernels when using TensorFlow Lite Micro. 32 33endif # CPU_CORTEX_M 34