Matrix storage method, matrix access method, apparatus and electronic device
AssigneeKunlunxin Technology (Beijing) Company Limited
InventorsYuan Ruan, Haoyang Li
Life of this patent
Estimating the term…
Loading patent…
AssigneeKunlunxin Technology (Beijing) Company Limited
InventorsYuan Ruan, Haoyang Li
Estimating the term…
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.
A matrix access method, applied to an electronic device comprising at least one processor and an off-chip storage which is connected to and in communication with the at least one processor, wherein the matrix is stored in an off-chip storage using a matrix storage method, comprising:
Dependencies are inferred from the claim text.