torch.Tensor.retains\_grad ========================== .. currentmodule:: torch .. autoattribute:: Tensor.retains_grad