Skip to content

Commit 3d0a43f

Browse files
committed
fix the performance descent caused by pr68140
1 parent 554f472 commit 3d0a43f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/base/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ def _to_str(var):
629629
elif isinstance(var, Operator):
630630
return str(id(var))
631631
elif isinstance(var, Value):
632-
return str(id(var))
632+
return str(var.id)
633633
else:
634634
raise TypeError(str(var) + " should be Variable, Operator or str")
635635

0 commit comments

Comments
 (0)