From 12ea358c0699993bc76124535c094c7f535f66f2 Mon Sep 17 00:00:00 2001 From: Xin Pan Date: Tue, 31 Jul 2018 20:51:22 +0800 Subject: [PATCH] polish --- python/paddle/fluid/tests/unittests/dist_transformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/dist_transformer.py b/python/paddle/fluid/tests/unittests/dist_transformer.py index 5d6b1ba0791..ee8020a7354 100644 --- a/python/paddle/fluid/tests/unittests/dist_transformer.py +++ b/python/paddle/fluid/tests/unittests/dist_transformer.py @@ -172,7 +172,7 @@ def get_transpiler(trainer_id, main_program, pserver_endpoints, trainers): return t -class DistTransformer2x2: +class DistTransformer2x2(object): def run_pserver(self, pserver_endpoints, trainers, current_endpoint, trainer_id): get_model() -- GitLab