-
公开(公告)号:US20210200439A1
公开(公告)日:2021-07-01
申请号:US16908707
申请日:2020-06-22
Inventor: Yuan RUAN , Haoyang LI
IPC: G06F3/06
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.
-
公开(公告)号:US20210201134A1
公开(公告)日:2021-07-01
申请号:US16908633
申请日:2020-06-22
Inventor: Haoyang LI , Yuan Ruan
IPC: G06N3/08 , G06F16/2455 , G06N3/04 , H03M7/30
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.
-