import torch # 设置随机数种子 torch.manual_seed(0) # 查看随机数种子结果为0 torch.initial_seed() # 获取默认的Generator 实例 g_1 ...
確定! 回上一頁