Unlock instant, AI-driven research and patent intelligence for your innovation.

Neural network fixed-point method and device, electronic equipment and readable storage medium

A neural network and fixed-point technology, which is applied in the field of deep learning, can solve the problems of low fixed-point performance of the neural network and does not consider the impact of the post-layer, and achieve the effect of improving performance

Pending Publication Date: 2021-07-16
HANGZHOU HIKVISION DIGITAL TECH
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the current fixed-point neural network scheme, a certain number of sample pictures are input to the original model at one time, and the forward operation of the model records the data distribution of the eigenvalues ​​output by each layer, and then calculates the fixed-points of the eigenvalues ​​output by each layer respectively. The hyperparameters are optimized, and the impact of the fixed-point of the front layer on the back layer is not considered, and the performance of the fixed-point neural network is low.

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
  • Neural network fixed-point method and device, electronic equipment and readable storage medium
  • Neural network fixed-point method and device, electronic equipment and readable storage medium
  • Neural network fixed-point method and device, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0047] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.

[0048] In order to enable those skilled ...

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 provides a neural network fixed-point method and device, electronic equipment and a readable storage medium, and the method comprises the steps: for a to-be-fixed unit of the neural network, based on data distribution of characteristic values output by the to-be-fixed unit under the condition that a fixed-point unit of the neural network is kept in a fixed-point state, determining a fixed-point hyper-parameter of the characteristic value output by the to-be-fixed unit; and based on the fixed-point hyper-parameter, carrying out fixed-point processing on the characteristic value output by the unit to be subjected to fixed-point processing. The method can improve the fixed-point performance of the neural network.

Description

technical field [0001] The present application relates to deep learning technology, and in particular to a neural network fixed-point method, device, electronic equipment and readable storage medium. Background technique [0002] Fixed-point neural network is a commonly used model acceleration algorithm. By quantizing the weight parameters of the model and the output feature values ​​into fixed-bit numbers, such as 8bit, 16bit or extremely low 1, 2bit, it can be well solved in Problems such as complex multiplication and accumulation calculations and huge bandwidth brought by floating-point data on the hardware. The lower the number of bits quantized by the model, the more obvious the acceleration of the model on the hardware. [0003] In the current fixed-point neural network scheme, a certain number of sample pictures are input to the original model at one time, and the forward operation of the model records the data distribution of the eigenvalues ​​output by each layer, ...

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): G06N3/02G06N3/08
CPCG06N3/02G06N3/08
Inventor 浦世亮彭博李哲暘谭文明
Owner HANGZHOU HIKVISION DIGITAL TECH