Image recognition method and apparatus based on systolic array, and medium

US11830244B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11830244-B2
Application numberUS-202118034013-A
CountryUS
Kind codeB2
Filing dateApr 26, 2021
Priority dateOct 27, 2020
Publication dateNov 28, 2023
Grant dateNov 28, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An image recognition method and apparatus based on a systolic array, and a medium are disclosed. The method includes: converting obtained image feature information into a one-dimensional feature vector; converting an obtained weight matrix into a one-dimensional weight vector, and allocating a corresponding weight group to each node in a trained three-dimensional systolic array model; performing multiply-accumulate of the feature vector and a weight value on the one-dimensional feature vector in parallel by using the three-dimensional systolic array model, to obtain a feature value corresponding to each node, the feature values with different values reflecting article categories contained in an image; and determining an article category contained in the image according to the feature value corresponding to each node and a pre-established corresponding relationship between the feature value and the article category.

First claim

Opening claim text (preview).

What is claimed is: 1. An image recognition method based on a systolic array, comprising: converting obtained image feature information into a one-dimensional feature vector; converting an obtained weight matrix into a one-dimensional weight vector, and allocating a corresponding weight group to each node in a trained three-dimensional systolic array model; performing multiply-accumulate of a feature vector and a weight value on the one-dimensional feature vector in parallel by using the three-dimensional systolic array model, to obtain a feature value corresponding to each node; and determining an article category contained in the image according to the feature value corresponding to each node and a pre-established corresponding relationship between the feature value and the article category. 2. The image recognition method based on the systolic array according to claim 1 , wherein the performing multiply-accumulate of a feature vector and a weight value on the one-dimensional feature vector in parallel by using the three-dimensional systolic array model, to obtain a feature value corresponding to each node comprises: performing multiply-accumulate on the one-dimensional feature vector and a current feature value of a first node in the three-dimensional systolic array model, and adopting an obtained multiply-accumulate value as the feature value of the first node; transmitting, according to a node transmission direction of the three-dimensional systolic array model, the one-dimensional feature vector respectively to at least three second nodes that are directly connected to the first node; and performing multiply-accumulate on the one-dimensional feature vector and a current feature value of each of the second nodes separately, adopting an obtained multiply-accumulate value as the feature value separately corresponding to each of the second nodes, and adopting each of the second nodes as the first node, and returning to the step of performing multiply-accumulate on the one-dimensional feature vector and a current feature value of a first node in the three-dimensional systolic array model, and adopting an obtained multiply-accumulate value as the feature value of the first node, until calculation of feature values of all nodes in the three-dimensional systolic array model is completed. 3. The image recognition method based on the systolic array according to claim 2 , wherein after the performing multiply-accumulate of a feature vector and a weight value on the one-dimensional feature vector in parallel by using the three-dimensional systolic array model, to obtain a feature value corresponding to each node, the method further comprises: judging whether a number of currently obtained feature values reaches an output number corresponding to the image feature information; in response to the number of currently obtained feature values not reaching the output number corresponding to the image feature information, adopting a next weight value adjacent to a current weight value in the weight group of each node in the three-dimensional systolic array model as a latest current weight value of each node, and returning to the step of performing multiply-accumulate on the one-dimensional feature vector and a current feature value of a first node in the three-dimensional systolic array model, and adopting an obtained multiply-accumulate value as the feature value of the first node; and wherein the determining an article category contained in the image according to the feature value corresponding to each node and a pre-established corresponding relationship between the feature value and the article category is executed in response to the number of currently obtained feature values reaching the output number corresponding to the image feature information. 4. The image recognition method based on the systolic array according to claim 1 , wherein the determining an article category contained in the image according to the feature value corresponding to each node and a pre-established corresponding relationship between the feature value and the article category comprises: calculating a cumulative sum value of feature values of all nodes according to the feature value corresponding to each node; calculating a ratio of the feature value corresponding to each node to the cumulative sum value, and selecting a node with the ratio satisfying a preset condition as a target node; and querying the pre-established corresponding relationship between the feature value and the article category, to determine the article category that matches the feature value of the target node. 5. The image recognition method based on the systolic array according to claim 4 , wherein the selecting a node with the ratio satisfying a preset condition as a target node comprises: selecting a node with the largest ratio as the target node. 6. The image recognition method based on the systolic array according to claim 1 , wherein before the allocating a corresponding weight group to each node in a trained three-dimensional systolic array model, the method further comprises: adjusting a number of channels of the three-dimensional systolic array model according to an output number corresponding to the image feature information. 7. The image recognition method based on the systolic array according to claim 2 , wherein before the allocating a corresponding weight group to each node in a trained three-dimensional systolic array model, the method further comprises: adjusting a number of channels of the three-dimensional systolic array model according to an output number corresponding to the image feature information. 8. The image recognition method based on the systolic array according to claim 3 , wherein before the allocating a corresponding weight group to each node in a trained three-dimensional systolic array model, the method further comprises: adjusting a number of channels of the three-dimensional systolic array model according to an output number corresponding to the image feature information. 9. An image recognition apparatus based on a systolic array, comprising: a memory storing a computer program; and a processor, configured to execute the computer program, and upon execution of the computer program, is configured to: convert obtained image feature information into a one-dimensional feature vector; convert an obtained weight matrix into a one-dimensional weight vector, and allocate a corresponding weight group to each node in a trained three-dimensional systolic array model; perform multiply-accumulate of a feature vector and a weight value on the one-dimensional feature vector in parallel by using the three-dimensional systolic array model, to obtain a feature value corresponding to each node; and determine an article category contained in the image according to the feature value corresponding to each node and a pre-established corresponding relationship between the feature value and the article category. 10. The image recognition apparatus according to claim 9 , wherein in order to perform the multiply-accumulate of a feature vector and a weight value on the one-dimensional feature vector in parallel by using the three-dimensional systolic array model, to obtain a feature value corresponding to each node, the processor, upon execution of the computer program, is configured to: perform multiply-accumulate on the one-dimensional feature vector and a current feature value of a first node in the three-dimensional systolic array model, and adopt an obtained multiply-accumulate value as the feature value of the first node; transmit, according to a node transmission direction of the three-dimensional systolic array model, the one-dimensional fea

Assignees

Inventors

Classifications

  • G06V10/955Primary

    using specific electronic processors · CPC title

  • Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching · CPC title

  • G06V10/764Primary

    using classification, e.g. of video objects · CPC title

  • Feature extraction, e.g. by transforming the feature space, e.g. multi-dimensional scaling [MDS]; Mappings, e.g. subspace methods · CPC title

  • G06F18/21Primary

    Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11830244B2 cover?
An image recognition method and apparatus based on a systolic array, and a medium are disclosed. The method includes: converting obtained image feature information into a one-dimensional feature vector; converting an obtained weight matrix into a one-dimensional weight vector, and allocating a corresponding weight group to each node in a trained three-dimensional systolic array model; performin…
Who is the assignee on this patent?
Inspur Suzhou Intelligent Technology Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06V10/955. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 28 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).