Disclosed are a method, an apparatus and a device for optimizing a
compiler based on
tensor data calculation
inference. The method includes: obtaining design structure information of a
compiler to be optimized, and obtaining a target intermediate conversion layer and an execution operation of the target intermediate conversion layer according to the design structure information; setting a target parameter tuning learning parameter according to the target intermediate conversion layer; determining a
compiler object to be optimized according to the execution operation of the target intermediate conversion layer; and performing parameter tuning optimization on the compiler object to be optimized according to the target parameter tuning learning parameter through a target automatic parameter tuning strategy.