tf.contrib.eager.num_gpus

View source on GitHub

Get the number of available GPU devices.

The number of available GPU devices.