The application provides a kind of across hardware
tensor program's tuning method, device, equipment, medium and product, it is related to
compiler optimization and
deep learning technical field, this method includes: obtaining
tensor program to be tuned and target hardware information;
Tensor program to be tuned and target hardware information are input into across hardware
tensor program tuning model, obtain the target tuning program of tensor program to be tuned that across hardware tensor program tuning model output;Wherein, across hardware tensor program tuning model is based on tensor program data sample training and obtains, across hardware tensor program tuning model is the model that the running feature of tensor program to be tuned on target hardware information is structured
inference in combination with tensor program to be tuned and target hardware information to tensor program to be tuned.This technical scheme of the application is based on across hardware tensor program tuning model and directly carries out structured
inference to the running feature of tensor program to be tuned on target hardware information, obtains target tuning program, improves the accuracy of target tuning program.