【Pytorch】宣告一個空的tensor, torch.tensor([]) empty tensor (內附範例程式碼) ... import torch a = torch.tensor([]) print(a) print(a.shape).
確定! 回上一頁