from __future__ import print_function import torch ... 3, dtype=torch.double) # new_* 方法来创建对象 print(x) x = torch.randn_like(x, dtype=torch.float) ...
確定! 回上一頁