Closed dsyme closed 3 years ago
@gbaydin - it looks like torch::manual_seed(seed);
already does what we need here
https://pytorch.org/docs/stable/notes/randomness.html
You can use torch.manual_seed() to seed the RNG for all devices (both CPU and CUDA):
Comment from DIffsharp: