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

Tensor convolution calculation method and system

A calculation method and tensor technology, applied in the computer field, can solve problems such as inability to effectively support high-density parallel computing

Active Publication Date: 2019-11-29
上海燧原智能科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a tensor convolution calculation method to solve the problem that the existing technology cannot effectively support high-density parallel computing

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
  • Tensor convolution calculation method and system
  • Tensor convolution calculation method and system
  • Tensor convolution calculation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0091] 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.

[0092] In this application, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes none. other elements specifically listed, or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "com...

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 present invention provides a tensor convolution calculation method, comprising: receiving tensor data to be calculated, calling a plurality of preset convolution kernels, and applying each convolution kernel to form a calculation convolution kernel; according to each tensor calculation unit Perform the first format conversion processing on the operational convolution kernel, and then load it into the first register group; perform the second format conversion processing on the tensor data, and then load it into the second register group; select the target sliding window, and determine the target sliding window The window format of the window and the step length of the target window; repeat the first operation; when the sum of the tensor data subsets selected in each of the first operations that have been performed is the tensor data that has been converted to the second format , stop executing the first operation, accumulate the partial products corresponding to each tensor operation unit in the executed first operations, and determine the complete operation result. By applying the tensor convolution calculation method provided by the present invention, high utilization rate and high-density parallel calculation can be realized.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a tensor convolution calculation method and system. Background technique [0002] Tensor convolution calculation is a calculation method commonly used in the field of artificial intelligence and high-performance computing. High-performance implementation of tensor convolution calculation is of great significance for improving computing performance and computing density. [0003] The current common tensor convolution calculation method needs to expand the input tensor data, and then use matrix multiplication or vector multiplication to calculate the expanded tensor data. However, such methods need to occupy intermediate memory several times the size of the original tensor data to store the expanded tensor data, and generate corresponding data processing delays, which cannot effectively support high-density parallel computing. Contents of the invention [0004] In view...

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): G06N3/04
CPCG06N3/045
Inventor 刘彦
Owner 上海燧原智能科技有限公司