v = torch.autograd.Variable(torch.randn([1,2]))
v_activation = torch.nn.functional.softmax(v)

print(v.data)
print(v_activation.data)

You need to take a look at the documentation and tutorials to learn how Pytorch works, then you will understand why Variable is required. Use .data to access variable’s underlying data.