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
855ed8bc
Commit
855ed8bc
authored
Jan 17, 2020
by
Ruoxin Sang
Committed by
A. Unique TensorFlower
Jan 17, 2020
Browse files
Remove explicit initialize_tpu_system call from model garden.
PiperOrigin-RevId: 290354680
parent
028f6acd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
official/utils/misc/tpu_lib.py
official/utils/misc/tpu_lib.py
+0
-1
No files found.
official/utils/misc/tpu_lib.py
View file @
855ed8bc
...
@@ -30,5 +30,4 @@ def tpu_initialize(tpu_address):
...
@@ -30,5 +30,4 @@ def tpu_initialize(tpu_address):
tpu
=
tpu_address
)
tpu
=
tpu_address
)
if
tpu_address
not
in
(
''
,
'local'
):
if
tpu_address
not
in
(
''
,
'local'
):
tf
.
config
.
experimental_connect_to_cluster
(
cluster_resolver
)
tf
.
config
.
experimental_connect_to_cluster
(
cluster_resolver
)
tf
.
tpu
.
experimental
.
initialize_tpu_system
(
cluster_resolver
)
return
cluster_resolver
return
cluster_resolver
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