From d3ff3f8a5e54681c812949a66bee85e3c4826f4a Mon Sep 17 00:00:00 2001
From: Xin Pan <panxin.grad@gmail.com>
Date: Tue, 25 Sep 2018 11:40:47 +0800
Subject: [PATCH] follow comments

---
 python/paddle/fluid/tests/book/test_recognize_digits.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/python/paddle/fluid/tests/book/test_recognize_digits.py b/python/paddle/fluid/tests/book/test_recognize_digits.py
index 383f37722..4a70976a4 100644
--- a/python/paddle/fluid/tests/book/test_recognize_digits.py
+++ b/python/paddle/fluid/tests/book/test_recognize_digits.py
@@ -146,9 +146,7 @@ def train(nn_type,
                                 params_filename=params_filename)
                         if save_full_dirname is not None:
                             fluid.io.save_inference_model(
-                                save_full_dirname,
-                                None,
-                                None,
+                                save_full_dirname, [], [],
                                 exe,
                                 model_filename=model_filename,
                                 params_filename=params_filename,
-- 
GitLab