Python List To Torch Tensor