Matrix operation method and device, computer equipment and storage medium

A matrix operation and computer program technology, applied in the computer field, can solve problems such as high cost and high price

Active Publication Date: 2019-12-17
GREE ELECTRIC APPLIANCES INC
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, in order to quickly realize matrix operations, it is realized by adding a digital signal processor (digital signal processing, DSP). DSP is a theory and technology for processing signals by means of numerical calculations. DSP can realize matrix operations, but it is expensive and costly. high

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
  • Matrix operation method and device, computer equipment and storage medium
  • Matrix operation method and device, computer equipment and storage medium
  • Matrix operation method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0035] figure 1 It is an application environment diagram of the matrix operation method in one embodiment. refer to figure 1 , the matrix operation method is applied to the matrix operation system. The matrix operation system includes a CPU 110 and a convolution accelerator 120 . The central processing unit 110 and the convolution a...

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 relates to a matrix operation method and device, computer equipment and a storage medium. The method comprises the steps of obtaining a convolution kernel generated according to matrix elements of any row in a first matrix, wherein the convolution kernel comprises a row identifier; obtaining a convolution matrix generated according to the matrix elements of any column in the second matrix, the convolution matrix comprising column identifiers, and the number of the matrix elements of each row of the first matrix being the same as the number of the matrix elements of each column ofthe second matrix; inputting the convolution kernel and the convolution matrix to a convolution accelerator, and outputting a convolution value; writing a convolution value into a product matrix according to the row identifier and the column identifier, wherein the product matrix is used for storing a product result of the first matrix and the second matrix. Matrix multiplication operation is converted into convolution operation, matrix product operation is achieved through a convolution accelerator, and the hardware cost is reduced while the operation rate is guaranteed.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a matrix operation method, device, computer equipment and storage medium. Background technique [0002] With the continuous development of computer vision, digital image processing technology also develops. In digital image processing technology, images are stored in matrix, so matrix operation is an important link in image data processing technology. As the matrix data becomes clearer, the memory space required to occupy is larger. When calculating the matrix, the matrix budget becomes relevant. A larger bottleneck for algorithms, especially in embedded platforms. [0003] In the existing technology, in order to quickly realize matrix operations, it is realized by adding a digital signal processor (digital signal processing, DSP). DSP is a theory and technology for processing signals by means of numerical calculations. DSP can realize matrix operations, but it i...

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 Applications(China)
IPC IPC(8): G06F17/16G06N3/04
CPCG06F17/16G06N3/045
Inventor 吴育宏洪泽
Owner GREE ELECTRIC APPLIANCES INC
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