提交 b90461b9 编写于 作者: Z zhangchao41

fix the typo of the param description in sequence_conv_pool

上级 310ef226
...@@ -68,7 +68,7 @@ def sequence_conv_pool(input, ...@@ -68,7 +68,7 @@ def sequence_conv_pool(input,
:type context_len: int :type context_len: int
:param hidden_size: FC Layer size. :param hidden_size: FC Layer size.
:type hidden_size: int :type hidden_size: int
:param context_start: context projection length. See :param context_start: context start position. See
context_projection's context_start. context_projection's context_start.
:type context_start: int or None :type context_start: int or None
:param pool_type: pooling layer type. See pooling_layer's document. :param pool_type: pooling layer type. See pooling_layer's document.
...@@ -1406,7 +1406,7 @@ def inputs(layers, *args): ...@@ -1406,7 +1406,7 @@ def inputs(layers, *args):
if len(args) != 0: if len(args) != 0:
layers.extend(args) layers.extend(args)
Inputs(*[l.name for l in layers]) Inputs(* [l.name for l in layers])
def outputs(layers, *args): def outputs(layers, *args):
...@@ -1456,7 +1456,7 @@ def outputs(layers, *args): ...@@ -1456,7 +1456,7 @@ def outputs(layers, *args):
assert len(layers) > 0 assert len(layers) > 0
if HasInputsSet(): # input already set if HasInputsSet(): # input already set
Outputs(*[l.name for l in layers]) Outputs(* [l.name for l in layers])
return # just return outputs. return # just return outputs.
if len(layers) != 1: if len(layers) != 1:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册