Shuts down a running a distributed TPU system. Args: job: The job (the XXX in TensorFlow device specification /job:XXX) that contains the TPU devices that will be shutdown. If job=None it is assumed there is only one job in the TensorFlow flock, and an error will be returned
(job=None)
| 137 | |
| 138 | @tf_export(v1=["tpu.shutdown_system"]) |
| 139 | def shutdown_system(job=None): |
| 140 | """Shuts down a running a distributed TPU system. |
| 141 | |
| 142 | Args: |
| 143 | job: The job (the XXX in TensorFlow device specification /job:XXX) that |
| 144 | contains the TPU devices that will be shutdown. If job=None it is |
| 145 | assumed there is only one job in the TensorFlow flock, and an error will |
| 146 | be returned if this assumption does not hold. |
| 147 | """ |
| 148 | with ops.device(_tpu_system_device_name(job)): |
| 149 | shutdown_distributed_tpu = tpu_ops.shutdown_distributed_tpu() |
| 150 | return shutdown_distributed_tpu |
| 151 | |
| 152 | |
| 153 | @tf_export(v1=["tpu.core"]) |
nothing calls this directly
no test coverage detected