@McLawrence
Don’t use  type(v1), instead use v1.type().
The former calls Python’s built-in function and only tells you the class, i.e Pytorch torch.autograd.variable.Variable as you posted. The answers here are referring to the data type of the Variable, which is what the latter call above returns. You can have the same data types for Variables as for Tensors in PyTorch and if you try to concatenate (or most other operations) two Variables of different types, you get the error above.