aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-11-23 07:37:19 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-11-23 07:46:04 -0800
commitb0dba1afec56f39854be6cd40fe38c0d554afd13 (patch)
treefa701c04439e619c74d0306f4fa24792608e8131
parent7e83135dcbf6a67178abe6008acc3a766002312e (diff)
Update generated Python Op docs.
Change: 140030944
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.test.is_gpu_available.md11
-rw-r--r--tensorflow/g3doc/api_docs/python/test.md11
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:
+
+
+* <b>`cuda_only`</b>: 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:
+
+
+* <b>`cuda_only`</b>: limit the search to CUDA gpus.
+
+##### Returns:
+
+ True iff a gpu device of the requested kind is available.
+
## Gradient checking