Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which of the following function is used to move the Tensors from CPU to GPU?
Home
PyTorch
Which of the following function is used to move the Tensors from CPU to GPU?
0
votes
asked
Aug 7, 2021
in
PyTorch
by
sharadyadav1986
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()
tensor
cpu
gpu
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 7, 2021
by
sharadyadav1986
d) .cuda()
...