Data processing method and device and storage medium
The invention relates to a data processing method and device and a storage medium. The method comprises the following steps: acquiring a computational graph of a neural network model; acquiring information of a processor; determining a first intermediate representation according to the computational...
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 invention relates to a data processing method and device and a storage medium. The method comprises the following steps: acquiring a computational graph of a neural network model; acquiring information of a processor; determining a first intermediate representation according to the computational graph and the information of the processor, the first intermediate representation comprising operators supported by the processor; determining a second intermediate representation according to the first intermediate representation and information of the processor, the second intermediate representation comprising time scheduling information and spatial mapping information of the operator on the processor; determining a target instruction corresponding to the neural network model according to the second intermediate representation and the information of the processor; and optimizing the processor according to at least one of the computational graph, the first intermediate representation, the second intermediate rep |
---|