Unlock instant, AI-driven research and patent intelligence for your innovation.

Data processing method, device and storage medium based on artificial intelligence chip

A technology of artificial intelligence and data processing, applied in the direction of electrical digital data processing, memory system, machine learning, etc., can solve the problems of low reading and writing efficiency, and achieve the effect of improving reading and writing efficiency

Active Publication Date: 2020-11-17
SHENZHEN CORERAIN TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, at present, by sequentially reading input data from the memory and transferring them to multiple buffers in sequence, frequent data interaction between the memory and the buffers is required, resulting in very low read and write efficiency.

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, device and storage medium based on artificial intelligence chip
  • Data processing method, device and storage medium based on artificial intelligence chip
  • Data processing method, device and storage medium based on artificial intelligence chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] figure 1 The flow diagram of a data processing method based on an artificial intelligence chip provided in Embodiment 1 of the present invention is applicable to the scene of reading and writing data in an artificial intelligence chip, and the method can be implemented by a data processing device based on an artificial intelligence chip. Execution, the device can be implemented in the form of software and / or hardware, and can be integrated on an artificial intelligence chip.

[0049] Such as figure 1 As shown, the data processing method based on the artificial intelligence chip provided by Embodiment 1 of the present invention includes:

[0050] S110. Read the current input data from the memory;

[0051] Wherein, the memory may be SDRAM or DDR, etc., which is not specifically limited here. Wherein, the current input data refers to the data required by the calculation module for current calculation. Specifically, the complete data required for the completion of all c...

Embodiment 2

[0067] image 3 It is a schematic flowchart of a data processing method based on an artificial intelligence chip provided in Embodiment 2 of the present invention. This embodiment is a further refinement of the above technical solution. The method can be executed by a data processing device based on an artificial intelligence chip, which can be implemented in software and / or hardware, and can be integrated on the artificial intelligence chip.

[0068] Such as image 3 As shown, the data processing method based on the artificial intelligence chip provided by Embodiment 2 of the present invention includes:

[0069] S310. Read the current input data from the memory;

[0070] S320. Determine a first preset weight corresponding to the current input data, where the first preset weight is used to represent the number of times or frequency of use of the current input data in the remaining processing process;

[0071] S330. Write the current input data into the first target buffer ...

Embodiment 3

[0083] Figure 4 It is a schematic structural diagram of a data processing device based on an artificial intelligence chip provided by Embodiment 3 of the present invention. This embodiment is applicable to the scene of reading and writing data in an artificial intelligence chip. The device can use software and / or hardware way, and can be integrated on artificial intelligence chips.

[0084] Such as Figure 4 As shown, the artificial intelligence chip-based data processing device provided in this embodiment may include a reading module 410, a configuration module 420, and a writing module 430, wherein:

[0085] A reading module 410, configured to read in current input data from the memory;

[0086] The configuration module 420 is configured to determine a first preset weight corresponding to the current input data, and the first preset weight is used to indicate the number of times or frequency of use of the current input data in the remaining processing process;

[0087] A...

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

Embodiments of the present invention provide a data processing method, device and storage medium based on an artificial intelligence chip. The data processing method based on an artificial intelligence chip includes: reading in current input data from the memory; determining a first preset weight corresponding to the current input data, and the first preset weight is used to represent the current input data The number of times or frequency of use in the remaining processing process; write the current input data into the first target buffer according to the first preset weight corresponding to the current input data, and the first target buffer is the first target buffer One of the multiple buffers, the first target buffer is used to store the current input data and transmit the current input data to the calculation module for current calculation to obtain output data. The stored register is selected by the first preset weight corresponding to the current input data, so as to achieve the effect of improving the reading and writing efficiency of the artificial intelligence chip.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of artificial intelligence chips, and in particular, to a data processing method, device, and storage medium based on artificial intelligence chips. Background technique [0002] With the rapid development of artificial intelligence chips, how to improve the processing speed of artificial intelligence chips is becoming more and more important. [0003] At present, a commonly used solution is to sequentially read input data from the memory and sequentially transmit them to multiple buffers, and the buffers sequentially transmit the input data to the computing module for corresponding calculations. For example, when there are two buffers, the first buffer buffers the first input data first, the second buffer buffers the second input data, and when the third input data needs to be buffered, the third Each input data is re-buffered into the first buffer, and when the buffer has no data to ...

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 Patents(China)
IPC IPC(8): G06F12/0893G06N20/00
CPCG06F12/0893G06N20/00
Inventor 王少军黄炯凯蔡权雄牛昕宇
Owner SHENZHEN CORERAIN TECH CO LTD