Skip to content

Commit

Permalink
remove wrong code
Browse files Browse the repository at this point in the history
  • Loading branch information
0x45f committed Dec 19, 2021
1 parent 954b179 commit 62a8cd9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/paddle/fluid/dygraph/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1077,9 +1077,6 @@ def append_var_from_block_desc_static(block,
else:
lod_level = None

if var_desc.persistable():
block = block.program.global_block()

if var_desc.persistable():
current_block = block.program.global_block()
else:
Expand Down

0 comments on commit 62a8cd9

Please sign in to comment.