Matrix computing method, chip, and related device
AssigneeHuawei Technologies Co., Ltd.
InventorsGuangning Fu, Tengyi Lin
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsGuangning Fu, Tengyi Lin
Estimating the term…
This application provides a matrix computing method, a chip, and a related device. The chip includes a first buffer, is configured to buffer a first vector, and a second buffer is configured to buffer a second vector. A scheduling module generates a selection signal based on a bitmap of the first vector. The selection signal may cause the processing element to obtain, from the first buffer, a group of non-zero elements in the first vector, and cause the processing element to obtain, from the second buffer, a group of elements in the second vector. An operation is performed between the first vector and the second vector based on the group of non-zero elements in the first vector and the group of elements in the second vector. In this application, an element whose value is 0 in one vector may be excluded from computing, to reduce a computing amount.
A chip, comprising:
A method for computing matrix on a chip, wherein the method comprises:
Dependencies are inferred from the claim text.