Model quantification method and device, electronic equipment and storage medium

A quantization method and technology of electronic equipment, applied in the field of artificial intelligence, can solve problems such as poor quantification effect, achieve a good effect of improving model reasoning speed and guaranteeing model speed

Pending Publication Date: 2022-05-06
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present disclosure provides a neural network model quantification method, device, electronic equipment and storage medium to at least solve the problem of poor quantification effect in the neural network model quantification method in the related art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Model quantification method and device, electronic equipment and storage medium
  • Model quantification method and device, electronic equipment and storage medium
  • Model quantification method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0068] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a model quantification method and device, electronic equipment and a storage medium. The method comprises the steps that a quantification model set is acquired; the quantization model set comprises at least two quantization models; the quantization model is obtained by quantizing at least one target network layer in a to-be-quantized model; determining fitness corresponding to each quantitative model; the fitness is used for representing performance improvement of the quantitative model; the performance improvement of the quantitative model is determined according to the difference between the model performance of the quantitative model and the model performance of a preset model; the preset model is obtained by quantizing each network layer in the to-be-quantized model; the model performance comprises model speed and model precision; and performing genetic algorithm optimization on the quantization strategy parameters corresponding to the quantization models according to the fitness corresponding to the quantization models to obtain a target quantization model. According to the invention, the quantification effect of the neural network model can be improved.

Description

technical field [0001] The present disclosure relates to the technical field of artificial intelligence, and in particular to a model quantification method, device, electronic equipment and storage medium. Background technique [0002] Artificial intelligence algorithms are widely used in short video special effects, content understanding, recommendation systems and other fields. The application of artificial intelligence algorithms in the industry requires three elements: algorithms, data, and computing power; among them, computing power occupies expensive operating costs, so it is becoming more and more important to improve the reasoning speed of algorithms. [0003] In the inference stage of deep learning algorithms, related technologies often map all the weights and activation values ​​expressed in floating-point data format in the neural network model to integer data format, so as to realize the quantization of the neural network model and improve the accuracy of the ne...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q10/04G06N3/08G06N3/04
CPCG06Q10/04G06N3/08G06N3/045
Inventor 门春雷梁志伟黄仁杰
Owner BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products