跳转到主要内容
瑞萨电子 (Renesas Electronics Corporation) - June is Pride Month, a month to raise awareness of the rights and the culture of the LGBTQ+ community

描述

DRP-AI for RZ/V2H and RZ/V2N supports a feature for efficiently calculating the pruned AI model. The DRP-AI Extension Pack provides a pruning function optimized for RZ/V2H and RZ/V2N. The DRP-AI optimized pruning function can be used in combination with this tool and PyTorch or TensorFlow training code.

What is pruning?

Nodes in a neural network are interconnected as shown in the figure. Methods of reducing the number of parameters by removing weights between nodes or removing nodes are referred to as “pruning”. A neural network to which pruning has not been applied is generally referred to as a dense neural network. And a neural network to which pruning has been applied is generally referred to as a sparse neural network. Applying pruning leads to a slight deterioration in the accuracy of the model but can reduce the power required by hardware and accelerate the inference process.

图像
Dense neural network; after pruning: sparse neural network

How to embed the pruned model

The pruned model can be embedded using DRP-AI TVM. Refer to the DRP-AI TVM page on GitHub for details on TVM.
https://github.com/renesas-rz/rzv_drp-ai_tvm

Note: As shown in the figure, pruning is an optional function. (Dense model also can be embedded.)

图像
DRP-AI Development Environment

特性

  • Pruning functions optimized for RZ/V2H and RZ/V2N
  • Pruning ratio can be specified for balance between accuracy and power efficiency
  • Supports 2 pruning modes for improving accuracy (One Shot/Gradual)

发布信息

DRP-AI Extension Pack Version 1.3.0 is available (Jan 2026)

  • The packaging format has been updated to a wheel, eliminating the need for manual configuration of environment variables.
  • The TensorFlow and PyTorch versions can now be installed separately.

目标设备

类型 文档标题 日期
软件和工具 - 软件
登录后下载 GZ 3.25 MB
1 项目
类型 文档标题 日期
手册 - 软件 PDF 1.78 MB
应用说明 PDF 440 KB
AI 生成的摘要: The guide explains how to measure the processing speed improvements of sparse AI models created by pruning dense models without retraining. It outlines a three-step process: preparing dense and sparse models using PyTorch or TensorFlow, converting them with DRP-AI TVM, and running performance tests on hardware. The document includes example code for pruning with PyTorch and details the operating environment and related resources. It focuses on quickly confirming speed gains from pruning rather than accuracy evaluation.
2 项目

相关评估板和套件

支持社区

支持社区

在线询问瑞萨电子工程社群的技术人员,快速获得技术支持。
浏览文章

知识库

浏览我们的知识库,获取文章、常见问题解答及其他实用资源。
提交工单

提交工单

需要咨询技术性问题或提供非公开信息吗?