Returns the name of a GPU device if available or the empty string.
Compat aliases for migration
See Migration guide for more details.
tf.compat.v1.test.gpu_device_name, tf.compat.v2.test.gpu_device_name
tf.compat.v1.test.gpu_device_name
tf.compat.v2.test.gpu_device_name
tf.test.gpu_device_name()