tf.compat.v1.tpu.core

View source on GitHub

Returns the device name for a core in a replicated TPU computation.

tf.compat.v1.tpu.core(
    num
)

Args:

Returns:

A device name, suitable for passing to tf.device().