Skip to content

Commit becf799

Browse files
committed
fix
test=develop
1 parent 55a7b98 commit becf799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/paddle/fluid/framework.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ def __init__(self,
318318
self._ivar = core.VarBase(
319319
name, dtype if dtype else core.VarDesc.VarType.FP32,
320320
list(shape) if shape else [],
321-
_current_expected_place(), True
322-
if persistable else False, stop_gradient)
321+
_current_expected_place(), stop_gradient, True
322+
if persistable else False)
323323
if persistable:
324324
_imperative_tracer().trace_var(name, self)
325325
else:

0 commit comments

Comments
 (0)