x = x.new_ones(5, 3, dtype=torch.int) # 基于一个已有的tensor创建一个新的tensor x = torch.randn_like(x, dtype=torch.float) # 覆盖上面x的数据 ...
確定! 回上一頁