Matrix operation method and device and computer equipment
The invention relates to a matrix operation method and device and computer equipment, the method is applied to a neuromorphic chip, and the method comprises the following steps: firstly, carrying out row splitting on elements in a first matrix to obtain a plurality of first sub-matrixes, and carryin...
Saved in:
Main Authors | , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
19.09.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to a matrix operation method and device and computer equipment, the method is applied to a neuromorphic chip, and the method comprises the following steps: firstly, carrying out row splitting on elements in a first matrix to obtain a plurality of first sub-matrixes, and carrying out column splitting on elements in a second matrix to obtain a plurality of second sub-matrixes; the multiple first sub-matrixes and the multiple second sub-matrixes are stored in different inner cores in the neuromorphic chip respectively, one first sub-matrix and one second sub-matrix are stored in each inner core, and finally operation results of the first matrixes and the second matrixes are obtained by operating the inner cores. By adopting the method, storage resources of the neuromorphic chip can be saved, and meanwhile, the operation speed of the neuromorphic chip is increased.
本申请涉及一种矩阵运算方法、装置和计算机设备,该方法应用于神经形态芯片,包括:首先,对第一矩阵中的元素进行行拆分,获得多个第一子矩阵,以及对第二矩阵中的元素进行列拆分,获得多个第二子矩阵,然后,将多个第一子矩阵和多个第二子矩阵,分别存储至神经形态芯片内不同 |
---|---|
Bibliography: | Application Number: CN202310518943 |