Global optimization method, device, equipment and medium for reversibility of deep learning model
Патент · CN B
Полный текст
The invention discloses a global optimization method, a device, equipment and a medium for reversibility of a deep learning model, wherein the method comprises the steps of obtaining each target reversible structure and target reversible conversion mode set which are available for actual measurement of a target deep learning model; and performing node traversal according to the tree structure of the abstract syntax tree, and dynamically planning a target reversible strategy of the target deep learning model in each reversible strategy based on the cost model. The technical scheme of the embodiment of the disclosure creatively provides an implementation mode of searching and obtaining the global optimal target reversibility strategy by using the dynamic planning scheme based on the tree structure, the whole searching process does not need the participation of developers, the labor cost is greatly reduced, and meanwhile, the target deep learning model is subjected to reversibility processing by using the global optimal target reversibility strategy, so that the full optimization of the target deep learning model can be realized, and the efficiency of back propagation calculation is improved to the greatest extent.