Data processing method and device based on artificial intelligence chip, and storage medium
A technology of artificial intelligence and data processing, applied in the direction of electrical digital data processing, memory systems, instruments, etc., can solve problems such as low reading and writing efficiency, and achieve the effect of improving reading and writing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


