The embodiment of the invention provides an
artificial neural network model
conversion method, a storage medium and a program product, and relates to the technical field of
artificial intelligence, and the method comprises the steps: after obtaining an
artificial neural network model obtained through pre-training, converting each nonlinear operator in the
artificial neural network model into a corresponding pulse module, each pulse module comprises a difference expectation compensation module, the difference expectation compensation module is used for calculating an output increment according to the accumulated
membrane potential and inserting a difference pulse
neuron into each pulse module, the difference pulse
neuron updates a coding activation value when issuing a pulse, otherwise, the coding activation value is kept unchanged, and the difference expectation compensation module is used for outputting the difference pulse
neuron. According to the method, the bias term of the linear operator located on the previous layer of each nonlinear operator is removed, the initial
membrane potential of the differential pulse neuron inserted into the pulse module corresponding to the nonlinear operator is set as the bias term, and the coding activation value is updated only when the pulse is emitted, so that the loss caused by updating the coding activation value no matter whether the pulse is emitted or not is avoided, and the accuracy of the coding activation value is improved. And the
energy consumption is obviously reduced.