A data processing circuit for neural network

A technology of data processing and data processing devices, applied in the field of neural network data processing, can solve the problems of transmission delay and reduce the efficiency of neural network processors, etc., and achieve the effects of improving computing efficiency, reducing types, and reducing delay

Pending Publication Date: 2019-09-10
HUAWEI TECH CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For every calculation of the neural network layer other than the convolutional layer and the fully connected layer, the data needs to be transmitted back and forth between the neural network processor and the CPU, and the resulting transmission delay greatly reduces the performance of the neural network processor. Efficiency in performing neural network-related calculations

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
  • A data processing circuit for neural network
  • A data processing circuit for neural network
  • A data processing circuit for neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0063] The embodiment of the present invention takes figure 1 An electronic device 100 for neural network calculation is shown as an example. The electronic device 100 includes a processor 102 , a memory 103 and a neural network processor 200 . The electronic device 100 may be a printed circuit board (Printed Circuit Board, PCB), an integrated circuit (Integrated Circuit, IC), or a communication device, such as a mobile phone, a portable computer, and the like. In one implementation, the processor 102, the memory 103 and the neural network processor 200 are arranged on the PCB as three discrete devices; in another implementation, the processor 102, the memory 103 and the neural network processor 200 is integrated or packaged on an IC. It can be understood that the above thr...

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

A data processing circuit relates to the field of digital circuits and comprises a first computing circuit and an input control circuit, wherein the first computing circuit comprises one or more sub-computing circuits, each sub-computing circuit comprises a first addition operation circuit, a multiplication circuit, a first comparison operation circuit and a first nonlinear operation circuit, andthe first nonlinear operation circuit comprises at least one of an exponential operation circuit and a logarithmic operation circuit. The input control circuit is used for controlling the first computing circuit to read input data and input parameters, controlling the operation circuit in the sub computing circuits included in the first computing circuit according to the received first instruction, and operating the input data and the input parameters. The data processing circuit not only can realize basic multiplication and accumulation operation, but also can realize more complex operationsuch as logarithmic operation, exponential operation or power operation through the first nonlinear operation circuit, thereby adapting to calculation of more neural network layers.

Description

technical field [0001] The invention relates to the field of digital circuits, in particular to the data processing of neural networks. Background technique [0002] The neural network processor mainly includes three modules: computing engine, control and storage. In order to adapt to the high-density calculation of the neural network, the calculation engine is usually adapted to the convolutional layer and the fully connected layer that carry more than 90% of the calculation of the neural network, that is, the calculation engine is suitable for the multiplication and accumulation of large amounts of data. For other types of calculations, the neural network processor reports the data to be processed to the CPU (Central Processing Unit, central processing unit), and the CPU sends the obtained data results to the neural network processor after the calculation is completed. For every calculation of the neural network layer other than the convolutional layer and the fully conne...

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/063
CPCG06N3/063G06N3/048G06N3/045G06F7/485G06F7/4876G06F7/556G06F7/76
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