Save the date! Google I/O returns May 18-20 Register now

tf.test.is_built_with_rocm

TensorFlow 2 version View source on GitHub

Returns whether TensorFlow was built with ROCm (GPU) support.