oneflow.set_rng_state¶
-
oneflow.set_rng_state(state)¶ Returns the random number generator state as a oneflow.ByteTensor.
The documentation is referenced from: https://pytorch.org/docs/1.10/generated/torch.set_rng_state.html.
oneflow.set_rng_state(state)¶Returns the random number generator state as a oneflow.ByteTensor.
The documentation is referenced from: https://pytorch.org/docs/1.10/generated/torch.set_rng_state.html.