Neural network quantification method and device and computer readable storage medium

A technology of neural network and quantization method, applied in computer-readable storage media, neural network quantization method, and device fields, can solve problems such as loss of precision, and achieve high quantization accuracy and good quantization effect
CN111401518APending Publication Date: 2020-07-10CANAAN BRIGHT SIGHT CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CANAAN BRIGHT SIGHT CO LTD
Publication Date
2020-07-10

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a neural network quantification method and device, and a computer readable storage medium. The method comprises the steps of determining distribution data of activation output of a target network layer of a neural network according to a correction data set; determining the target quantization range of the target network layer according to the distribution data; and performing fixed-point quantization on the target network layer according to the target quantization range and the target quantization bit width. By utilizing the method, the precision loss in neural network quantization can be reduced, and a better quantization effect is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention belongs to the field of neural network calculation, and in particular relates to a neural network quantization method, device and computer-readable storage medium. Background technique

[0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section.

[0003] In recent years, with the rapid development of deep learning, deep learning has been proved to have good results in tasks including image classification (Image Classification), object detection (Object Detection), natural language processing (Natural Language Processing) and so on. Deep learning uses a large amount of data to train a neural network model with functions such as analysis and prediction. However, as the scale of the neural network model increases, more storage resources, bandwidth resources, and computing resourc...

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