Skip to main content
RKopp.12
Associate II
February 5, 2019
Question

Is Cube-AI based on ARM CMSIS-NN?

  • February 5, 2019
  • 2 replies
  • 2291 views

How Cube-AI is different from ARM CMSIS-NN and ARM NN SDK?

This topic has been closed for replies.

2 replies

ST Employee
February 20, 2019

​Hello,

Currently X-Cube-AI 3.3.0 provides only a support for the floating point model (float32). It provides its own STM32 optimized libraries (mainly based on a ARM Cortex-M with FPU single precision). ARM CMSIS-NN package is only for the fixed-point support (q8, q16) and to use the Cortex-M DSP/SIMD extensions. Future X-Cube-AI release will have a fixed-point support which will be based on the low-level ARM CMSIS-NN functions.

X-Cube-AI vs ARM-NN-SDK?

ARM-NN is actually only an inference engine for CPUs, GPUs and NPUs (ARM Cortex CPUs, ARM Mali GPU,...), it is currently not compatible with Cortex-M microcontrollers. There is not an official Cortex-M support through the ARM-NN-SDK (or derived) on the top of the CMSIS-NN library (model translator or convertor point of view) to generate an optimized C-model implementation.

Best Regards,

Jean-Michel  

RKopp.12
RKopp.12Author
Associate II
February 21, 2019
Thanks Jean. Cheers!
JNord
Associate II
July 20, 2019

In X-CUBE-AI 4.0 there is support for quantized TensorFlow Lite / Keras. But will it use the actually use the SIMD instructions of an M4F if using 8-bit quantization (like CMSIS-NN)?