Acceleration calculation method of neural network, accelerator and computer readable storage medium

A technology of neural network and calculation method, applied in the field of neural network, which can solve the problems of affecting the calculation efficiency of neural network, not considering multiple data transfers, and low energy consumption ratio of electronic equipment, etc.

Active Publication Date: 2022-01-18
ZHUHAI SPACETOUCH LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this kind of accelerator does not consider the problem of multiple data transfers, nor does it solve the problems of increased energy consumption and low

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
  • Acceleration calculation method of neural network, accelerator and computer readable storage medium
  • Acceleration calculation method of neural network, accelerator and computer readable storage medium
  • Acceleration calculation method of neural network, accelerator and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The accelerated calculation method of the neural network of the present invention is applied on the neural network accelerator, preferably, the neural network accelerator is a module arranged on the electronic device, which is used to accelerate the calculation of the neural network, and improve the calculation efficiency and energy consumption of the neural network Compare. Preferably, the electronic device is provided with a processor and a memory, and a computer program is stored in the memory, and the processor realizes the above-mentioned accelerated calculation method of the neural network by executing the computer program.

[0036] Neural Network Accelerator Example:

[0037] This embodiment is used for the calculation of the neural network, especially to improve the calculation efficiency of the neural network through the accelerator. Usually, the operations involved in neural networks mainly include matrix multiplication, convolution, bias, nonlinear activatio...

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 provides an acceleration calculation method of a neural network, an accelerator and a computer readable storage medium. The method comprises the following steps: storing an input matrix in a first data cache region; acquiring a coefficient matrix, decomposing the coefficient matrix into a plurality of coefficient sub-matrixes with a preset size, sliding the coefficient sub-matrixes relative to an input matrix at a preset step length, and performing point multiplication summation calculation on the coefficient sub-matrixes and the input matrix by applying at least one processing unit of a multiply-add array every time the coefficient sub-matrixes slide; obtaining a part and a matrix corresponding to each coefficient sub-matrix; and carrying out accumulation calculation on the corresponding parts of the plurality of coefficient sub-matrixes and the matrix to obtain an accumulation calculation result, carrying out feature calculation according to the accumulation calculation result, and storing a calculation result of the one-layer model in a second data cache region. The invention further provides a neural network accelerator for implementing the method and a computer readable storage medium. The method can reduce the number of data carrying times during neural network calculation, and improves the energy consumption ratio.

Description

technical field [0001] The present invention relates to the technical field of neural networks, in particular to a neural network acceleration calculation method, a neural network accelerator and a computer-readable storage medium for realizing the method. Background technique [0002] In recent years, with the development of artificial intelligence technology, neural network technology has also developed rapidly. Neural network (Neuron Network) is a multi-layer artificial intelligence model, including deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN) and so on. With the increase of the calculation amount of the neural network, the requirements for the computing power of the processor and data storage are also increasing day by day. Neural network accelerators can accelerate the computational efficiency of neural networks at the hardware level, so they are more and more widely used in various fields. [0003] However, the calcula...

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): G06N3/063G06F7/57G06F16/2455
CPCG06N3/063G06F7/57G06F16/24552Y02D10/00
Inventor 唐翱翔徐超李正平
Owner ZHUHAI SPACETOUCH LTD
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