# CUDA TEST import torch x = torch.Tensor([1.0]) xx = x.cuda() print(xx) # CUDNN TEST from torch.backends import cudnn print(cudnn.is_acceptable(xx)) #血的教训!安装目录要英文目录不要搞在中文目录 !不然可能报些奇奇怪怪的bug!
原文地址:https://www.cnblogs.com/xuechengmeigui/p/12417137.html
时间: 2024-10-08 11:23:41