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
b7edd6e3
Unverified
Commit
b7edd6e3
authored
Feb 06, 2018
by
Neal Wu
Committed by
GitHub
Feb 06, 2018
Browse files
Merge pull request #3336 from tensorflow/frankchn-patch-1
Use the short path for TPUClusterResolver
parents
aff0c314
9e23bab8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/mnist/mnist_tpu.py
official/mnist/mnist_tpu.py
+1
-1
No files found.
official/mnist/mnist_tpu.py
View file @
b7edd6e3
...
...
@@ -140,7 +140,7 @@ def main(argv):
tpu_grpc_url
=
FLAGS
.
master
else
:
tpu_cluster_resolver
=
(
tf
.
contrib
.
cluster_resolver
.
python
.
training
.
TPUClusterResolver
(
tf
.
contrib
.
cluster_resolver
.
TPUClusterResolver
(
tpu_names
=
[
FLAGS
.
tpu_name
],
zone
=
FLAGS
.
tpu_zone
,
project
=
FLAGS
.
gcp_project
))
...
...
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