Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.test.is_built_with_cuda

TensorFlow 2.0 version View source on GitHub

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

Aliases:

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