This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Which CMSIS-DSP parts are used by CMSIS-NN

Which parts of CMSIS-DSP are used for CMSIS-NN? I'm asking because I want to disable as much options as possible of the CMSIS-DSP.

Parents
  • CMSIS-NN is a lib accelerating neural network kernels that can help TFLM and TVM accelerate inference while CMSIS-DSP is a lib for more mathematical calculations. ARM_MATH_MVEI and ARM_MATH_DSP flags are defined automatically (in arm_math_types.h) depending on the CPU for which you compile and based upon compiler #defines. But generally, both are defined since your core kernels can have a vector part using MVEI extensions and a scalar part using DSP extension. You can disable either using these flag options. 

Reply
  • CMSIS-NN is a lib accelerating neural network kernels that can help TFLM and TVM accelerate inference while CMSIS-DSP is a lib for more mathematical calculations. ARM_MATH_MVEI and ARM_MATH_DSP flags are defined automatically (in arm_math_types.h) depending on the CPU for which you compile and based upon compiler #defines. But generally, both are defined since your core kernels can have a vector part using MVEI extensions and a scalar part using DSP extension. You can disable either using these flag options. 

Children