Quantitative calculation method and system for convolutional neural network

A convolutional neural network and calculation method technology, applied in the field of neural network algorithm hardware implementation, can solve problems such as low accuracy, large array power consumption, and insufficient computing power, so as to improve speed, reduce calculation power consumption, and increase The effect of throughput
CN110991608AActive Publication Date: 2020-04-10HEFEI HENGSHUO SEMICON CO LTD

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
HEFEI HENGSHUO SEMICON CO LTD
Publication Date
2020-04-10

Smart Images

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

Abstract

The invention relates to the field of neural network algorithm hardware implementation, and discloses a quantitative calculation method and system for a convolutional neural network. The quantitativecalculation method comprises the steps of: allowing all calculation layers of a convolutional neural network to be respectively matched and quantized in a multi-valued quantification mode and a multi-bit quantification mode according to the calculation precision and calculation capability requirements, allowing the calculation layers after multi-bit quantification to be mapped to a high-precisionarray, and carrying out high-precision calculation; and mapping the calculation layers after multi-bit quantification to a high-calculation-power array, performing high-calculation-power calculation,and completing calculation of the convolutional neural network according to a high-precision calculation result and a high-calculation-power calculation result in combination with non-calculation layers. According to the invention, the reasoning speed of the convolutional neural network is increased; the accuracy is ensured; meanwhile, the network power consumption is reduced as much as possible;and high practical value and wide application prospect are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of neural network algorithm hardware implementation, in particular to a convolutional neural network quantization calculation method and system. Background technique

[0002] Convolutional neural networks have shown great advantages in image recognition, object detection, and many machine learning applications. The convolutional neural network is mainly composed of a convolutional layer, a pooling layer, and a fully connected layer cascade. It mainly has the following operations, namely, the convolution operation between the pixel block and the convolution kernel, the activation operation for introducing nonlinearity, The downsampling operation (i.e., pooling) and full connection operation on the feature map to reduce the feature value. Among them, most of the calculations are in the convolutional layer and the fully connected layer.

[0003] Large-scale convolutional neural networks have huge parameter se...

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