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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
[...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com