We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a9008c commit e2a1cd1Copy full SHA for e2a1cd1
python/paddle/trainer_config_helpers/networks.py
@@ -1719,7 +1719,7 @@ def inputs(layers, *args):
1719
if len(args) != 0:
1720
layers.extend(args)
1721
1722
- Inputs(* [l.name for l in layers])
+ Inputs(*[l.name for l in layers])
1723
1724
1725
def outputs(layers, *args):
@@ -1769,7 +1769,7 @@ def __dfs_travel__(layer,
1769
assert len(layers) > 0
1770
1771
if HasInputsSet(): # input already set
1772
- Outputs(* [l.name for l in layers])
+ Outputs(*[l.name for l in layers])
1773
return # just return outputs.
1774
1775
if len(layers) != 1:
0 commit comments