From b0dba1afec56f39854be6cd40fe38c0d554afd13 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 23 Nov 2016 07:37:19 -0800 Subject: Update generated Python Op docs. Change: 140030944 --- .../functions_and_classes/shard9/tf.test.is_gpu_available.md | 11 ++++++++++- tensorflow/g3doc/api_docs/python/test.md | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 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: + + +* `cuda_only`: limit the search to CUDA gpus. + +##### Returns: + + True iff a gpu device of the requested kind is available. + diff --git a/tensorflow/g3doc/api_docs/python/test.md b/tensorflow/g3doc/api_docs/python/test.md index a5aefea21e..2cdb5835fd 100644 --- a/tensorflow/g3doc/api_docs/python/test.md +++ b/tensorflow/g3doc/api_docs/python/test.md @@ -1461,10 +1461,19 @@ Returns whether TensorFlow was built with CUDA (GPU) support. - - - -### `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: + + +* `cuda_only`: limit the search to CUDA gpus. + +##### Returns: + + True iff a gpu device of the requested kind is available. + ## Gradient checking -- cgit v1.2.3