PyTorch Forums
Setting requires_grad_ on gpu
autograd
ptrblck
February 6, 2020, 2:58am
2
Have a look at
this post
which explains this use case quite well.
show post in topic