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

Select the best option from below

a) .to_cuda()

b) .gpu()

c) .to_gpu()

d) .cuda()

1 Answer

0 votes
by
d) .cuda()

Related questions

+2 votes
asked Jan 23, 2021 in Deep Learning by SakshiSharma
0 votes
asked Dec 12, 2022 in Deep Learning by Robin
...