In addition to the confusion discussed here, it also makes pylint complaining.
a = torch.tensor([1,2,3]) results in  the following error:
[pylint E1102] torch.tensor is not callable (not-callable) [E]

but a=torch.Tensor([1,2,3]) works fine.