ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.test.gpu_device_name

TensorFlow 2 version View source on GitHub

Returns the name of a GPU device if available or the empty string.