Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions docs/api_guides/low_level/program.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ Block

:code:`Block` 是高级语言中变量作用域的概念,在编程语言中,Block 是一对大括号,其中包含局部变量定义和一系列指令或操作符。编程语言中的控制流结构 :code:`if-else` 和 :code:`for` 在深度学习中可以被等效为:

+----------------------+-------------------------+
| 编程语言 | Fluid |
+======================+=========================+
| for, while loop | RNN,WhileOP |
+----------------------+-------------------------+
| if-else, switch | IfElseOp, SwitchOp |
+----------------------+-------------------------+
| 顺序执行 | 一系列 layers |
+----------------------+-------------------------+
+-----------------+--------------------+
| 编程语言 | Fluid |
+=================+====================+
| for, while loop | RNN,WhileOP |
+-----------------+--------------------+
| if-else, switch | IfElseOp, SwitchOp |
+-----------------+--------------------+
| 顺序执行 | 一系列 layers |
+-----------------+--------------------+

如上文所说,Fluid 中的 :code:`Block` 描述了一组以顺序、选择或是循环执行的 Operator 以及 Operator 操作的对象:Tensor。

Expand Down