The patent discloses a
convolution calculation method and device for optimizing
energy consumption and efficiency in existing
convolution calculation process. The main technical scheme of the patent is that the
feature data and weight data are input to the calculation unit through the
internal memory according to the block, and the input end
queue of the multiplier is dynamically allocated. The patent optimizes the calculation process in the calculation unit, utilizes the
channel data characteristics, makes the output results in a single multiplier group coherent, the input end weight data of each multiplier in the same multiplier group belongs to different
convolution kernels, so that data competition does not occur, the
adder can be directly operated, and the multiplier output does not need to wait in the
queue. In addition, the convolution
kernel size, form and data reading mode have no influence on the calculation process of the patent, so the corresponding calculation of different strides, different padding forms, different forms of convolution (such as various deformation convolutions) has good adaptability.