-
公开(公告)号:US11269529B2
公开(公告)日:2022-03-08
申请号:US16893044
申请日:2020-06-04
Inventor: Haoyang Li , Yuan Ruan , Yupeng Li
Abstract: A neural network data processing apparatus includes: an instruction parsing module, configured to split a DMA task into multiple subtasks and acquire configuration information of a data sub-block corresponding to each subtask, where the subtasks are in a one-to-one correspondence with data sub-blocks of transported neural network data; a data reading module, configured to read a first data sub-block according to the configuration information, where the first data sub-block is a data sub-block among data sub-blocks corresponding to multiple subtasks; a data processing module, configured to compress the first data sub-block; a data write-out module, configured to output compressed data resulting from the compression of the first data sub-block.
-
公开(公告)号:US20210200437A1
公开(公告)日:2021-07-01
申请号:US16893044
申请日:2020-06-04
Inventor: Haoyang Li , Yuan Ruan , Yupeng Li
Abstract: A neural network data processing apparatus includes: an instruction parsing module, configured to split a DMA task into multiple subtasks and acquire configuration information of a data sub-block corresponding to each subtask, where the subtasks are in a one-to-one correspondence with data sub-blocks of transported neural network data; a data reading module, configured to read a first data sub-block according to the configuration information, where the first data sub-block is a data sub-block among data sub-blocks corresponding to multiple subtasks; a data processing module, configured to compress the first data sub-block; a data write-out module, configured to output compressed data resulting from the compression of the first data sub-block.
-
公开(公告)号:US11199984B2
公开(公告)日:2021-12-14
申请号:US16907461
申请日:2020-06-22
Inventor: Haoyang Li , Yuan Ruan
Abstract: In the field of data reading and writing technologies, a data writing method is associated with a data writing apparatus and an electronic device. The data writing method includes: determining whether a start storage address of a first data block is aligned with a bus bit width of a storage; in response to that the start storage address of the first data block is not aligned with the bus bit width of the storage, determining whether a second data block which is a data block immediately before the first data block is compressed; in response to that the second data block is compressed, executing complete writing on a first beat of the first data block.
-
公开(公告)号:US11562241B2
公开(公告)日:2023-01-24
申请号:US16908633
申请日:2020-06-22
Inventor: Haoyang Li , Yuan Ruan
IPC: H03M7/30 , G06N3/08 , G06N3/04 , G06F16/2455 , G06F13/28
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.
-
公开(公告)号:US20210200438A1
公开(公告)日:2021-07-01
申请号:US16907461
申请日:2020-06-22
Inventor: Haoyang Li , Yuan Ruan
Abstract: In the field of data reading and writing technologies, a data writing method is associated with a data writing apparatus and an electronic device. The data writing method includes: determining whether a start storage address of a first data block is aligned with a bus bit width of a storage; in response to that the start storage address of the first data block is not aligned with the bus bit width of the storage, determining whether a second data block which is a data block immediately before the first data block is compressed; in response to that the second data block is compressed, executing complete writing on a first beat of the first data block.
-
公开(公告)号:US11635904B2
公开(公告)日:2023-04-25
申请号:US16908707
申请日:2020-06-22
Inventor: Yuan Ruan , Haoyang Li
Abstract: The present disclosure relates to technical field of data access, and discloses a matrix storage method, a matrix access method, an apparatus and an electronic device in the technical field of data access. The matrix storage method includes: dividing a matrix into a plurality of data blocks with a preset segmentation granularity of N rows×M columns; the plurality of data blocks includes at least one first data block of N rows×M columns; if the column number of the matrix is not an integer multiple of M, the plurality of data blocks further includes at least one second data block of N rows×P columns, the second data block is aligned with an adjacent row of first data block; and storing the data in each of the first data blocks and the second data blocks continuously in an off-chip storage.
-
-
-
-
-