Tensor.to() do NOT retain requires_grad info?

Hi,

this post should answer your question.

1 Like