Kazutaka Kikuchi
Kazutaka Kikuchi
Principal Specialist
Published: February 3, 2023

Have you ever found it difficult to implement an AI model in an embedded device? 
I would like to introduce DRP-AI TVM[1] for easy porting of AI models.

In recent years, the implementation of AI in embedded devices such as surveillance cameras, traffic monitoring systems, robots, and drones has been increasing. Unlike the cloud environment, embedded devices have many considerations such as HW performance and restrictions in cost and power consumption, making AI implementation difficult. By using the AI-MPU RZ/V series, which implements Renesas' low-power AI accelerator DRP-AI, most of the hardware implementation issues can be resolved.

When users implement AI models into MPUs, they can use the DRP-AI translator to convert AI models into DRP-AI executable format. However, we received feedback from some users about the difficulty of implementation.

The main reasons are two.

  1. AI model format supported by the DRP-AI translator is ONNX only.
  2. If non-supported AI model operators are included in AI models, the DRP-AI translator cannot convert it into an executable format.

Renesas has asked users to handle such cases themselves, which has caused a burden on some users. We released DRP-AI TVM to solve the issues and to improve user experience.

DRP-AI TVM is the tool that added DRP-AI support on an open-source ML compiler Apache TVM. Using DRP-AI TVM, AI model operators non-supported by DRP-AI translator can be automatically allocated to CPUs to implement more AI models into RZ/V products easily. DRP-AI TVM supports not only ONNX, and other AI frameworks such as Poarch and TensorFlow, etc.

Furthermore, as with the conventional DRP-AI translator flow, DRP-AI can handle the pre-processing of AI inference, enabling total AI performance improvement, including pre-processing.

DRP-AI TVM structure

DRP-AI TVM structure

AI model operators’ allocation by DRP-AI TVM

Auto AI model operators’ allocation by DRP-AI TVM

DRP-AI TVM is public on GitHub for users to ease to access. Users can find sufficient information to use DRP-AI TVM on GitHub, such as the tutorial, sample code, and a variety of AI model performances. The tutorial includes steps from building the environment to AI inference on an evaluation board, and customers can use these steps to evaluate their AI models easily. Renesas will continue to strive for UX improvements to make it easier for customers to use Renesas products.


[1] DRP-AI TVM is powered by Edgecortix MERATM Compiler Framework.
[2] RZ/V series introduction
[3] Renesas info wiki RZ/V series
[4] DRP-AI introduction
[5] DRP-AI TVM GitHub
[6] DRP-AI TVM Tutorial
[7] Evaluation kit purchase:
   • RZ/V2L Evaluation Board Kit
   • RZ/V2M Evaluation Board Kit
   • RZ/V2MA Evaluation Board Kit

Share this news on

Share this news on