Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.test.is_built_with_rocm

View source on GitHub

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

Aliases:

  • tf.compat.v1.test.is_built_with_rocm
  • tf.compat.v2.test.is_built_with_rocm
tf.test.is_built_with_rocm()