Internal-only change.

PiperOrigin-RevId: 224225156
This commit is contained in:
Brennan Saeta 2018-12-05 14:47:25 -08:00 committed by TensorFlower Gardener
parent efe9e14f75
commit 2b0fd9b66a

View File

@ -92,7 +92,8 @@ class TPUClusterResolver(ClusterResolver):
self._tpu == compat.as_bytes('local') or
self._tpu.startswith(compat.as_bytes('/bns')) or
self._tpu.startswith(compat.as_bytes('localhost:')) or
self._tpu.startswith(compat.as_bytes('grpc://'))):
self._tpu.startswith(compat.as_bytes('grpc://')) or
self._tpu.startswith(compat.as_bytes('uptc://'))):
return False
return True