What is difference between uppercase Variable and lowercase variable in pytorch?

what is difference between uppercase Variable and lowercase variable in pytorch?
in autograd package,there two “variable”,ie, “torch.autograd.variable” and “torch.autograd.Variable”,how i chose which one to use in my program? thks!

like this?

from torch.autograd import Variable

or

import torch.autograd.variable as Variable

import torch.autograd.variable is a module, Variable is a class. Don’t use Variable, it’s been deprecated since 3 versions ago. I think it’s even removed in recent releases.