blob: db6132b259574763aa2a1721ed2c0989767d40ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
### `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.
|