Unlock instant, AI-driven research and patent intelligence for your innovation.

Efficient convolution implementation method and device based on winograd algorithm and approximate multiplier

A multiplier and convolution technology, applied in the field of neural networks, can solve the problems of large number of multipliers and low calculation efficiency

Active Publication Date: 2021-11-16
NANJING UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a high-efficiency convolution implementation and device based on the Winograd algorithm and an approximate multiplier to solve the problem that the traditional convolution calculation method consumes a large number of multipliers and the calculation efficiency is often relatively low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Efficient convolution implementation method and device based on winograd algorithm and approximate multiplier
  • Efficient convolution implementation method and device based on winograd algorithm and approximate multiplier
  • Efficient convolution implementation method and device based on winograd algorithm and approximate multiplier

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0059] It can be seen from the background technology that the current convolution calculation consumes a large number of multipliers, which not only reduces the calculation efficiency, but also increases the consumption of hardware resources. Therefore, in view of the above problems, the embodiment of the present application proposes a method based on the Winograd algorithm and an approximate multiplier. The high-efficiency convolution calculation method and device greatly reduce the number of multiplication calculation units required for unit convolution output, and at the same time, use an approximate multiplier to further reduce the consumption of hardware resources.

[0060] The embodiment of the pres...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application discloses a high-efficiency convolution implementation method and device based on Winograd algorithm and approximate multiplier. The method includes: dividing the obtained initial feature map into a matrix sequence composed of multiple first matrices, each first matrix Contains matrix elements with 6 rows and 6 columns, and there are matrix elements with 2 rows or 2 columns overlapping between adjacent matrices in the matrix sequence; get each first matrix corresponding to an input matrix and the initial convolution weight of the initial feature map; according to The initial convolution weight is calculated as the second matrix of the Winograd convolution weight; each input matrix is ​​calculated with the Winograd convolution weight using an approximate multiplier to obtain multiple output matrices, wherein each input matrix corresponds to an output matrix; Concatenate multiple output matrices to obtain an output feature map. By adopting the foregoing solution, the number of multipliers required for unit convolution output can be greatly reduced, and the convolution calculation efficiency can be improved.

Description

technical field [0001] The present application relates to the technical field of neural networks, in particular to a method and device for realizing efficient convolution based on Winograd algorithm and approximate multiplier. Background technique [0002] Convolutional neural network is a kind of feed-forward neural network with convolution calculation and deep structure, and it is one of the representative algorithms of deep learning. With the wide application and development of deep learning, convolutional neural networks are used in more and more scenarios, especially in image recognition scenarios, which have achieved breakthrough development. [0003] When the convolutional neural network is deployed on the hardware for calculation, for the traditional convolution calculation method, the input is generally a three-dimensional matrix, which has three dimensions of length, width and channel number, and multiple convolution kernels are convolved with the input matrix ope...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06N3/04G06F7/523G06F17/16
CPCG06F7/523G06F17/16G06N3/045
Inventor 杜力张宸硕杜源
Owner NANJING UNIV