From b90461b9d978913d2210ef1f02d4e62197a1458c Mon Sep 17 00:00:00 2001 From: zhangchao41 Date: Tue, 12 Sep 2017 13:40:43 +0800 Subject: [PATCH] fix the typo of the param description in sequence_conv_pool --- python/paddle/trainer_config_helpers/networks.py | 6 +++--- test | 0 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 test diff --git a/python/paddle/trainer_config_helpers/networks.py b/python/paddle/trainer_config_helpers/networks.py index 34be203ee2..2f604ee45a 100644 --- a/python/paddle/trainer_config_helpers/networks.py +++ b/python/paddle/trainer_config_helpers/networks.py @@ -68,7 +68,7 @@ def sequence_conv_pool(input, :type context_len: int :param hidden_size: FC Layer size. :type hidden_size: int - :param context_start: context projection length. See + :param context_start: context start position. See context_projection's context_start. :type context_start: int or None :param pool_type: pooling layer type. See pooling_layer's document. @@ -1406,7 +1406,7 @@ def inputs(layers, *args): if len(args) != 0: layers.extend(args) - Inputs(*[l.name for l in layers]) + Inputs(* [l.name for l in layers]) def outputs(layers, *args): @@ -1456,7 +1456,7 @@ def outputs(layers, *args): assert len(layers) > 0 if HasInputsSet(): # input already set - Outputs(*[l.name for l in layers]) + Outputs(* [l.name for l in layers]) return # just return outputs. if len(layers) != 1: diff --git a/test b/test deleted file mode 100644 index e69de29bb2..0000000000 -- GitLab