Back to results
US 2021/0334007 A1Published application
Data pre-processing method and device, and related computer device and storage medium
AssigneeCambricon Technologies Corporation Limited
InventorsShaoli Liu, Xiaofu MENG
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a data pre-processing method and device and related computer device and storage medium. By storing the target output data corresponding to the target operation into the first memory close to the processor and reducing the time of reading the target output data, the occupation time of I/O read operations during the operation process can be reduced, and the speed and efficiency of the processor can be improved.
Claims20
A data pre-processing method, comprising:
- obtaining an available storage capacity of a first memory, a second memory, and a target operation, wherein the first memory is configured with an access speed faster than the second memory, wherein the access speed measures how fast a read or write operation is when executed on the first memory;
- determining, according to the target operation and the available storage capacity of the first memory, target input data corresponding to the target operation;
- determining, according to the target operation and the target input data, target output data of the target operation;
- and
- storing, if the target output data of the target operation is the input data of another operation after the target operation, the target output data of the target operation into the first memory.
2 more elements
A data pre-processing device, comprising:
- a storage capacity obtaining module configured to obtain an available storage capacity of a first memory, a second memory and a target operation, wherein the first memory is configured with an access speed faster than the second memory, wherein the access speed measures how fast a read or write operation is when executed on the first memory;
- an input determination module configured to determine target input data corresponding to the target operation according to the target operation and the available storage capacity of the first memory;
- an output determination module configured to determine target output data corresponding to the target operation according to the target operation and the target input data;
- and
- a storage allocation module configured to store the target output data of the target operation into the first memory when the target output data of the target operation is the input data of other operation after the target operation.
2 more elements
Dependencies are inferred from the claim text.