Data output method, data acquisition method, device, and electronic apparatus
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsHaoyang LI, Yuan Ruan
Life of this patent
Estimating the term…
Abstract
A data output method, a data acquisition method, a device, and an electronic apparatus are provided, and a specific technical solution is: reading a first data sub-block, and splicing the first data sub-block into a continuous data stream, wherein the first data sub-block is a data sub-block in transferred data in a neural network; compressing the continuous data stream to acquire a second data sub-block; determining, according to a length of the first data sub-block and a length of the second data sub-block, whether there is a gain in compression of the continuous data stream; outputting the second data sub-block if there is the gain in the compression of the continuous data stream.
Claims17
A data output method, comprising:
- reading a first data sub-block, and splicing the first data sub-block into a continuous data stream, wherein the first data sub-block is a data sub-block in transferred data in a neural network;
- compressing the continuous data stream to acquire a second data sub-block;
- determining, according to a length of the first data sub-block and a length of the second data sub-block, whether there is a gain in compression of the continuous data stream;
- outputting the second data sub-block if there is the gain in the compression of the continuous data stream.
A data acquisition method, comprising:
- reading a length of a second data sub-block;
- reading the second data sub-block;
- determining whether the second data sub-block is a data sub-block acquired after compression and having a compression gain;
- decompressing the second data sub-block if the second data sub-block is the data sub-block acquired after compression and having the compression gain, and storing data acquired after decompression.
Dependencies are inferred from the claim text.