Data operation circuit, data processing device, chip, card board and electronic equipment

A data processing device and computing circuit technology, applied in the field of data processing, can solve problems such as low effective computing power, poor processing ability, and inability to process, and achieve the effects of low power consumption, high integration, and small area

Pending Publication Date: 2021-04-16
STREAM COMPUTING INC
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

From the perspective of application fields, there are two main routes for chips: one is the general-purpose chip route, such as the central processing unit (Centre Processing Unit, CPU), etc., which can provide great flexibility, but have effective computing power when dealing with specific field algorithms. The other is a dedicated chip route, such as tensor processing unit (TPU), etc., which can exert high effective computing power in some specific fields, but in the face of flexible and more general areas, they have poor or even incapable processing

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 operation circuit, data processing device, chip, card board and electronic equipment
  • Data operation circuit, data processing device, chip, card board and electronic equipment
  • Data operation circuit, data processing device, chip, card board and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] The first input matrix can be a 3x6 matrix, for example

[0067] A plurality of operation units of the data operation circuit is a 3x6 array. The preset multiplication coefficient ai is 0.

[0068] When the instruction is to implement the ReLU function for each element of the first input matrix, the operation realized by the data operation unit is: the data operation unit PU in the first row and the first column receives the first row and the first column of the first input matrix Store the data a11 (the value is 0) into Rin1, compare the data a11 with the first preset constant (can be set to 0) stored in the first constant register CO, and control the switch S0 to select 1 according to the comparison result that the two are equal If the number port is connected, the output of Rout is Rin1, which is 0. The data operation unit PU in the first row and the second column receives the data a12 (the value is 7) in the first row and the second column of the first input mat...

Embodiment 2

[0071] The first input matrix can be a 3x6 matrix, for example

[0072] A plurality of operation units of the data operation circuit is a 3x6 array. The preset multiplication coefficient ai is 2.

[0073] When the instruction is to realize the PReLU function function for each element of the first input matrix, the operation realized by the data operation unit is:

[0074] The data operation unit PU in the first row and the first column receives the data a11 (the value is 0) in the first row and the first column of the first input matrix and stores it in Rin1, and combines the data a11 with the first preset stored in the first constant register CO. Set a constant (can be set to 0) for comparison, and according to the comparison result that the two are equal, the control switch S0 selects port 1 to be connected, then Rout outputs Rin1, which is 0. The data operation unit PU in the first row and the second column receives the data a12 (the value is 7) in the first row and the...

Embodiment 3

[0077] The first input matrix can be a 3x6 matrix, for example

[0078] If the arithmetic unit array in the data operation circuit is a 3x3 array, then the matrix will be divided into 3*3 groups for calculation.

[0079] When the instruction is to implement the ReLU function for each element of the first input matrix, the operation realized by the data operation unit is: the data operation unit PU in the first row and the first column receives the first row and the first column of the first input matrix Store the data a11 (the value is 0) into Rin1, compare the data a11 with the first preset constant (can be set to 0) stored in the first constant register CO, and control the switch S0 to select 1 according to the comparison result that the two are equal If the number port is connected, the output of Rout is Rin1, which is 0. By analogy, the arithmetic unit at the third row and the third column obtains the data at the third row and the third column of the output matrix.

[...

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 discloses a data operation circuit, a data processing device, a chip, a card board and electronic equipment. The data operation circuit comprises one or more operation units; each operation unit comprises an input variable register, a first constant register, a comparator, a switch, a second constant register, a multiplier and an output variable register. The data operation circuit provided by the embodiment of the invention is provided with the operation units, the operation units can realize an operation function of a ReLU function, a Leaky ReLU function or a PReLU function, and the data operation circuit is high in integration degree, small in area, high in calculation efficiency and low in power consumption.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a data computing circuit, a data processing device, a chip, a card board and electronic equipment. Background technique [0002] With the development of science and technology, human society is rapidly entering the age of intelligence. An important feature of the intelligent era is that people obtain more and more types of data, and the amount of data obtained is increasing, while the requirements for processing data speed are getting higher and higher. [0003] Chips are the cornerstone of data processing, which fundamentally determines people's ability to process data. From the perspective of application fields, there are two main routes for chips: one is the general-purpose chip route, such as the central processing unit (Centre Processing Unit, CPU), etc., which can provide great flexibility, but have effective computing power when dealing with specific field algorit...

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): G06F9/30
CPCG06F9/30
Inventor 不公告发明人
Owner STREAM COMPUTING INC
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