Skip to content

Commit e0ae76f

Browse files
authored
Fixing concepts in the Var Desc design document (#7462)
1 parent 777036d commit e0ae76f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/design/var_desc.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
## Background
2-
PaddlePaddle divides the description of neural network computation graph into two stages: compile time and runtime.
2+
PaddlePaddle divides the description of neural network computation into two stages: compile time and runtime. At compile time, the neural network computation is described as a `ProgramDesc` whereas at runtime an `Executor` interprets the `ProgramDesc` to compute the operations.
33

4-
PaddlePaddle use proto message to describe compile time graph because
4+
PaddlePaddle use proto message to describe compile time program because
55

6-
1. Computation graph should be able to be saved to a file.
7-
1. In distributed training, the graph will be serialized and send to multiple workers.
6+
1. The computation program description must be serializable and saved in a file.
7+
1. During distributed training, the sreialized program will be sent to multiple workers. It should also be possible to break the program into different components, each of which can be executed on different workers.
88

9-
The computation graph is constructed by Data Node and Operation Node. The concept to represent them is in the table below.
9+
The computation `Program` consists of nested `Blocks`. Each `Block` will consist of data(i.e. `Variable`) and `Operations`. The concept to represent them is in the table below.
1010

1111
| |compile time|runtime|
1212
|---|---|---|

0 commit comments

Comments
 (0)