Skip to content

Commit 777036d

Browse files
authored
Fix some errors in the Block design doc (#7460)
1 parent b58c5ee commit 777036d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/design/block.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ This `OpDesc` value is in the `ops` field of the `BlockDesc` value representing
202202

203203
During the generation of the Protobuf message, the Block should store VarDesc (the Protobuf message which describes Variable) and OpDesc (the Protobuf message which describes Operator).
204204

205-
VarDesc in a block should have its name scope to avoid local variables affect parent block's name scope.
206-
Child block's name scopes should inherit the parent's so that OpDesc in child block can reference a VarDesc that stored in parent block. For example:
205+
VarDesc in a block should have its name scope to avoid local variables affecting parent block's name scope.
206+
Child block's name scopes should inherit the parent's so that OpDesc in child block can reference a VarDesc that is stored in the parent block. For example:
207207

208208
```python
209209
a = pd.Variable(shape=[20, 20])

0 commit comments

Comments
 (0)