You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/fluid/design/dynamic_rnn/rnn.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ This document describes the RNN (Recurrent Neural Network) operator and how it i
5
5
## RNN Algorithm Implementation
6
6
7
7
<palign="center">
8
-
<imgsrc="./images/rnn.jpg"/>
8
+
<imgsrc="./rnn.jpg"/>
9
9
</p>
10
10
11
11
The above diagram shows an RNN unrolled into a full network.
@@ -22,7 +22,7 @@ There are several important concepts here:
22
22
There could be local variables defined in each step-net. PaddlePaddle runtime realizes these variables in *step-scopes* which are created for each step.
23
23
24
24
<palign="center">
25
-
<imgsrc="./images/rnn.png"/><br/>
25
+
<imgsrc="./rnn.png"/><br/>
26
26
Figure 2 illustrates the RNN's data flow
27
27
</p>
28
28
@@ -49,7 +49,7 @@ or copy the memory value of the previous step to the current ex-memory variable.
49
49
50
50
### Usage in Python
51
51
52
-
For more information on Block, please refer to the [design doc](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/design/block.md).
52
+
For more information on Block, please refer to the [design doc](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/fluid/design/concepts/block.md).
53
53
54
54
We can define an RNN's step-net using a Block:
55
55
@@ -93,7 +93,7 @@ For example, we could have a 2-level RNN, where the top level corresponds to par
93
93
The following figure illustrates feeding in text into the lower level, one sentence at a step, and the feeding in step outputs to the top level. The final top level output is about the whole text.
94
94
95
95
<p align="center">
96
-
<img src="./images/2_level_rnn.png"/>
96
+
<img src="./2_level_rnn.png"/>
97
97
</p>
98
98
99
99
```python
@@ -149,5 +149,5 @@ If the `output_all_steps` is set to False, it will only output the final time st
0 commit comments