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

System and method for accelerating RNN network and storage medium

A network, adding circuit technology, applied in the field of neural networks, can solve the problem of not sharing location features

Active Publication Date: 2020-11-24
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It solves the problem that traditional neural networks cannot share positional features from data

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
  • System and method for accelerating RNN network and storage medium
  • System and method for accelerating RNN network and storage medium
  • System and method for accelerating RNN network and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] The core of the present invention is to provide a system for accelerating the RNN network, which effectively realizes the acceleration of the RNN network, and has strong flexibility and scalability.

[0073] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. 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.

[0074] Please refer to image 3 , image 3 It is a schematic structural diagram of a system for accelerating RNN networks in the present invention. The system for accelerating RNN networks can be applied...

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 discloses a system for accelerating an RNN network. The system comprises a first cache, a second cache, a vector multiplication circuit, a summing circuit, an activation circuit, a stateupdating circuit, a bias data cache, a vector cache and a cell state cache, wherein the first cache is used for outputting Wx1 to WxN or Wh1 to WhN in parallel in N paths in a mode of cyclic switching, and the degree of parallelism of the Wx1 to WxN or the Wh1 to WhN is k; the second cache is used for outputting xt or h<t-1> in a cyclic switching mode; the vector multiplication circuit is used for respectively calculating Wx1xt to WxNxt or respectively calculating Wh1h<t-1> to WhNh<t-1> by utilizing the N groups of multiplication arrays; the summing circuit is used for realizing calculation from Wx1xt+Wh1h<t-1>+b1 to WxNxt+WhNh<t-1>+bN; the activation circuit is used for performing activation operation according to the output of the summing circuit; and the state updating circuit is usedfor acquiring c<t-1>, calculating ct and ht, updating c<t-1> and sending ht to the second cache. By applying the scheme of the invention, the acceleration of the RNN network is effectively realized, and the flexibility and expansibility are very high. The invention also provides a method for accelerating the RNN network and a storage medium, which have corresponding effects.

Description

technical field [0001] The invention relates to the technical field of neural networks, in particular to a system, method and storage medium for accelerating RNN networks. Background technique [0002] RNN (Recurrent Neural Network, cyclic neural network) is a neural network for processing sequence data. It is one of the most promising tools in deep learning and is widely used in speech recognition, machine translation, text generation and other fields. It solves the problem that traditional neural networks cannot share positional features from data. In traditional neural network models such as CNN and DNN, from the input layer to the hidden layer to the output layer, the layers are fully connected, and the nodes between each layer are unconnected. This ordinary neural network is powerless for many problems. For example, if you need to predict what the next word of a sentence is, you generally need to use the previous words, because the preceding and following words in a s...

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/04G06N3/063G06N3/08G06F15/78G06F5/06
CPCG06N3/049G06N3/063G06N3/08G06F15/7807G06F5/065G06N3/045Y02D30/70Y02D10/00G06F17/16G06N3/0442
Inventor 刘海威董刚赵雅倩李仁刚蒋东东杨宏斌梁玲燕
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD