DATA PROCESSING METHOD AND DEVICE, STORAGE MEDIUM AND ELECTRONIC DEVICE
Abstract:
A data processing method and device, a storage medium and an electronic device are disclosed. The method includes: reading M*N feature map data of all input channels and weights of a preset number of output channels, here a value of M*N and a value of the preset number are respectively determined by preset Y*Y weights; inputting the read feature map data and the weights of the preset number of output channels into a multiply-add array of the preset number of output channels for a convolution calculation; here a mode of the convolution calculation includes: not performing the convolution calculation in a case that the feature map data or the weights of the output channels are zero, and selecting one from same values for the convolution calculation in a case that there are a plurality of feature map data with the same values; and outputting a result of the convolution calculation.
Information query
Patent Agency Ranking
0/0