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

A feature map segmentation method of neural network accelerator based on systolic array

A technology of systolic array and neural network, which is applied in the computer field, can solve the problems of increasing chip area and achieve the effects of improving efficiency, reducing convolution calculation time, and improving data utilization

Active Publication Date: 2022-03-25
ZHEJIANG LAB +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although the systolic array can solve a large number of convolution operations in CNN, the high-dimensional systolic array will occupy too many on-chip resources, resulting in an increase in chip area. Therefore, it is necessary to control the dimension of the systolic array within a certain range.

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
  • A feature map segmentation method of neural network accelerator based on systolic array
  • A feature map segmentation method of neural network accelerator based on systolic array
  • A feature map segmentation method of neural network accelerator based on systolic array

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0045] Such as figure 1 As shown, a systolic array-based neural network accelerator feature map segmentation method, including:

[0046] Step 1. Obtain the input feature map. Through the input image, extract the input feature map corresponding to the image. In order to ensure that the input of the deeper layer still maintains a sufficient amount of information, the input feature map is processed by the padding module and output to the split sub-image module in this application. . The padding module fills a circle of pixels on the edge of the original feature map, so that after each convolution operation, the feature map and the original Figure 1 Consistency, ...

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 discloses a neural network accelerator feature map segmentation method based on a systolic array, comprising: obtaining an input feature map, a convolution kernel matrix, and a convolution step; and calculating the image split step according to the filter dimension and the convolution step Long; according to the split step of the image, calculate the starting position of the row and column of the current sub-image and the starting position of the row and column of the next sub-image; if the number of rows and columns of the next split sub-image is less than that of the initial split number, indicating that the next split sub-image has reached the last side. At this time, the difference between the two is calculated to obtain the number of rows and columns; if the number of rows and columns of the next split sub-image is less than the number of rows and columns of the filter, the convolution calculation is not satisfied. , discard it; input the sub-image data obtained by splitting the feature map into the systolic array for convolution operation. In this way, the data utilization rate is improved, while the convolution calculation time is reduced, and the efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for segmenting feature maps of neural network accelerators based on systolic arrays. Background technique [0002] With the rapid development of artificial intelligence, deep convolutional neural network (CNN) has been widely used in artificial intelligence systems due to its unprecedented accuracy in image recognition, object detection, and scene understanding. Although it has ultra-high precision, the neural network gradually becomes deeper and wider, including a large number of network layers, and each network layer has convolution operations between weight data and feature map data. When the convolution operation is performed, hundreds of filters and channels in high-dimensional convolution need to be processed at the same time, involving a large amount of data relocation and multiply-accumulate operations, so the amount of calculation has exploded. [0003] The S...

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): G06T7/10G06N3/04
CPCG06T7/10G06T2207/20084G06T2207/20021G06N3/045
Inventor 朱国权杨方超凡军海陆启明金孝飞孙世春章明何煜坤潘鑫马德胡有能
Owner ZHEJIANG LAB