Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

tf.contrib.eager.num_gpus

View source on GitHub

Get the number of available GPU devices.

The number of available GPU devices.