Google I/O returns May 18-20! Reserve space and build your schedule Register now

tf.contrib.eager.num_gpus

View source on GitHub

Get the number of available GPU devices.

The number of available GPU devices.