diff options
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.test.is_gpu_available.md')
-rw-r--r-- | tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.test.is_gpu_available.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.test.is_gpu_available.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.test.is_gpu_available.md index 6206601d7e..db6132b259 100644 --- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.test.is_gpu_available.md +++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.test.is_gpu_available.md @@ -1,4 +1,13 @@ -### `tf.test.is_gpu_available()` {#is_gpu_available} +### `tf.test.is_gpu_available(cuda_only=False)` {#is_gpu_available} Returns whether TensorFlow can access a GPU. +##### Args: + + +* <b>`cuda_only`</b>: limit the search to CUDA gpus. + +##### Returns: + + True iff a gpu device of the requested kind is available. + |