Skip to content

Commit

Permalink
Fix JSON deserialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed May 31, 2016
1 parent 91b9302 commit 80bfec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras/engine/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ def get_output_shape_for(self, input_shape):
output_shape = self._output_shape(input_shape)
return output_shape
elif self._output_shape is not None:
return (input_shape[0],) + self._output_shape
return (input_shape[0],) + tuple(self._output_shape)
else:
# TODO: consider shape auto-inference with TF
raise Exception('The Merge layer ' + self.name +
Expand Down

0 comments on commit 80bfec7

Please sign in to comment.