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

0 votes
asked Feb 5 in Sequence Models by sharadyadav1986
0 votes
asked Aug 7, 2021 in PyTorch by sharadyadav1986
0 votes
asked Aug 7, 2021 in PyTorch by sharadyadav1986
...