Convolution operation method and convolution operation device

A convolution operation and operator technology, applied in the field of convolution operation devices, can solve the problems of inability to operate data cache, limited cache space, affecting the operation speed of a convolution operation module, etc., and achieve the effect of improving operation efficiency and reducing the number of pauses.

Pending Publication Date: 2020-11-06
VIA ALLIANCE SEMICON CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the cache space used to cache the operation data (including input data and convolution kernel, etc.) in the convolution operation module is limited. When performing the convolution operation, it is impossible to cache all the operation data used by the current convolution layer to the volume In the product operation module
Therefore, if the operation data used in the convolution operation has not been cached in the convolution operation module, the convolution operation module will suspend the convolution operation and load the required operation data from the memory outside the convolution operation module Come in, the convolution operation can only be continued after the required operation data is loaded, which affects the operation speed of the convolution operation module

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
  • Convolution operation method and convolution operation device
  • Convolution operation method and convolution operation device
  • Convolution operation method and convolution operation device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0088] The implementation of the present invention is described below, the purpose of which is to describe the basic spirit of the present invention, but not to limit the present invention. For the actual content of the invention, reference must be made to the scope of the claims that follow.

[0089] It must be understood that words such as "comprising" and "including" used in this specification are used to indicate the existence of specific technical features, values, method steps, operations, components and / or components, but do not exclude the possibility of adding More technical characteristics, numerical values, method steps, operation processes, components, components, or any combination of the above.

[0090] Words such as "first", "second", "third" and other words used in the claims are used to modify the elements in the claims, and are not used to indicate that the elements have a priority order, an antecedent relationship, or an element precedes The reference to an...

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 invention provides a convolution operation method and a convolution operation device. The convolution operation method is used for executing convolution operation on an input feature map to generate a corresponding output feature map, and comprises the steps of dividing each input data block in a plurality of input data blocks into a plurality of non-overlapping areas, and wherein an overlapping area exists between any two adjacent input data blocks; storing a plurality of non-overlapping regions of each input data block into corresponding non-overlapping storage spaces in a cache; generating each input data block according to an area which is stored in the non-overlapped storage space and corresponds to the input data block; and performing convolution operation on the plurality of generated input data blocks to generate the output feature map.

Description

technical field [0001] The present invention relates to a convolution operation method and a convolution operation device, in particular to a convolution operation method and a convolution operation device for dividing an input data block according to the overlap between input data blocks of an input feature map . Background technique [0002] Convolutional Neural Networks (CNN) is currently the main force in the development of deep neural networks, and it is very accurate in image recognition. A typical convolutional neural network includes many layers of operations, such as convolution layers, activation layers, pooling layers, and fully connected layers. [0003] Using a convolution operation module (hardware module, such as a CNN accelerator, etc.) independent of the CPU (Central Processing Unit, central processing unit) can effectively increase the speed of the convolution operation. However, the cache space used to cache the operation data (including input data and c...

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 Applications(China)
IPC IPC(8): G06F17/15G06N3/04
CPCG06F17/15G06N3/045
Inventor 孔玮曼翟新刚
Owner VIA ALLIANCE SEMICON CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products