Skip to content

Commit

Permalink
Fix py3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Jan 18, 2016
1 parent 8c10355 commit 9d120bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras/layers/normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_output(self, train):
X = self.get_input(train)
if self.mode == 0:
input_shape = self.input_shape
reduction_axes = range(len(input_shape))
reduction_axes = list(range(len(input_shape)))
broadcast_shape = [1] * len(input_shape)
broadcast_shape[self.axis] = input_shape[self.axis]
del reduction_axes[self.axis]
Expand Down

0 comments on commit 9d120bf

Please sign in to comment.