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
fd470cae
Commit
fd470cae
authored
Feb 16, 2018
by
Asim Shankar
Browse files
Respond to comments in the PR
parent
28f6f993
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/mnist/mnist.py
official/mnist/mnist.py
+2
-2
No files found.
official/mnist/mnist.py
View file @
fd470cae
...
@@ -26,14 +26,14 @@ import dataset
...
@@ -26,14 +26,14 @@ import dataset
class
Model
(
tf
.
keras
.
Model
):
class
Model
(
tf
.
keras
.
Model
):
"""
Class that defines a graph
to recognize digits in the MNIST dataset.
"""
Model
to recognize digits in the MNIST dataset.
Network structure is equivalent to:
Network structure is equivalent to:
https://github.com/tensorflow/tensorflow/blob/r1.5/tensorflow/examples/tutorials/mnist/mnist_deep.py
https://github.com/tensorflow/tensorflow/blob/r1.5/tensorflow/examples/tutorials/mnist/mnist_deep.py
and
and
https://github.com/tensorflow/models/blob/master/tutorials/image/mnist/convolutional.py
https://github.com/tensorflow/models/blob/master/tutorials/image/mnist/convolutional.py
But written as a tf.keras
and
tf.layers API
s
.
But written as a tf.keras
.Model using the
tf.layers API.
"""
"""
def
__init__
(
self
,
data_format
):
def
__init__
(
self
,
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