Depth-first data scheduling method, system and equipment based on block convolution

A data scheduling and depth-first technology, applied in the field of convolutional neural networks, can solve problems such as unsuitable deployment and image processing occupying too much memory, so as to avoid memory consumption and improve reasoning efficiency

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

AI Technical Summary

Problems solved by technology

[0004] In order to solve the above-mentioned problems in the prior art, that is, the data scheduling of the existing full-hardware equipment needs to convolve the entire image at the same time, and the processing of the image occupies too much memory and is not suitable for deployment in the full-hardware equipment. The present invention provides A depth-first data scheduling method based on block convolution is proposed, including:

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
  • Depth-first data scheduling method, system and equipment based on block convolution
  • Depth-first data scheduling method, system and equipment based on block convolution
  • Depth-first data scheduling method, system and equipment based on block convolution

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, not to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0035] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0036] A block convolution-based depth-first data scheduling method of the present invention includes:

[0037] Step S100, divide the 0th layer feature map feature0 into m*n blocks with a preset size of B, and set the coordinate index (X, Y), initialize (X, Y) = (0, 0), feature map ...

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 belongs to the field of convolutional neural networks, particularly relates to a depth-first data scheduling method, system and equipment based on block convolution, and aims to solve the problems that an existing convolution model calculation method needs to perform calculation layer by layer, and storage of an intermediate result feature map needs to occupy a large amount of memory and is not suitable for being deployed in full-hardware equipment. The method comprises the following steps: dividing an input feature image into a plurality of blocks, calling the blocks one by one to carry out convolution or maximum pooling to generate a next-layer feature map, if the next-layer feature map reaches a preset block size, continuing to call to the next layer to obtain a deeper feature map, and if the next-layer feature map is smaller than the preset block size, returning to the 0-th layer to call until the reasoning process is completed. According to the method, memory consumption caused by storage of a large number of convolution layer intermediate results is avoided, and the reasoning efficiency of the convolution model on full hardware equipment is improved.

Description

technical field [0001] The invention belongs to the field of convolutional neural networks, and in particular relates to a block convolution-based depth-first data scheduling method, system and equipment. Background technique [0002] With the continuous development of deep learning technology, a series of models represented by convolutional neural networks have achieved good results in image classification, object detection and other fields, and have been widely used in daily life. However, the feature maps of each convolutional layer in the convolutional neural network are usually large, and the method of layer-by-layer convolution will occupy a large amount of memory, and the full hardware device usually has limited memory, which makes it difficult for the convolution model to be implemented on the full hardware device. Deployment, to a certain extent, limits the application of convolutional neural networks. In addition, the layer-by-layer convolution method can only per...

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
IPC IPC(8): G06N3/04G06N3/063G06N5/04
CPCG06N5/046G06N3/063G06N3/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