torch.get_rng_state
-
torch.get_rng_state()
[source] -
Returns the random number generator state as a
torch.ByteTensor
.
© 2019 Torch Contributors
Licensed under the 3-clause BSD License.
https://pytorch.org/docs/1.8.0/generated/torch.get_rng_state.html