Data processing method of neural network processor and neural network processor

A neural network and data processing technology, applied in the field of neural network processors and data processing of neural network processors, can solve the problems of high data storage requirements and bandwidth requirements, low computing efficiency, etc., to reduce storage requirements and bandwidth requirements, The effect of improving computational efficiency and improving quantification efficiency

Active Publication Date: 2016-08-10
HUAWEI TECH CO LTD
View PDF5 Cites 61 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a data processing method of a neural network processor and a neural network processor to solve the problems of high data storage requirements and bandwidth requirements and low computational efficiency in existing processing methods

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
  • Data processing method of neural network processor and neural network processor
  • Data processing method of neural network processor and neural network processor
  • Data processing method of neural network processor and neural network processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments in the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the embodiments of the present invention.

[0030]Embodiments of the present invention provide a data processing method of a neural network processor and a neural network processor, which can be applied to scenarios where data such as image data, voice data, and video data need to be calculated by a neural network, and the received data is used as i...

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 data processing method of a neural network processor and a neural network processor. The method includes the following steps that: input data and corresponding weight absolute values are added together through an adder, wherein the input data are data of the output of a previous stage, and the input data and the weight absolute values are n-element vectors; and n-term data obtained after adding the input data and the corresponding weight absolute values together are subjected to n times of first nonlinear mapping; results obtained after the first nonlinear mapping are subjected to n times of accumulation operation through an accumulator, wherein the accumulation operation includes weight sign bit-controlled adding operation and subtraction operation; and a result obtained after the n times of accumulation operation is subjected to second nonlinear mapping, so that a processing result can be obtained, and data output is carried out, wherein the second nonlinear mapping is formulated according to the rules of neural network nonlinear mapping and the inverse mapping of the first nonlinear mapping. With the method adopted, quantization efficiency can be improved, and storage requirements and bandwidth requirements of data can be decreased.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of electronic chips, and in particular to a data processing method of a neural network processor and the neural network processor. Background technique [0002] Neural networks and deep learning algorithms have been very successfully applied and are in the process of rapid development. The industry generally expects that new computing methods will help realize more common and complex intelligent applications. Neural networks and deep learning algorithms have made outstanding achievements in the field of image recognition applications in recent years. Therefore, the industry has begun to pay attention to the optimization and high-efficiency implementation of neural networks and deep learning algorithms, such as facebook, Qualcomm, baidu, google and other companies All have invested in the research of neural network optimization algorithms. Qualcomm has released a plan to integrate n...

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/06
CPCG06N3/063
Inventor 费旭东
Owner HUAWEI 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