A matrix convolution optimization operation method and circuit
A technology of matrix operation and operation circuit, which is applied in the field of neural network circuit and can solve the problem of large amount of operation of neural network.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0043] In order to explain in detail the technical content, structural features, achieved goals and effects of the technical solution, the following will be described in detail in conjunction with specific embodiments and accompanying drawings.
[0044] see figure 1 , is a schematic diagram of the principle of the Winograd algorithm involved in an embodiment of the present invention. In simple terms, the Winograd algorithm uses more addition calculations to reduce multiplication calculations. Therefore, a premise is that in the processor, the number of clock cycles for multiplication is greater than the number of clock cycles for addition. Winograd calculates the number of multiplications that need to be done for convolution:
[0045] μ(F(m×n,r×s))=(m+n-1)×(n+s-1)
[0046] r×s represents the size of the convolution kernel, and m×n represents the output size.
[0047] So, do a simple comparison calculation: 3×3 convolution kernel, the output is 2×2, then the number of multip...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


