Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
c74897b0
Commit
c74897b0
authored
Apr 11, 2016
by
Sergio Guadarrama
Browse files
Merge pull request #42 from tensorflow/sguada-patch-1
Update ops.py
parents
044a5f5b
dd0671b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
inception/inception/slim/ops.py
inception/inception/slim/ops.py
+1
-1
No files found.
inception/inception/slim/ops.py
View file @
c74897b0
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment