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

Vector processor-oriented pooling vectorization implementation method

A technology of vector processors and implementation methods, applied in the fields of deep learning and convolutional neural networks, can solve problems that affect processing efficiency, do not support non-square matrices, do not support unequal or different, etc.

Active Publication Date: 2021-12-17
NAT UNIV OF DEFENSE TECH
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] At present, the method mentioned in the patent "CN 108205703 A-multi-input multi-output matrix average pooling and vectorization realization method" has the following problems: (1) before the input feature map is imported into the vector processor core AM space, the input The feature map is rearranged, see S2-S3 on page 2, which greatly affects the processing efficiency; (2) As shown on pages 4, 6, and 7 of the second page, the height and width of the feature map are required to be equal, and the pooling The horizontal movement step is the same as the vertical movement step, and the height and width of the pooling window are equal. It does not support unequal or different situations, that is, it does not support non-square matrix situations; (3) In convolutional neural networks, often through Fill the feature map (Padding) to keep the valid information on the boundary of the feature map. Currently, this document does not support the case of padding.

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
  • Vector processor-oriented pooling vectorization implementation method
  • Vector processor-oriented pooling vectorization implementation method
  • Vector processor-oriented pooling vectorization implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0046] The embodiments of the present invention are written in a progressive manner.

[0047]An embodiment of the present invention provides a vector processor-oriented pooling and vectorization implementation method. It mainly solves the technical problems in the prior art that the feature map needs to be rearranged, which leads to a long processing time, has specific requirements on the feature map parameters, and does not support filling.

[0048] Please r...

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 vector processor-oriented pooling vectorization implementation method, which comprises the following steps: according to AM space parameters and pooling window preset parameters, acquiring transmission block parameters of an input block feature map transmitted into an AM space each time; loading the sub-blocks of the block feature map to the AM space on the basis of DMA operation; according to a preset rule, partitioning the single partitioned feature map sub-block; performing pooling processing on each region of the sub-blocks of the block feature map in sequence according to a preset sequence; exporting an output feature map sub-block obtained after processing from the AM space to a memory based on DMA operation; and repeating the above steps until the pooling results of all the sub-blocks of the block feature map are obtained. The method is clear in logic, safe, effective, reliable and easy and convenient to operate, not only can support non-square feature maps, non-square moving step lengths and non-square pooling windows, but also can support feature map filling, does not need to rearrange the feature maps, and improves the pooling processing efficiency.

Description

technical field [0001] The present invention relates to the technical field of deep learning and convolutional neural network, in particular to a vector processor-oriented pooling and vectorization implementation method. Background technique [0002] Convolutional neural network is the most widely used neural network model in the current deep learning model, and its performance on specific tasks in fields such as image classification has surpassed that of humans. The convolutional neural network model generally consists of convolutional layers, activation layers, pooling layers, and fully connected layers. [0003] The pooling layer is located after the convolutional layer and is used to aggregate statistics on the features extracted by the convolutional layer. In the convolutional neural network, after using the convolution operation to extract the features of the input image, multiple feature maps will be generated. If all the features are used, the amount of calculation ...

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): G06F13/28G06F15/80
CPCG06F13/28G06F15/8053Y02D10/00
Inventor 王庆林梅松竹苏华友李东升姜晶菲许金伟李荣春乔鹏刘杰
Owner NAT UNIV OF DEFENSE TECH