cuda.is_available(): GPU(cuda)를 사용할 수 있는지 확인할 때 사용한다. ex>. print(torch.cuda.is_available()). >> True.
確定! 回上一頁