Getech Law LLC
Apparatus and methods for matrix addition and subtraction
Aspects for matrix addition in neural network are described herein. The aspects may include a controller unit configured to receive a matrix-add-scalar instruction that includes an address of the first matrix and a scalar value. The aspects may further include a computation module configured to receive the first matrix from a storage device based on the address of the first matrix. The first matrix may include one or more first elements. The one or more first elements are arranged in accordance with a two-dimensional data structure. The computation module may be further configured to respectively add the scalar value to each of the one or more first elements of the first matrix in accordance with the matrix-add-scalar instruction to generate one or more second elements for a second matrix.
CAMBRICON TECHNOLOGIES CORPORATION LIMITED
G G G G
G06F G06F G06F G06N
inventional inventional inventional additional
Xiao Shaoli Yunji Tianshi
Zhang Liu Chen Chen