Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c74897b

Browse files
committed
Merge pull request tensorflow#42 from tensorflow/sguada-patch-1
Update ops.py
2 parents 044a5f5 + dd0671b commit c74897b

File tree

1 file changed

+1
-1
lines changed
  • inception/inception/slim

1 file changed

+1
-1
lines changed

inception/inception/slim/ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def batch_norm(inputs,
7676
"""
7777
inputs_shape = inputs.get_shape()
7878
with tf.variable_op_scope([inputs], scope, 'BatchNorm', reuse=reuse):
79-
axis = range(len(inputs_shape) - 1)
79+
axis = list(range(len(inputs_shape) - 1))
8080
params_shape = inputs_shape[-1:]
8181
with scopes.arg_scope([variables.variable], restore=restore):
8282
# Allocate parameters for the beta and gamma of the normalization.

0 commit comments

Comments
 (0)