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
cfe945ef
Commit
cfe945ef
authored
Apr 10, 2018
by
Asim Shankar
Browse files
official/mnist: Address comment in PR
parent
a763e45b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
official/mnist/mnist.py
official/mnist/mnist.py
+2
-0
No files found.
official/mnist/mnist.py
View file @
cfe945ef
...
...
@@ -58,6 +58,8 @@ def create_model(data_format):
l
=
tf
.
keras
.
layers
max_pool
=
l
.
MaxPooling2D
(
(
2
,
2
),
(
2
,
2
),
padding
=
'same'
,
data_format
=
data_format
)
# The model consists of a sequential chain of layers, so tf.keras.Sequential
# (a subclass of tf.keras.Model) makes for a compact description.
return
tf
.
keras
.
Sequential
(
[
l
.
Reshape
(
input_shape
),
...
...
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