code:
from torch.autograd import Variable
import torch
x = Variable(torch.ones(2, 2), requires_grad = True)
y = x + 2

import torch
from torch.autograd import Variable


# make_dot was moved to https://github.com/szagoruyko/pytorchviz


print (help(Variable))
print (y.creator)
exit()

problem:
Traceback (most recent call last):
  File "C:/Users/Administrator/Desktop/pytorch/PyTorch深度学习：60分钟入门(Translation).py", line 14, in <module>
    print (y.creator)
  File "D:\ProgramData\Anaconda3\lib\site-packages\torch\autograd\variable.py", line 67, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'Variable' object has no attribute 'creator'

I have the same problem ,why?