Product overview
Key Benefits
NN and ML models optimization
Import your own neural network models, select optimization options, and generate the optimized C code.
NN and ML models profiling
Generates report that details the NN memory requirements and the inference time, both for the complete network and for each layer.
Part of the ST Edge AI Suite
A collection of free online tools, case studies, and resources to support engineers at every stage of their edge AI development.
Description
X-CUBE-AI is an STM32Cube Expansion Package designed to evaluate, optimize, and compile edge AI models for STM32 microcontrollers and the Neural-ART Accelerator. When optimizing NN models for the Neural-ART Accelerator NPU, the tool generates the microcode that maps AI operations to the NPU when possible, falling back to CPU when necessary. This scheduling is performed at the operator level to maximize AI hardware acceleration. X-CUBE-AI is part of the STM32Cube.AI ecosystem and extends STM32CubeMX capabilities by automatically converting pretrained artificial intelligence algorithms into C code. It also integrates a generated optimized library into the user's project.
The easiest way to use X-CUBE-AI is to download it inside the STM32CubeMX tool (version 5.4.0 or newer) as described in the user manual "Getting started with X-CUBE-AI Expansion Package for artificial intelligence (AI)" (UM2526).
The X-CUBE-AI Expansion Package also offers several means to validate artificial intelligence algorithms both on a desktop PC and an STM32. With X-CUBE-AI, it is also possible to measure performance on STM32 devices without any user-specific handmade C code.
ST Edge AI Suite
X-CUBE-AI is part of STMicroelectronics ST Edge AI Suite, which is an integrated collection of software tools designed to facilitate the development and deployment of embedded AI applications. This comprehensive suite supports both optimization and deployment of machine learning algorithms and neural network models, from data collection to the final deployment on hardware, streamlining the workflow for professionals across various disciplines.
The ST Edge AI Suite supports various STMicroelectronics products: STM32 microcontrollers and microprocessors, Neural-ART Accelerator, Stellar microcontrollers, and smart sensors.
The ST Edge AI Suite represents a strategic move to democratize edge AI technology, making it a pivotal resource for developers looking to harness the power of AI in embedded systems efficiently and effectively.
-
All features
- Generation of an STM32-optimized library from pretrained neural network and classical machine learning (ML) models
- Support for STMicroelectronics Neural-ART Accelerator neural processing unit (NPU) for AI/ML model acceleration in hardware
- Native support for various deep learning frameworks such as Keras and TensorFlow™ Lite, and support for all frameworks that can export to the ONNX standard format such as PyTorch™, MATLAB®, and more
- Support for various built-in scikit-learn models such as isolation forest, support vector machine (SVM), and K-means via ONNX
- Support for 32-bit float and 8-bit quantized neural network formats (TensorFlow™ Lite and ONNX Tensor-oriented QDQ)
- Support for deeply quantized neural networks (down to 1-bit) from QKeras and Larq
- Relocatable option enabling standalone model update during the product life cycle by creating a model binary code separated from the application code
- Possibility to use larger networks by storing weights in external flash memory and activation buffers in external RAM
- Easy portability across different STM32 microcontroller series through STM32Cube integration
- With a TensorFlow™ Lite neural network, code generation using either the STM32Cube.AI runtime or TensorFlow™ Lite for Microcontrollers runtime
- Free-of-charge, user-friendly license terms