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
4b566d4e
Commit
4b566d4e
authored
Feb 28, 2019
by
Tayo Oguntebi
Committed by
Toby Boyd
Feb 28, 2019
Browse files
Updating stale DistributionStrategy test. (#6281)
parent
e1ae37c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
official/utils/misc/distribution_utils_test.py
official/utils/misc/distribution_utils_test.py
+0
-6
No files found.
official/utils/misc/distribution_utils_test.py
View file @
4b566d4e
...
@@ -44,12 +44,6 @@ class GetDistributionStrategyTest(tf.test.TestCase):
...
@@ -44,12 +44,6 @@ class GetDistributionStrategyTest(tf.test.TestCase):
for
device
in
ds
.
extended
.
worker_devices
:
for
device
in
ds
.
extended
.
worker_devices
:
self
.
assertIn
(
'GPU'
,
device
)
self
.
assertIn
(
'GPU'
,
device
)
def
test_override_strategy
(
self
):
ds
=
distribution_utils
.
get_distribution_strategy
(
distribution_strategy
=
'collective'
,
num_gpus
=
2
)
self
.
assertTrue
(
isinstance
(
ds
,
tf
.
contrib
.
distribute
.
CollectiveAllReduceStrategy
))
class
PerDeviceBatchSizeTest
(
tf
.
test
.
TestCase
):
class
PerDeviceBatchSizeTest
(
tf
.
test
.
TestCase
):
"""Tests for per_device_batch_size."""
"""Tests for per_device_batch_size."""
...
...
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