tf.test.is_built_with_gpu_support

Stay organized with collections Save and categorize content based on your preferences.

TensorFlow 1 version View source on GitHub

Returns whether TensorFlow was built with GPU (i.e. CUDA or ROCm) support.