let a=[1,2,3], then i let b=torch.Tensor(a) , my pycharm's background become yellow like that is there exist a elegent way to convert a list to a tensor? or ...
確定! 回上一頁