Skip to content

Commit

Permalink
Merge pull request #2590 from reyoung/feature/fix_travis_ci_new_images
Browse files Browse the repository at this point in the history
Fix TravisCI with new building image.
  • Loading branch information
gongweibao committed Jun 27, 2017
2 parents bf57345 + b34a05d commit f4e8331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
group: deprecated-2017Q2
language: cpp
cache:
directories:
Expand Down
4 changes: 2 additions & 2 deletions python/paddle/trainer_config_helpers/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,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):
Expand Down Expand Up @@ -1424,7 +1424,7 @@ def __dfs_travel__(layer,
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:
Expand Down

0 comments on commit f4e8331

Please sign in to comment.