We can create an empty tensor by means of the constructor provided for each of the types listed above: x = torch.FloatTensor(3, 2) print(x)
確定! 回上一頁