File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -90,4 +90,9 @@ if(CONFIG_CMSIS_NN)
9090 zephyr_library_sources(${SRC} )
9191 endif ()
9292
93+ if (CONFIG_CMSIS_NN_PAD)
94+ file (GLOB SRC "${CMSIS_NN_DIR} /Source/PadFunctions/*_s8.c" )
95+ zephyr_library_sources(${SRC} )
96+ endif ()
97+
9398endif ()
Original file line number Diff line number Diff line change @@ -78,6 +78,11 @@ config CMSIS_NN_LSTM
7878 help
7979 This option enables the NN libraries for Long Short-Term Memory.
8080
81+ config CMSIS_NN_PAD
82+ bool "Pad"
83+ help
84+ This option enables the NN libraries for the pad layers.
85+
8186config CMSIS_NN_TRANSPOSE
8287 bool "Transpose"
8388 help
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ config TENSORFLOW_LITE_MICRO_CMSIS_NN_KERNELS
2929 select CMSIS_NN_SVD
3030 select CMSIS_NN_LSTM
3131 select CMSIS_NN_TRANSPOSE
32+ select CMSIS_NN_PAD
3233 help
3334 This option adds support for CMSIS-NN optimized kernels when using TensorFlow Lite Micro.
3435
You can’t perform that action at this time.
0 commit comments