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
d43c736e
Commit
d43c736e
authored
Sep 27, 2017
by
Neal Wu
Committed by
GitHub
Sep 27, 2017
Browse files
Add blank lines after class declarations (#2473)
parent
02732868
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
official/mnist/mnist_test.py
official/mnist/mnist_test.py
+1
-0
official/resnet/cifar10_test.py
official/resnet/cifar10_test.py
+1
-0
No files found.
official/mnist/mnist_test.py
View file @
d43c736e
...
...
@@ -26,6 +26,7 @@ tf.logging.set_verbosity(tf.logging.ERROR)
class
BaseTest
(
tf
.
test
.
TestCase
):
def
input_fn
(
self
):
features
=
tf
.
random_uniform
([
55000
,
784
])
labels
=
tf
.
random_uniform
([
55000
],
maxval
=
9
,
dtype
=
tf
.
int32
)
...
...
official/resnet/cifar10_test.py
View file @
d43c736e
...
...
@@ -31,6 +31,7 @@ tf.logging.set_verbosity(tf.logging.ERROR)
class
BaseTest
(
tf
.
test
.
TestCase
):
def
test_dataset_input_fn
(
self
):
fake_data
=
bytearray
()
fake_data
.
append
(
7
)
...
...
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