From be218bfac4ab4232d56e407b22ea581cc7b1f8e5 Mon Sep 17 00:00:00 2001 From: fengjiayi Date: Fri, 5 Jan 2018 19:16:35 +0800 Subject: [PATCH] fix bug --- python/paddle/v2/fluid/backward.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/v2/fluid/backward.py b/python/paddle/v2/fluid/backward.py index 33f6c103845..f095d414cb9 100644 --- a/python/paddle/v2/fluid/backward.py +++ b/python/paddle/v2/fluid/backward.py @@ -192,7 +192,7 @@ def _append_backward_ops_(target, """ if callback is None: - def empty_callback(block): + def empty_callback(block, context): pass callback = empty_callback -- GitLab