0 votes
in PyTorch by
Which of the following functions is used to move the Tensors from CPU to GPU?

Select the best option from below

a) .to_gpu()

b) .gpu()

c) .cuda()

d) .to_cuda()

1 Answer

0 votes
by
c) .cuda()

Related questions

0 votes
asked Aug 7, 2021 in PyTorch by sharadyadav1986
+1 vote
asked Dec 5, 2020 in Amazon Elastic Compute Cloud EC2 by SakshiSharma
...