Variable is now deprecated.
When applying the tensor to some linear transformation with scalers, u can just use Python value. For example a: tc.Tensor = 1 - b

Using torch.tensor(OLD_TENSOR) will not pass the gradients of the OLD_TENSOR to the new tensor.

Note: u should read more about pytorch docs and the autograd mechanism.