数据处理方法、介质及电子设备

By using the multiplication coefficients of the quantized multiplication operator as fixed-point scaling coefficients, the problem of large errors in the quantized multiplication operator is solved, thus improving the data processing accuracy of the neural network model.

CN116339678BActive Publication Date: 2026-07-17ARM TECH CHINA CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ARM TECH CHINA CO LTD
Filing Date
2023-03-27
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

When using quantized multiplication operators for data processing, there is a problem of large error in the results, which leads to a decrease in the accuracy of neural network models.

Method used

By obtaining the floating-point scaling factor and its reciprocal of the multiplication relation coefficients in the multiplication operator, and quantizing them into fixed-point scaling factors, the fixed-point multiplication relation coefficients are obtained and used to calculate the multiplication operator, thus avoiding the computational difficulties caused by infinitely large or infinitely small denominators in the floating-point domain.

Benefits of technology

This effectively ensures the data processing accuracy of the integration operator and improves the data processing accuracy of the neural network model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116339678B_ABST
    Figure CN116339678B_ABST
Patent Text Reader

Abstract

本申请涉及人工智能技术领域,特别涉及一种数据处理方法、介质及电子设备。该方法包括:获取神经网络模型在运行的过程中,求积算子中的乘法关系系数的第一浮点缩放系数、第二浮点缩放系数、以及连乘元素数量;分别对第一浮点缩放系数的倒数和第二浮点缩放系数进行量化,得到第一定点缩放系数的第一缩放参数和第二定点缩放系数的第二缩放参数;基于第一定点缩放系数的第一缩放参数、第二定点缩放系数的第二缩放参数、以及连乘元素数量,得到乘法关系系数的定点乘法关系系数;基于定点乘法关系系数,对求积算子进行计算。基于此,避免在浮点域中,将乘法关系系数定点化后得到的定点乘法关系系数的误差较大,而导致神经网络模型运行准确度下降的问题。
Need to check novelty before this filing date? Find Prior Art