Solved by ptrblck in post #10 
              
              
                torch.empty will create a tensor with uninitialized memory, so it won’t really be “empty” in the sense that no memory is used. 

No, Variables are deprecated since PyTorch 0.4.