The present invention discloses an
image processing method, apparatus, storage medium and device, and belongs to the field of
deep learning. The method comprises: for each
convolution layer of a preset
convolutional neural network, acquiring a feature map input in the
convolution layer; performing first pre-
processing on the feature map, and generating a first matrix according to the pre-processedfeature map, wherein
feature data continuously used in the pre-processed feature map is arranged adjacent to the first matrix; performing second pre-
processing on the weight of at least one
convolution kernel of the convolution layer, and generating a second matrix according to the pre-processed weight, wherein the weights continuously used in the pre-processed weight are arranged adjacent to thesecond matrix; and performing an
outer product operation on each row element in the first matrix and the second matrix, and after performing third pre-
processing on the obtained
outer product operation result, obtaining a convolution operation result output in the convolutional layer. According to the technical scheme of the present invention, in the implementation of the winograd convolution acceleration operation, the computational density and memory access efficiency are effectively improved, and the complexity of hardware implementation is reduced.