Last active
March 27, 2022 23:22
-
-
Save aurora1625/dead45111e2edbbea66d4b266cfcd4cc to your computer and use it in GitHub Desktop.
Check #tensorflow #CUDA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
print(tf.test.is_built_with_cuda()) | |
from tensorflow.python.client import device_lib | |
print(device_lib.list_local_devices()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment