Glossary: Deep Learning Basics
Seed
Also written: torch.manual_seed, manual_seed, random seed, Generator, set_num_threads, torch.set_num_threads
A number that fixes PyTorch's random number generator so "random" values and shuffles repeat each run; a separate `torch.Generator` keeps a split fixed regardless of other random use. Pair it with `torch.set_num_threads(1)`, since splitting work across cores can add numbers in a different order and change the last digits.