Convolution result acquisition method and device, electronic equipment and storage medium
Патент · CN B
Полный текст
The embodiment of the application provides a convolution result acquisition method, a convolution result acquisition device, electronic equipment and a storage medium, and relates to the field of image processing. The method comprises the steps of obtaining an image to be processed, wherein the image to be processed comprises N input channels, obtaining a preset number of data blocks in each input channel, performing multiply-accumulate operation on M output blocks to obtain multiply-accumulate results of the M output blocks of each input channel, and correspondingly adding the multiply-accumulate results of the M output blocks of the N input channels to obtain M convolution output blocks. By the embodiment of the application, the convolution operation of multiple channels can be realized, and a plurality of convolution output blocks can be output at one time. The number of times of reading is reduced in the single-channel convolution operation process, the phenomena of repeated reading and more data reading waste are avoided, the number of times of reading and writing interaction with a storage module is reduced, the power consumption of the operation of the neural network is reduced, and the memory access performance of the convolution neural network is improved as a whole.