目录 torch.manual_seed(int seed) 使用原因: 代码演示 参数 seed 的理解 CPU和GPU使用 示例 转载 torch.manual_seed(int seed) 使用原因: 在需要生成随机数据的实验中