Deep learning model compiling method and device, equipment, medium and program product
The invention provides a deep learning model compiling method and device, equipment, a medium and a program product, and relates to the technical field of artificial intelligence, in particular to the technical field of deep learning and the like. According to the specific implementation scheme, the...
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 provides a deep learning model compiling method and device, equipment, a medium and a program product, and relates to the technical field of artificial intelligence, in particular to the technical field of deep learning and the like. According to the specific implementation scheme, the compiling method for the deep learning model comprises the steps of generating a first calculation graph for indicating a to-be-replaced sub-graph and a second calculation graph for indicating a replaced sub-graph on the basis of an optimization code of an initial intermediate representation calculation graph for the deep learning model; matching the first calculation graph with the initial intermediate representation calculation graph; and in response to the condition that the initial intermediate representation calculation graph comprises a to-be-replaced sub-graph matched with the first calculation graph, replacing the to-be-replaced sub-graph in the initial intermediate representation calculation graph based o |
---|