The invention relates to the technical field of
artificial intelligence chips, and provides an operator performance evaluation method and device, equipment, a storage medium and a program product, and the method comprises the steps: obtaining a configuration file corresponding to a to-be-evaluated operator, enabling the configuration file to comprise a hardware configuration file and an operator configuration file, carrying out the instantiation of a global
object based on the configuration file, obtaining a hardware platform instance and an operator instance; the operator instance inherits a
base class in a unified manner, and the
base class is a standardized interface obtained by abstracting
computational logic of performance indexes of operators; the global object is a class object obtained by performing interface abstraction on a hardware platform interface and an
operator interface; according to the
performance index of the
base class calculation operator instance when the base class calculation operator instance runs on the hardware platform instance, the
evaluation result of the theoretical performance of the to-be-evaluated operator is obtained,
multiplexing of the calculation logic of the operator
performance index is achieved, the calculation logic of the operator
performance index does not need to be rewritten for different hardware platforms, and the calculation efficiency is improved. And the evaluation efficiency of operators across hardware platforms is improved.