torch.set_rng_state
-
torch.set_rng_state(new_state)[source] -
Устанавливает состояние генератора случайных чисел.
- Параметры
-
new_state (torch.ByteTensor) – Желаемое состояние
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.set_rng_state.html