MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _tpu_system_device_name

Function _tpu_system_device_name

tensorflow/python/tpu/tpu.py:82–87  ·  view source on GitHub ↗

Returns the device name for the TPU_SYSTEM device of `job`.

(job)

Source from the content-addressed store, hash-verified

80
81
82def _tpu_system_device_name(job):
83 """Returns the device name for the TPU_SYSTEM device of `job`."""
84 if job is None:
85 return "/device:TPU_SYSTEM:0"
86 else:
87 return "/job:%s/device:TPU_SYSTEM:0" % job
88
89
90@tf_export(v1=["tpu.initialize_system"])

Callers 3

initialize_systemFunction · 0.85
shutdown_systemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected