tf.compat.v1.tpu.core

Stay organized with collections Save and categorize content based on your preferences.

View source on GitHub

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

num the virtual core number within each replica to which operators should be assigned.

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