Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 044a5f5 + dd0671b commit c74897bCopy full SHA for c74897b
inception/inception/slim/ops.py
@@ -76,7 +76,7 @@ def batch_norm(inputs,
76
"""
77
inputs_shape = inputs.get_shape()
78
with tf.variable_op_scope([inputs], scope, 'BatchNorm', reuse=reuse):
79
- axis = range(len(inputs_shape) - 1)
+ axis = list(range(len(inputs_shape) - 1))
80
params_shape = inputs_shape[-1:]
81
with scopes.arg_scope([variables.variable], restore=restore):
82
# Allocate parameters for the beta and gamma of the normalization.
0 commit comments