diff --git a/python/paddle/trainer/config_parser.py b/python/paddle/trainer/config_parser.py index 04ea135c1c2e5dbb023cf7bf15e21ace2ed55504..4d15210fc3aa47321cae678b067f5cc2c402b00b 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