Block convolution optimization method and device for convolutional neural network

A convolutional neural network and neural network technology, applied in neural learning methods, biological neural network models, neural architectures, etc., can solve problems such as processing bottlenecks, achieve the effects of improving efficiency, increasing throughput, and alleviating resource constraints

Active Publication Date: 2021-04-02
INST OF AUTOMATION CHINESE ACAD OF SCI
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In order to solve the above problems in the prior art, that is, in order to solve the bottleneck problem of convolution processing in the neural network in the hardware processing system, one aspect of the present invention proposes a block convolution optimization method for convolutional neural networks , including the following steps:

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
  • Block convolution optimization method and device for convolutional neural network
  • Block convolution optimization method and device for convolutional neural network
  • Block convolution optimization method and device for convolutional neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Preferred embodiments of the present invention are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention, and are not intended to limit the protection scope of the present invention.

[0050] The block convolution optimization method of the convolutional neural network of the embodiment of the present invention, such as figure 1 shown, including:

[0051] Step 1. Based on the preset convolutional neural network model, select the convolutional layer to be divided into blocks, and determine the upper limit of the block size of the convolutional layer;

[0052] Step 2, according to the input feature map size and the upper limit of the block size obtained in step 1, determine the number of blocks and the block size of the input feature map of the convolutional layer to be block-convolved;

[0053] Step 3, based on the number o...

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 invention relates to the field of deep neural networks, and proposes a block convolution optimization method and device for convolutional neural networks, aiming to solve the processing bottleneck problem of convolution operations in neural networks in hardware processing systems. The optimization method includes: Select the convolutional layer to be divided into blocks and determine the upper limit of its block size; determine the number of blocks and block size of the input feature map according to the upper limit of the block size; based on the number of blocks, block size, convolution Kernel size, input feature map size, input feature map boundary padding size, calculate the block boundary padding size of the block feature map; based on the number of blocks, block size, and block boundary padding size, construct a volume based on block boundary padding product, and replace the original convolution. The invention greatly alleviates the resource limitation problem of the convolutional neural network running on the embedded hardware platform, and maximizes the burst length when reading and writing the memory, improves the throughput, reduces the delay, and improves the efficiency.

Description

technical field [0001] The invention relates to the technical field of deep neural networks, in particular to a block convolution optimization method and device for convolutional neural networks. Background technique [0002] Deep learning, as a cutting-edge branch of machine learning, has developed rapidly in theory and application in recent years. Driven by deep learning, traditional fields such as computer vision and speech and language processing are developing rapidly. Computers can even surpass humans in recognizing images, videos, and speech and text. A number of emerging industries and applications have emerged in the wave of deep learning development, such as self-driving cars, chat robots, smart monitoring, smart homes, etc. Intelligent applications can be seen almost everywhere in people's daily lives. Driven by big data and deep learning, traditional retail, banking, and insurance industries have entered a new era of Internet development. [0003] Deep convolut...

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/08G06N3/04G06N3/063
CPCG06N3/063G06N3/082G06N3/045
Inventor 程健李钢赵天理
Owner INST OF AUTOMATION CHINESE ACAD OF SCI
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