AttributeError
Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_4044\3926879288.py in <module>
1 import tensorflow as tf
----> 2 tf.test.is_gpu_avaliable(
3 cuda_only-False, min_cuda_compute_capabiloity-None
4 )
AttributeError: module 'tensorflow._api.v2.test' has no attribute 'is_gpu_avaliable'
`
检查张量流是否在我安装的 GPU 和 CUDA 版本上运行。