Matrix calculation instruction and method therefor
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CAMBRICON TECH CO LTD
- Publication Date
- 2018-02-16
- Estimated Expiration
- Not applicable Β· inactive patent
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The disclosure relates to a matrix operation instruction and a method thereof, which are used for performing matrix operations according to the matrix operation instruction, and can well solve the problem that more and more algorithms in the current computer field include a large number of matrix operations. Background technique
[0002] At present, more and more algorithms in the computer field involve matrix operations. Taking artificial neural network algorithms as an example, various neural network algorithms contain a large number of matrix operations. In the neural network, the operation expression of the output neuron is y=f(wx+b), where w is a matrix, x and b are matrices, and the process of calculating the output matrix y is to multiply the matrix w by the matrix x, and add Matrix b, and then perform an activation function operation on the obtained matrix (that is, perform an activation function operation on each element in the matrix). There...