Invention Grant
- Patent Title: Hardware environment-based data quantization method and apparatus, and readable storage medium
-
Application No.: US17794110Application Date: 2020-11-16
-
Publication No.: US11748970B2Publication Date: 2023-09-05
- Inventor: Qichun Cao , Yaqian Zhao , Gang Dong , Lingyan Liang , Wenfeng Yin
- Applicant: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
- Applicant Address: CN Jiangsu
- Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
- Current Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
- Current Assignee Address: CN Jiangsu
- Agency: CCOOPER LEGAL GROUP, LLC
- Priority: CN 2010071063.1 2020.01.21
- International Application: PCT/CN2020/117338 2020.11.16
- International Announcement: WO2021/147362A 2021.07.29
- Date entered country: 2022-07-20
- Main IPC: G06V10/00
- IPC: G06V10/00 ; G06V10/28

Abstract:
A hardware environment-based data quantization method includes: parsing a model file under a current deep learning framework to obtain intermediate computational graph data and weight data that are independent of a hardware environment; performing calculation on image data in an input data set through a process indicated by an intermediate computational graph to obtain feature map data; separately performing uniform quantization on the weight data and the feature map data of each layer according to a preset linear quantization method, and calculating a weight quantization factor and a feature map quantization factor (S103); combining the weight quantization factor and the feature map quantization factor to obtain a quantization parameter that makes hardware use shift instead of division; and finally, writing the quantization parameter and the quantized weight data to a bin file according to a hardware requirement so as to generate quantized file data (S105).
Public/Granted literature
- US20230055313A1 HARDWARE ENVIRONMENT-BASED DATA QUANTIZATION METHOD AND APPARATUS, AND READABLE STORAGE MEDIUM Public/Granted day:2023-02-23
Information query