Skip to content

Commit

Permalink
Merge pull request tensorflow#42 from tensorflow/sguada-patch-1
Browse files Browse the repository at this point in the history
Update ops.py
  • Loading branch information
sguada committed Apr 11, 2016
2 parents 044a5f5 + dd0671b commit c74897b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inception/inception/slim/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def batch_norm(inputs,
"""
inputs_shape = inputs.get_shape()
with tf.variable_op_scope([inputs], scope, 'BatchNorm', reuse=reuse):
axis = range(len(inputs_shape) - 1)
axis = list(range(len(inputs_shape) - 1))
params_shape = inputs_shape[-1:]
with scopes.arg_scope([variables.variable], restore=restore):
# Allocate parameters for the beta and gamma of the normalization.
Expand Down

0 comments on commit c74897b

Please sign in to comment.