Skip to content

Commit be218bf

Browse files
committed
fix bug
1 parent 33cb12a commit be218bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/v2/fluid/backward.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def _append_backward_ops_(target,
192192
"""
193193
if callback is None:
194194

195-
def empty_callback(block):
195+
def empty_callback(block, context):
196196
pass
197197

198198
callback = empty_callback

0 commit comments

Comments
 (0)