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
a3efa3fe
Commit
a3efa3fe
authored
Dec 19, 2017
by
Asim Shankar
Browse files
[mnist]: Address another comment
parent
1fef2955
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/mnist/mnist.py
official/mnist/mnist.py
+1
-1
No files found.
official/mnist/mnist.py
View file @
a3efa3fe
...
@@ -100,7 +100,7 @@ class Model(object):
...
@@ -100,7 +100,7 @@ class Model(object):
64
,
5
,
padding
=
'same'
,
data_format
=
data_format
,
activation
=
tf
.
nn
.
relu
)
64
,
5
,
padding
=
'same'
,
data_format
=
data_format
,
activation
=
tf
.
nn
.
relu
)
self
.
fc1
=
tf
.
layers
.
Dense
(
1024
,
activation
=
tf
.
nn
.
relu
)
self
.
fc1
=
tf
.
layers
.
Dense
(
1024
,
activation
=
tf
.
nn
.
relu
)
self
.
fc2
=
tf
.
layers
.
Dense
(
10
)
self
.
fc2
=
tf
.
layers
.
Dense
(
10
)
self
.
dropout
=
tf
.
layers
.
Dropout
(
0.
5
)
self
.
dropout
=
tf
.
layers
.
Dropout
(
0.
4
)
self
.
max_pool2d
=
tf
.
layers
.
MaxPooling2D
(
self
.
max_pool2d
=
tf
.
layers
.
MaxPooling2D
(
(
2
,
2
),
(
2
,
2
),
padding
=
'same'
,
data_format
=
data_format
)
(
2
,
2
),
(
2
,
2
),
padding
=
'same'
,
data_format
=
data_format
)
...
...
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