Data processing method, system and device, electronic equipment and storage medium
The embodiment of the invention provides a data processing method, system and device, electronic equipment and a storage medium. The data processing method is applied to a tensor instruction unit TIU and comprises the steps that based on storage modes of a first matrix and a second matrix in a plura...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a data processing method, system and device, electronic equipment and a storage medium. The data processing method is applied to a tensor instruction unit TIU and comprises the steps that based on storage modes of a first matrix and a second matrix in a plurality of storage units, reading modes of data of the first matrix and the second matrix are determined, and the storage modes comprise transposition storage or non-transposition storage; according to the data reading mode, a first instruction is generated, and the first instruction is used for instructing the vector processing unit to read row data and/or column data of the first matrix and the second matrix from the corresponding storage unit; transmitting the first instruction to a vector processing unit; a second instruction is generated, and the second instruction is used for instructing the vector processing unit to execute matrix multiplication of the first matrix and the second matrix based on the row data an |
---|