From 4375a64ea1bfb9a47295d038f5eac14a7f9f195b Mon Sep 17 00:00:00 2001 From: Tao Luo Date: Mon, 13 Mar 2017 17:49:34 +0800 Subject: [PATCH] fix bug to pass travis --- python/paddle/trainer/config_parser.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/python/paddle/trainer/config_parser.py b/python/paddle/trainer/config_parser.py index 04ea135c1c..4d15210fc3 100644 --- a/python/paddle/trainer/config_parser.py +++ b/python/paddle/trainer/config_parser.py @@ -2412,12 +2412,7 @@ class SequenceFirstInstanceLayer(SequenceLastInstanceLayer): bias=False, **xargs): super(SequenceFirstInstanceLayer, self).__init__( - name, - inputs=inputs, - active_type=active_type, - device=device, - bias=bias, - **xargs) + name, inputs=inputs, active_type=active_type, bias=bias, **xargs) self.config.trans_type = trans_type self.config.select_first = True -- GitLab