Error in Importing Variable

This is my code:

import torch
from torch.autograd import Variable

print(Variable(torch.rand(3, 5)))

This is my output:
tensor([[ 0.9086, 0.8339, 0.3932, 0.2268, 0.3285],
[ 0.3326, 0.3071, 0.8501, 0.8867, 0.4033],
[ 0.7834, 0.6671, 0.3141, 0.6705, 0.5892]])

…I don’t understand

In PyTorch 0.4.0 Variables and tensors were merged. Have a look at the Migration Guide for more information.