Matrix multiplication method and device and computer readable storage medium

A matrix multiplication operation, matrix technology, applied in the field of matrix operation, can solve problems such as slow operation speed
CN110377876AInactive Publication Date: 2019-10-25GUANGDONG COMM & NETWORKS INST

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
GUANGDONG COMM & NETWORKS INST
Publication Date
2019-10-25
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a matrix multiplication operation method and device and a computer readable storage medium, and the method comprises the steps: obtaining a first scalar parameter of a to-be-operated first matrix and a second scalar parameter of a to-be-operated second matrix when a matrix multiplication operation instruction is received; determining a first matrix and a second matrix basedon the first scalar parameter and the second scalar parameter, and determining a first segmentation parameter, a first filling parameter, a second segmentation parameter and a second filling parameter; performing sub-matrix segmentation filling operation on the first matrix based on the first segmentation parameter and the first filling parameter to obtain a first sub-matrix sequence, and performing sub-matrix segmentation filling operation on the second matrix based on the second segmentation parameter and the second filling parameter to obtain a second sub-matrix sequence; and sequentiallyselecting a sub-matrix in the first sub-matrix sequence and a sub-matrix in the second sub-matrix sequence to perform multiplication to obtain a plurality of products, and accumulating the plurality of products to obtain an operation result. The matrix operation speed can be increased, and memory consumption is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of matrix operations, in particular to a matrix multiplication operation method, device and computer-readable storage medium. Background technique

[0002] At present, in the computer field, technologies such as big data, cloud determination, artificial intelligence, the Internet of Things, and autonomous driving continue to rise and develop. The algorithms involved in these technologies include various matrix operations, especially the multiplication of large matrices operation.

[0003] At present, general-purpose processors are generally used to perform matrix multiplication operations, but general-purpose processors have poor computing power, and it is very time-consuming and slow to perform multiplication operations on large matrices, which cannot meet the real-time requirements of these technologies. Contents of the invention

[0004] The main purpose of the present invention is to provide a matrix multiplica...

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