Como converter a lista em tensor pytorch

pt_tensor_from_list = torch.FloatTensor(py_list)
Smoggy Squirrel