output = torch.unique(torch.tensor([1, 3, 2, 3], dtype=torch.long)) >>> output tensor([ 2, 3, 1]) torch.std( #返回标准差) torch.var() #返回 ...
確定! 回上一頁