FloatTensor (3) 是创建一个维度为1, shape为[3]的tensor. tensor中的数据全是随机的. python. a = torch.FloatTensor(3) print('a:', ...
確定! 回上一頁