Sets the seed for generating random numbers.
Usage
torch_manual_seed(seed)
local_torch_manual_seed(seed, .env = parent.frame())
with_torch_manual_seed(code, ..., seed)
Sets the seed for generating random numbers.
torch_manual_seed(seed)
local_torch_manual_seed(seed, .env = parent.frame())
with_torch_manual_seed(code, ..., seed)