|
|
|
@ -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:
|
|
|
|
|