How to get index.cuda?

后端 未结 0 364
忘了有多久
忘了有多久 2020-12-13 13:20

I am reading a code about CMC downloaded from github, and it can\'t work on vscode.

Code:

if torch.cuda.is_available():
        index = index.cuda(asyn         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题