而torch.tensor()則會根據輸入資料型別生成相應的torch.LongTensor、torch.FloatTensor和torch.DoubleTensor。 當然,我們也可以通過numpy()把 ...
確定! 回上一頁