The embodiment of the application provides a
data processing method, device and
electronic equipment, which can reconstruct a matrix of any
data type and size into a legal input of a matrix operation unit, thereby expanding the business
scenario of the matrix operation unit and improving the operation efficiency. The method comprises the following steps: obtaining a first matrix. The number of bits occupied by each element in the first matrix is greater than the requirement of the matrix operation unit on input data. The first matrix is split into a plurality of sub-matrices. Wherein, the element of the i-th row and the j-th column of the first matrix is split by a bit to form the element of the i-th row and the j-th column of each sub-matrix, i is less than or equal to the number of rows of the first matrix, and j is less than or equal to the number of columns of the first matrix. The number of bits occupied by each element in the sub-matrix is less than or equal to the requirement of the matrix operation unit on input data. The plurality of sub-matrices are input into the matrix operation unit.