A dynamic operator accelerated tuning method combining meta learning and
reinforcement learning comprises the following steps: firstly, constructing a generalization search space based on operator scheduling primitives, extracting
tensor program structure features, and establishing a dynamic operator cost model; secondly,
intelligent agent parameters are quickly adjusted by applying a meta-learning optimization
algorithm, and search is accelerated by utilizing a
reinforcement learning state
encoder and a meta-
gradient descent algorithm; and further, an Autotuning technology is combined with a deep
reinforcement learning architecture to carry out operator optimization strategy search. Designing a reward function, and feeding back and guiding a search behavior according to code performance. Through a
control variable method and a quantitative
analysis method, a calculation and memory access
performance model is constructed, operator performance
key factors are analyzed, and limit performance under different hardware conditions is evaluated. And finally, selecting an optimal operator to generate a code, and converting the code into a
machine code of the target hardware platform. By designing a high-quality generalized search space and
performance limit analysis method, the efficiency and precision of operator tuning are remarkably improved, and optimization support is provided for deployment of a
deep learning system.