TensorFlow Lite Micro on CM
Microcontrollers power the world around us.
They come with low memory resources and high requirements for energy efficiency. At the same time, they are expected to perform advanced machine learning interference in real time.
In the embedded space, countless engineers are working to solve this challenge.
The powerful Arm Cortex-M-based microcontrollers are a dedicated platform, optimized to run energy-efficient ML.
Arm and the TensorFlow Lite Micro (TFLM) team have a long-running collaboration to enable optimized inference of ML models on a variety of Arm microcontrollers.
Additionally, with well-established technologies like CMSIS-Pack, the TFLM library is ready to run on to 10000+ different Cortex-M microcontroller devices with almost no integration effort.
Combining these two offers a great variety of platforms and configurations. In this article, we will describe how we have collaborated with the TFLM team to use Arm Virtual Hardware (AVH) as part of the TFLM projects open-source continuous integration (CI) framework to verify many Arm-based processors with TFLM.
This enables developers to test their projects on Arm intellectual property IP without the additional complexity of maintaining hardware.
Arm Virtual Hardware - Models for all Cortex-M microcontrollers
Arm Virtual Hardware (AVH) is a new way to host Arm IP models that can be accessed remotely. In an ML context, it offers a platform to test models without requiring the actual hardware. The following Arm M-profile processors are currently available through AVH:
Cortex-M0, Cortex-M0+
Cortex-M3, Cortex-M4, Cortex-M7
Cortex-M23, Cortex-M33
Arm Corstone is another virtualization technology, in the form of a silicon IP subsystem, helping developers verify and integrate their devices. The Corstone framework builds the foundation for many modern Cortex-M microcontrollers. AVH supports multiple platforms including Corstone-300, Corstone-310 and Corstone-1000.
Through Arm Virtual Hardware, these building blocks are available as Amazon Machine Image (AMI) on Amazon Web Services (AWS) Marketplace and locally through Keil MDK-Professional.
GitHub Actions and Arm Virtual Hardware
GitHub Actions provides a popular CI solution for open-source projects, including TensorFlow Lite Micro. The AVH technology can be integrated with the GitHub Actions runner and that can be used to run tests on the different Arm platforms as natively compiled code without the need to have the hardware available.
Let’s get into how it’s done!
相关文章
- github开发人员在七夕搞事情:remote: Support for password authentication was removed on August 13, 2021.
- ORA-30041: Cannot grant quota on the tablespace ORACLE 报错 故障修复 远程处理
- ORA-38432: EVALUATE operator only allowed on an expression column ORACLE 报错 故障修复 远程处理
- ORA-02347: cannot grant privileges on columns of an object table ORACLE 报错 故障修复 远程处理
- ORA-15324: requested operation is not allowed on the password file string ORACLE 报错 故障修复 远程处理
- 解决Eclipse报errors running builder ‘javascript validator’ on project详解编程语言
- workbenchMySQL Workbench on Windows: Getting Started(mysqlwindow)
- The Impact of LargeSized Redis on System Performance(lsizeredis)
- Boost Your File Compression Efficiency with 7z on Linux(7zlinux)
- MySQL中如何使用ON语句(mysql中 on怎么用)
- Oracle中ON关键字的精彩运用(oracle中on的使用)
- Oracle中妙用ON子句优化SQL查询(oracle on子句)