0
点赞
收藏
分享

微信扫一扫

查看自己的tensorflow的版本和型号(cpu or gpu)


import tensorflow as tf
from tensorflow.python.client import device_lib

print("版本:", tf.__version__)
print("型号:", device_lib.list_local_devices())

查看自己的tensorflow的版本和型号(cpu or gpu)_python

 

举报

相关推荐

0 条评论