Reserve a data! O Google I / O retorna de 18 a 20 de maio Registre-se agora

tf.test.is_built_with_gpu_support

TensorFlow 2 version View source on GitHub

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