Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Accelerated calculation method and system of recurrent neural network and related device

A technology of cyclic neural network and calculation method, applied in the field of systems and related devices, and the field of accelerated calculation method of cyclic neural network, can solve problems such as unfavorable deep learning algorithm operation, reduce deep learning efficiency, occupy system hardware resources, etc., to avoid computing Effects of difficulty, shortening calculation time, and simplifying the calculation process

Pending Publication Date: 2020-09-29
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the calculation process of the recurrent neural network, its network parameters usually exist in the form of a matrix, that is, the operation process involves a large number of matrix multiplication operations, but once the number of rows and columns of the matrix is ​​long, it will greatly occupy system hardware resources and is not conducive to The deep learning algorithm runs, reducing the efficiency of deep learning

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
  • Accelerated calculation method and system of recurrent neural network and related device
  • Accelerated calculation method and system of recurrent neural network and related device
  • Accelerated calculation method and system of recurrent neural network and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] 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, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0038] RNN is a sequence-to-sequence model that can be defined as follows:

[0039] Xt: represents the input at time t, ot: represents the output at time t, and St: represents the memory at time t.

[0040] The basis of RNN is:

[0041] St=f(U*Xt+W*St-1)

[0042] The f function here is the activation function in the neural network, the more common ...

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 accelerated calculation method of a recurrent neural network. The accelerated calculation method comprises the steps of obtaining a parameter matrix multiplier of the recurrent neural network; dividing a multiplier and a multiplicand in the parameter matrix multiplier to obtain a two-dimensional matrix; inputting the two-dimensional matrix into a three-dimensional pulsation array according to a preset sequence; and determining an output result of the parameter matrix multiplication according to the three-dimensional pulsation array. According to the method and the device, the calculation time of large-size matrix multiplication is greatly shortened, and hardware resources required by calculation are reduced. The invention further provides an accelerated computingsystem of the recurrent neural network, a computer readable storage medium and a terminal, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the field of deep learning, and in particular to an accelerated computing method, system and related devices of a recurrent neural network. Background technique [0002] Recurrent Neural Network (RNN for short) is a type of recurrent neural network that takes sequence data as input, recurses in the evolution direction of the sequence, and connects all nodes (recurrent units) in a chain. Research on recurrent neural networks began in the 1980s and 1990s, and developed into one of the deep learning algorithms in the early 21st century, among which bidirectional recurrent neural network (Bidirectional RNN, Bi-RNN), gated recurrent unit network (Gated RecurrentUnit networks, GRU) and Long Short-Term Memory networks (LSTM) are common recurrent neural networks. [0003] In the calculation process of the recurrent neural network, its network parameters usually exist in the form of a matrix, that is, the calculation process ...

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): G06N3/04
CPCG06N3/045
Inventor 董刚赵雅倩李仁刚杨宏斌刘海威蒋东东
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products