torch.Tensor.Tensor.detach_
Tensor.detach_(): thisDetaches the Tensor from the graph that created it, making it a leaf. Views cannot be detached in-place.
Returns
thisTensor.detach_(): thisDetaches the Tensor from the graph that created it, making it a leaf. Views cannot be detached in-place.
this