Neural network quantification method and system

A technology of neural network and quantitative method, applied in the direction of neural learning method, biological neural network model, neural architecture, etc., can solve the problems of not considering the impact, neural network deviation, reducing the robustness of convolutional neural network, etc., and achieve hardware saving Resources, the effect of improving the computing speed

Pending Publication Date: 2020-05-19
ASR SMART TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, these existing technologies mainly focus on how to quantify the weight parameters and input features of the convolutional neural network, without considering the impact on the calculation process of the original convolutional neural network when it is implemented on hardware after quantization, which leads to differences with the original There is a certain bias in the neural network, which reduces the robustness of the convolutional neural network

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 quantification method and system
  • Neural network quantification method and system
  • Neural network quantification method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and illustrated in the drawings herein may be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of the present invention.

[0052] Se...

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 embodiment of the invention provides a neural network quantization method and a system, and the method comprises the steps: (1) obtaining neural network parameters, carrying out the fusion of a convolution layer and a BN layer in the forward propagation of an original network, so as to obtain a new to-be-quantized weight and a to-be-quantized bias, and storing the activation output data of each layer at the same time; (2) quantizing neural network parameters and data distribution obtained after fusion; and (3) forming a new quantization network by taking the quantization parameter obtainedafter quantization processing as a parameter of forward propagation of the quantized new network. According to the method, various problems caused by too large or too small quantization scaling scaleof the neural network can be effectively balanced, and the operation speed is increased while hardware resources are saved.

Description

Technical field [0001] The invention relates to the field of neural networks, and in particular to a neural network quantification method and system. Background technique [0002] Neural network is one of the core technologies that have made significant progress in artificial intelligence technology in recent years. With the continuous increase in computing power, the rapid development of the Internet and the Internet of Things has also provided massive amounts of data. For this reason, people have developed various Complicated neural network calculation methods and models have made remarkable progress in intelligence. [0003] As the algorithm becomes more and more complex, the requirements for the computing power of the device are also higher and higher. For some scenarios, such as mobile terminals, wearable devices, offline computing, edge computing and other scenarios, the intelligentization brings more A big challenge. Therefore, for these scenarios, the quantification or acc...

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/04G06N3/08
CPCG06N3/082G06N3/045
Inventor 韩璐
Owner ASR SMART 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